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

Function ng_rmhook_self

freebsd/netgraph/ng_base.c:1626–1637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1624}
1625
1626int
1627ng_rmhook_self(hook_p hook)
1628{
1629 int error;
1630 node_p node = NG_HOOK_NODE(hook);
1631
1632 if (node == &ng_deadnode)
1633 return (0);
1634
1635 error = ng_send_fn(node, hook, &ng_rmhook_part2, NULL, 0);
1636 return (error);
1637}
1638
1639/***********************************************************************
1640 * Parse and verify a string of the form: <NODE:><PATH>

Callers 4

ngp_shutdownFunction · 0.70
ng_pppoe_rcvdata_etherFunction · 0.70
pppoe_tickerFunction · 0.70
ng_destroy_hookFunction · 0.70

Calls 1

ng_send_fnFunction · 0.70

Tested by

no test coverage detected