Home
last modified time | relevance | path

Searched refs:hook1 (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/tests/sys/netgraph/
H A Dutil.c70 _ng_connect(char const *path1, char const *hook1, in _ng_connect() argument
76 strncpy(c.ourhook, hook1, sizeof(c.ourhook)); in _ng_connect()
86 _ng_mkpeer(char const *path1, char const *hook1, in _ng_mkpeer() argument
92 strncpy(p.ourhook, hook1, sizeof(p.ourhook)); in _ng_mkpeer()
H A Dutil.h38 _ng_connect(char const *path1, char const *hook1,
45 _ng_mkpeer(char const *path1, char const *hook1,
/freebsd-14.2/sys/netgraph/
H A Dng_base.c1255 hook1->hk_peer = &ng_deadhook; in ng_bypass()
1259 NG_HOOK_UNREF(hook1); in ng_bypass()
1263 ng_destroy_hook(hook1); in ng_bypass()
1548 hook_p hook1, hook2; in ng_mkpeer() local
1562 ng_destroy_hook(hook1); in ng_mkpeer()
1563 NG_HOOK_UNREF(hook1); in ng_mkpeer()
1570 hook1->hk_peer = hook2; in ng_mkpeer()
1571 hook2->hk_peer = hook1; in ng_mkpeer()
1574 NG_HOOK_REF(hook1); in ng_mkpeer()
1579 error = (*hook1->hk_node->nd_type->connect) (hook1); in ng_mkpeer()
[all …]
H A Dnetgraph.h1134 int ng_bypass(hook_p hook1, hook_p hook2);