MCPcopy Create free account
hub / github.com/F-Stack/f-stack / in_gif_uninit

Function in_gif_uninit

freebsd/netinet/in_gif.c:444–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444void
445in_gif_uninit(void)
446{
447 int i;
448
449 if (IS_DEFAULT_VNET(curvnet)) {
450 for (i = 0; i < nitems(ipv4_encap_cfg); i++)
451 ip_encap_detach(ipv4_encap_cfg[i].cookie);
452 ip_encap_unregister_srcaddr(ipv4_srcaddrtab);
453 }
454 if (V_ipv4_hashtbl != NULL) {
455 gif_hashdestroy(V_ipv4_hashtbl);
456 V_ipv4_hashtbl = NULL;
457 GIF_WAIT();
458 gif_hashdestroy(V_ipv4_srchashtbl);
459 }
460}

Callers 1

vnet_gif_uninitFunction · 0.85

Calls 3

ip_encap_detachFunction · 0.85
gif_hashdestroyFunction · 0.85

Tested by

no test coverage detected