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

Function vnet_gre_init

freebsd/net/if_gre.c:140–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 &VNET_NAME(max_gre_nesting), 0, "Max nested tunnels");
139
140static void
141vnet_gre_init(const void *unused __unused)
142{
143
144 V_gre_cloner = if_clone_simple(grename, gre_clone_create,
145 gre_clone_destroy, 0);
146#ifdef INET
147 in_gre_init();
148#endif
149#ifdef INET6
150 in6_gre_init();
151#endif
152}
153VNET_SYSINIT(vnet_gre_init, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY,
154 vnet_gre_init, NULL);
155

Callers

nothing calls this directly

Calls 3

if_clone_simpleFunction · 0.85
in_gre_initFunction · 0.85
in6_gre_initFunction · 0.85

Tested by

no test coverage detected