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

Function vxlan_load

freebsd/net/if_vxlan.c:3588–3598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3586}
3587
3588static void
3589vxlan_load(void)
3590{
3591
3592 mtx_init(&vxlan_list_mtx, "vxlan list", NULL, MTX_DEF);
3593 LIST_INIT(&vxlan_socket_list);
3594 vxlan_ifdetach_event_tag = EVENTHANDLER_REGISTER(ifnet_departure_event,
3595 vxlan_ifdetach_event, NULL, EVENTHANDLER_PRI_ANY);
3596 vxlan_cloner = if_clone_simple(vxlan_name, vxlan_clone_create,
3597 vxlan_clone_destroy, 0);
3598}
3599
3600static void
3601vxlan_unload(void)

Callers 1

vxlan_modeventFunction · 0.85

Calls 2

mtx_initFunction · 0.85
if_clone_simpleFunction · 0.85

Tested by

no test coverage detected