Home
last modified time | relevance | path

Searched refs:hook2 (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/netgraph/
H A Dng_hub.c121 hook_p hook2; in ng_hub_rcvdata() local
129 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) { in ng_hub_rcvdata()
130 if (hook2 == hook) in ng_hub_rcvdata()
133 NG_FWD_ITEM_HOOK(error, item, hook2); in ng_hub_rcvdata()
139 NG_SEND_DATA_ONLY(error, hook2, m2); in ng_hub_rcvdata()
H A Dng_base.c1241 ng_bypass(hook_p hook1, hook_p hook2) in ng_bypass() argument
1243 if (hook1->hk_node != hook2->hk_node) { in ng_bypass()
1248 if (NG_HOOK_NOT_VALID(hook1) || NG_HOOK_NOT_VALID(hook2)) { in ng_bypass()
1252 hook1->hk_peer->hk_peer = hook2->hk_peer; in ng_bypass()
1253 hook2->hk_peer->hk_peer = hook1->hk_peer; in ng_bypass()
1256 hook2->hk_peer = &ng_deadhook; in ng_bypass()
1260 NG_HOOK_UNREF(hook2); in ng_bypass()
1264 ng_destroy_hook(hook2); in ng_bypass()
1487 hook_p hook2; in ng_con_nodes() local
1495 NG_ALLOC_HOOK(hook2); in ng_con_nodes()
[all …]
H A Dng_tcpmss.c371 hook_p hook2; in ng_tcpmss_disconnect() local
373 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) { in ng_tcpmss_disconnect()
374 hpriv_p priv = NG_HOOK_PRIVATE(hook2); in ng_tcpmss_disconnect()
H A Dng_tag.c612 hook_p hook2; in ng_tag_disconnect() local
616 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) { in ng_tag_disconnect()
617 hinfo_p priv = NG_HOOK_PRIVATE(hook2); in ng_tag_disconnect()
H A Dnetgraph.h1143 int ng_bypass(hook_p hook1, hook_p hook2);
/freebsd/tests/sys/netgraph/
H A Dutil.c71 char const *path2, char const *hook2, in _ng_connect() argument
77 strncpy(c.peerhook, hook2, sizeof(c.peerhook)); in _ng_connect()
87 char const *type, char const *hook2, in _ng_mkpeer() argument
93 strncpy(p.peerhook, hook2, sizeof(p.peerhook)); in _ng_mkpeer()
H A Dutil.h39 char const *path2, char const *hook2,
46 char const *type, char const *hook2,