Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_mcast.c
Show First 20 Lines • Show All 181 Lines • ▼ Show 20 Lines | SYSCTL_ULONG(_net_inet6_ip6_mcast, OID_AUTO, maxsocksrc, | ||||
"Max source filters per socket"); | "Max source filters per socket"); | ||||
/* TODO Virtualize this switch. */ | /* TODO Virtualize this switch. */ | ||||
int in6_mcast_loop = IPV6_DEFAULT_MULTICAST_LOOP; | int in6_mcast_loop = IPV6_DEFAULT_MULTICAST_LOOP; | ||||
SYSCTL_INT(_net_inet6_ip6_mcast, OID_AUTO, loop, CTLFLAG_RWTUN, | SYSCTL_INT(_net_inet6_ip6_mcast, OID_AUTO, loop, CTLFLAG_RWTUN, | ||||
&in6_mcast_loop, 0, "Loopback multicast datagrams by default"); | &in6_mcast_loop, 0, "Loopback multicast datagrams by default"); | ||||
static SYSCTL_NODE(_net_inet6_ip6_mcast, OID_AUTO, filters, | static SYSCTL_NODE(_net_inet6_ip6_mcast, OID_AUTO, filters, | ||||
CTLFLAG_RD | CTLFLAG_MPSAFE, sysctl_ip6_mcast_filters, | CTLFLAG_RD, sysctl_ip6_mcast_filters, | ||||
"Per-interface stack-wide source filters"); | "Per-interface stack-wide source filters"); | ||||
#ifdef KTR | #ifdef KTR | ||||
/* | /* | ||||
* Inline function which wraps assertions for a valid ifp. | * Inline function which wraps assertions for a valid ifp. | ||||
* The ifnet layer will set the ifma's ifp pointer to NULL if the ifp | * The ifnet layer will set the ifma's ifp pointer to NULL if the ifp | ||||
* is detached. | * is detached. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 2,712 Lines • Show Last 20 Lines |