Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_mroute.c
Show First 20 Lines • Show All 714 Lines • ▼ Show 20 Lines | return EINVAL; | ||||
/* | /* | ||||
* Detach/disable hooks to the reset of the system. | * Detach/disable hooks to the reset of the system. | ||||
*/ | */ | ||||
V_ip_mrouter = NULL; | V_ip_mrouter = NULL; | ||||
ip_mrouter_cnt--; | ip_mrouter_cnt--; | ||||
V_mrt_api_config = 0; | V_mrt_api_config = 0; | ||||
MROUTER_WAIT(); | |||||
VIF_LOCK(); | VIF_LOCK(); | ||||
/* | /* | ||||
* For each phyint in use, disable promiscuous reception of all IP | * For each phyint in use, disable promiscuous reception of all IP | ||||
* multicasts. | * multicasts. | ||||
*/ | */ | ||||
for (vifi = 0; vifi < V_numvifs; vifi++) { | for (vifi = 0; vifi < V_numvifs; vifi++) { | ||||
if (!in_nullhost(V_viftable[vifi].v_lcl_addr) && | if (!in_nullhost(V_viftable[vifi].v_lcl_addr) && | ||||
▲ Show 20 Lines • Show All 2,240 Lines • Show Last 20 Lines |