git: 8a84a3c42054 - stable/15 - netinet6: Add a struct socket declaration to ip6_var.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Mar 2026 15:58:38 UTC
The branch stable/15 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=8a84a3c42054cb131800ab927d620c0e21c7080e
commit 8a84a3c42054cb131800ab927d620c0e21c7080e
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-02-12 13:59:40 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-03-31 15:57:27 +0000
netinet6: Add a struct socket declaration to ip6_var.h
MFC after: 1 week
Reported by: Ian FREISLICH <ianfreislich@gmail.com>
(cherry picked from commit be393b6f0497f374c679c31e746705515eb9a554)
---
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 db1631736c4a..7e40f5811e6d 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -374,9 +374,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);