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

Function in_gre_uninit

freebsd/netinet/ip_gre.c:579–594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579void
580in_gre_uninit(void)
581{
582
583 if (IS_DEFAULT_VNET(curvnet)) {
584 ip_encap_detach(ecookie);
585 ip_encap_unregister_srcaddr(ipv4_srcaddrtab);
586 }
587 if (V_ipv4_hashtbl != NULL) {
588 gre_hashdestroy(V_ipv4_hashtbl);
589 V_ipv4_hashtbl = NULL;
590 GRE_WAIT();
591 gre_hashdestroy(V_ipv4_srchashtbl);
592 gre_hashdestroy((struct gre_list *)V_ipv4_sockets);
593 }
594}

Callers 1

vnet_gre_uninitFunction · 0.85

Calls 3

ip_encap_detachFunction · 0.85
gre_hashdestroyFunction · 0.85

Tested by

no test coverage detected