Searched refs:hook2 (Results 1 – 7 of 7) sorted by relevance
/dragonfly/sys/netgraph7/hub/ |
H A D | ng_hub.c | 66 hook_p hook2; in ng_hub_rcvdata() local 74 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) { in ng_hub_rcvdata() 75 if (hook2 == hook) in ng_hub_rcvdata() 78 NG_FWD_ITEM_HOOK(error, item, hook2); in ng_hub_rcvdata() 84 NG_SEND_DATA_ONLY(error, hook2, m2); in ng_hub_rcvdata()
|
/dragonfly/sys/netgraph/netgraph/ |
H A D | ng_base.c | 764 hook1->peer = hook2; in ng_connect() 765 hook2->peer = hook1; in ng_connect() 775 if ((error = (*hook2->node->type->connect) (hook2))) { in ng_connect() 781 hook2->flags &= ~HK_INVALID; in ng_connect() 868 if (hook1->node != hook2->node) in ng_bypass() 870 hook1->peer->peer = hook2->peer; in ng_bypass() 871 hook2->peer->peer = hook1->peer; in ng_bypass() 875 hook2->peer = NULL; in ng_bypass() 877 ng_destroy_hook(hook2); in ng_bypass() 936 hook_p hook2; in ng_mkpeer() local [all …]
|
/dragonfly/sys/netgraph7/netgraph/ |
H A D | ng_base.c | 1220 NG_HOOK_UNREF(hook2); in ng_bypass() 1224 ng_destroy_hook(hook2); in ng_bypass() 1447 hook_p hook2; in ng_con_nodes() local 1455 NG_ALLOC_HOOK(hook2); in ng_con_nodes() 1456 if (hook2 == NULL) { in ng_con_nodes() 1467 NG_HOOK_REF(hook2); in ng_con_nodes() 1483 NG_HOOK_UNREF(hook2); in ng_con_nodes() 1508 hook_p hook1, hook2; in ng_mkpeer() local 1535 NG_HOOK_REF(hook2); in ng_mkpeer() 1543 error = (*hook2->hk_node->nd_type->connect) (hook2); in ng_mkpeer() [all …]
|
/dragonfly/sys/netgraph7/tcpmss/ |
H A D | ng_tcpmss.c | 367 hook_p hook2; in ng_tcpmss_disconnect() local 369 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) { in ng_tcpmss_disconnect() 370 hpriv_p priv = NG_HOOK_PRIVATE(hook2); in ng_tcpmss_disconnect()
|
/dragonfly/sys/netgraph7/ |
H A D | ng_tag.c | 611 hook_p hook2; in ng_tag_disconnect() local 615 LIST_FOREACH(hook2, &node->nd_hooks, hk_hooks) { in ng_tag_disconnect() 616 hinfo_p priv = NG_HOOK_PRIVATE(hook2); in ng_tag_disconnect()
|
H A D | netgraph.h | 1120 int ng_bypass(hook_p hook1, hook_p hook2);
|
/dragonfly/sys/netgraph/ |
H A D | netgraph.h | 326 int ng_bypass(hook_p hook1, hook_p hook2);
|