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

Function in_gif_init

freebsd/netinet/in_gif.c:429–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427};
428
429void
430in_gif_init(void)
431{
432 int i;
433
434 if (!IS_DEFAULT_VNET(curvnet))
435 return;
436
437 ipv4_srcaddrtab = ip_encap_register_srcaddr(in_gif_srcaddr,
438 NULL, M_WAITOK);
439 for (i = 0; i < nitems(ipv4_encap_cfg); i++)
440 ipv4_encap_cfg[i].cookie = ip_encap_attach(
441 &ipv4_encap_cfg[i].encap, NULL, M_WAITOK);
442}
443
444void
445in_gif_uninit(void)

Callers 1

vnet_gif_initFunction · 0.85

Calls 2

ip_encap_attachFunction · 0.85

Tested by

no test coverage detected