Lines Matching refs:hook
90 /** Input netgraph hook name */
92 /** Output netgraph hook name */
282 static int ng_vboxnetflt_newhook(node_p node, hook_p hook, const char *name)
289 NG_HOOK_SET_TO_INBOUND(hook);
291 pThis->u.s.input = hook;
295 pThis->u.s.output = hook;
300 NG_HOOK_HI_STACK(hook);
332 static int ng_vboxnetflt_rcvdata(hook_p hook, item_p item)
334 const node_p node = NG_HOOK_NODE(hook);
356 * Handle incoming hook. This is connected to the
359 if (pThis->u.s.input == hook)
375 * Handle mbufs on the outgoing hook, frames going to the interface
377 else if (pThis->u.s.output == hook)
415 static int ng_vboxnetflt_disconnect(hook_p hook)
550 * input hook. Tag the packet with a mbuf tag so that we
552 * input hook processing.
733 * 'output' hook.
756 * Send a netgraph message to disconnect our 'input' hook
767 * Send a netgraph message to disconnect our 'output' hook