logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ng_split — netgraph node to separate incoming and outgoing flows

Authors

       Julian Elischer <julian@FreeBSD.org>
       Vitaly V. Belekhov <vitaly@riss-telecom.ru>

Debian                                          February 19, 2001                                    NG_SPLIT(4)

Control Messages

       This node type supports only the generic control messages.

Description

       The  split  node type is used to split a bidirectional stream of packets into two separate unidirectional
       streams of packets.

History

       The ng_split node type was implemented in FreeBSD 3.5 but incorporated into FreeBSD in FreeBSD 5.0.

Hooks

       This node type supports the following three hooks:

       in     Packets received on in are forwarded to mixed.

       out    Packets received on out will be discarded as illegal.

       mixed  Packets received on mixed are forwarded to out.

Name

       ng_split — netgraph node to separate incoming and outgoing flows

See Also

netgraph(4), ngctl(8)

Shutdown

       This node shuts down upon receipt of a  NGM_SHUTDOWN  control  message,  or  when  all  hooks  have  been
       disconnected.

Synopsis

#include<netgraph/ng_split.h>

See Also