aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_mroute.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-02-13 16:50:18 +0000
committerMark Johnston <markj@FreeBSD.org>2026-02-13 19:35:18 +0000
commitd19fd2f349226116f7effb281baa1eb32b8292e7 (patch)
treef68c9ceeda1b17b8fbcb8bc70d22b998a7e94949 /sys/netinet/ip_mroute.h
parent284a0aa96eb63f12831a9e06514a50b2cd80957f (diff)
Diffstat (limited to 'sys/netinet/ip_mroute.h')
-rw-r--r--sys/netinet/ip_mroute.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_mroute.h b/sys/netinet/ip_mroute.h
index 6f09006ec9e2..5c2527ea64e5 100644
--- a/sys/netinet/ip_mroute.h
+++ b/sys/netinet/ip_mroute.h
@@ -356,8 +356,8 @@ struct bw_meter {
};
#ifdef _KERNEL
-VNET_DECLARE(struct socket *, ip_mrouter); /* multicast routing daemon */
-#define V_ip_mrouter VNET(ip_mrouter)
+VNET_DECLARE(bool, ip_mrouting_enabled);
+#define V_ip_mrouting_enabled VNET(ip_mrouting_enabled)
struct ifnet;
struct ip;
@@ -369,7 +369,7 @@ struct sockopt;
extern u_long (*ip_mcast_src)(int);
extern int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
struct ip_moptions *);
-extern int (*ip_mrouter_done)(void);
+extern void (*ip_mrouter_done)(struct socket *);
extern int (*ip_mrouter_get)(struct socket *, struct sockopt *);
extern int (*ip_mrouter_set)(struct socket *, struct sockopt *);