Home
last modified time | relevance | path

Searched refs:_NG_HOOK_NODE (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netgraph/
H A Dnetgraph.h164 #define _NG_HOOK_NODE(hook) ((hook)->hk_node) /* only rvalue! */ macro
281 return (_NG_HOOK_NODE(hook)); in _ng_hook_node()
346 #define NG_HOOK_NODE(hook) _NG_HOOK_NODE(hook)
H A Dng_base.c1057 if (_NG_HOOK_NODE(hook)) /* it'll probably be ng_deadnode */ in ng_unref_hook()
1058 _NG_NODE_UNREF((_NG_HOOK_NODE(hook))); in ng_unref_hook()
1231 _NG_HOOK_NODE(hook) = &ng_deadnode; in ng_destroy_hook()