NG_SPLIT(4)
π NG_SPLIT(4) π
okay bestie, so this is a Kernel Interfaces Manual page β NG_SPLIT(4), the netgraph node that separates your incoming flow from your outgoing flow. it's short, it's sweet, it's giving tiny node, big job. let's get into it π¦
β¨ NAME β¨
ng_split β netgraph node to separate incoming and outgoing flows
πΈ SYNOPSIS πΈ
#include <netgraph/ng_split.h>
like, that's it. that's the whole include. no cap. π
π DESCRIPTION π
so the split node type is the friend who takes a bidirectional stream of packets β packets going both ways, all mixed up together β and splits it into two separate unidirectional streams of packets. one direction each. clean. organized. main character energy. π
π«Ά HOOKS π«Ά
this node type supports the following three hooks, bestie, and they are:
inβ packets received oninare forwarded tomixed. cute lil relay, slay β¨outβ packets received onoutwill be discarded as illegal. π«π not me showing up at the wrong door, that's an instant block, fr fr.mixedβ packets received onmixedare forwarded toout. iconic behavior, honestly π
β CONTROL MESSAGES β
this node type supports only the generic control messages. that's it. no special extras, no secret menu, nothing. π
π SHUTDOWN π
this node shuts down when either:
- it receives a
NGM_SHUTDOWNcontrol message, or - all hooks have been disconnected β like, everyone left the group chat, so the node dips too π
lowkey that second one is the saddest way to go out but okay
π SEE ALSO π
π§ HISTORY π§
the ng_split node type was implemented in FreeBSD 3.5 but incorporated into FreeBSD in FreeBSD 5.0. so it was out here existing before it was officially existing. we love a lowkey debut πΈ
π AUTHORS π
- Julian Elischer
<julian@FreeBSD.org> - Vitaly V. Belekhov
<vitaly@riss-telecom.ru>
and that's the whole page, bestie β this version came from the Debian build, dated February 19, 2001, and it was a NG_SPLIT(4) situation from start to finish. periodt. πβ¨π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2001 FreeBSD inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms