Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/in_mcast.c
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Lines | SYSCTL_ULONG(_net_inet_ip_mcast, OID_AUTO, maxsocksrc, | ||||
CTLFLAG_RWTUN, &in_mcast_maxsocksrc, 0, | CTLFLAG_RWTUN, &in_mcast_maxsocksrc, 0, | ||||
"Max source filters per socket"); | "Max source filters per socket"); | ||||
int in_mcast_loop = IP_DEFAULT_MULTICAST_LOOP; | int in_mcast_loop = IP_DEFAULT_MULTICAST_LOOP; | ||||
SYSCTL_INT(_net_inet_ip_mcast, OID_AUTO, loop, CTLFLAG_RWTUN, | SYSCTL_INT(_net_inet_ip_mcast, OID_AUTO, loop, CTLFLAG_RWTUN, | ||||
&in_mcast_loop, 0, "Loopback multicast datagrams by default"); | &in_mcast_loop, 0, "Loopback multicast datagrams by default"); | ||||
static SYSCTL_NODE(_net_inet_ip_mcast, OID_AUTO, filters, | static SYSCTL_NODE(_net_inet_ip_mcast, OID_AUTO, filters, | ||||
CTLFLAG_RD | CTLFLAG_MPSAFE, sysctl_ip_mcast_filters, | CTLFLAG_RD, sysctl_ip_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,859 Lines • Show Last 20 Lines |