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

Function in_gre_init

freebsd/netinet/ip_gre.c:568–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566};
567
568void
569in_gre_init(void)
570{
571
572 if (!IS_DEFAULT_VNET(curvnet))
573 return;
574 ipv4_srcaddrtab = ip_encap_register_srcaddr(in_gre_srcaddr,
575 NULL, M_WAITOK);
576 ecookie = ip_encap_attach(&ipv4_encap_cfg, NULL, M_WAITOK);
577}
578
579void
580in_gre_uninit(void)

Callers 1

vnet_gre_initFunction · 0.85

Calls 2

ip_encap_attachFunction · 0.85

Tested by

no test coverage detected