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

Function iflib_unregister_vlan_handlers

freebsd/net/iflib.c:5544–5557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5542}
5543
5544static void
5545iflib_unregister_vlan_handlers(if_ctx_t ctx)
5546{
5547 /* Unregister VLAN events */
5548 if (ctx->ifc_vlan_attach_event != NULL) {
5549 EVENTHANDLER_DEREGISTER(vlan_config, ctx->ifc_vlan_attach_event);
5550 ctx->ifc_vlan_attach_event = NULL;
5551 }
5552 if (ctx->ifc_vlan_detach_event != NULL) {
5553 EVENTHANDLER_DEREGISTER(vlan_unconfig, ctx->ifc_vlan_detach_event);
5554 ctx->ifc_vlan_detach_event = NULL;
5555 }
5556
5557}
5558
5559static void
5560iflib_deregister(if_ctx_t ctx)

Callers 3

iflib_pseudo_deregisterFunction · 0.85
iflib_device_deregisterFunction · 0.85
iflib_deregisterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected