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

Function vxlan_modevent

freebsd/net/if_vxlan.c:3611–3631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3609}
3610
3611static int
3612vxlan_modevent(module_t mod, int type, void *unused)
3613{
3614 int error;
3615
3616 error = 0;
3617
3618 switch (type) {
3619 case MOD_LOAD:
3620 vxlan_load();
3621 break;
3622 case MOD_UNLOAD:
3623 vxlan_unload();
3624 break;
3625 default:
3626 error = ENOTSUP;
3627 break;
3628 }
3629
3630 return (error);
3631}
3632
3633static moduledata_t vxlan_mod = {
3634 "if_vxlan",

Callers

nothing calls this directly

Calls 2

vxlan_loadFunction · 0.85
vxlan_unloadFunction · 0.85

Tested by

no test coverage detected