git: be393b6f0497 - main - netinet6: Add a struct socket declaration to ip6_var.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Feb 2026 14:07:13 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=be393b6f0497f374c679c31e746705515eb9a554
commit be393b6f0497f374c679c31e746705515eb9a554
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-02-12 13:59:40 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-02-12 13:59:40 +0000
netinet6: Add a struct socket declaration to ip6_var.h
MFC after: 1 week
Reported by: Ian FREISLICH <ianfreislich@gmail.com>
---
sys/netinet6/ip6_var.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index 4951f43ea4da..6c5604a2a562 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -372,9 +372,10 @@ VNET_DECLARE(bool, ip6_log_cannot_forward);
#define V_ip6_log_cannot_forward VNET(ip6_log_cannot_forward)
extern struct pr_usrreqs rip6_usrreqs;
-struct sockopt;
struct inpcb;
+struct socket;
+struct sockopt;
struct ucred;
int icmp6_ctloutput(struct socket *, struct sockopt *sopt);