NG_UI(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’– ng_UI(4) β€” UI netgraph node type πŸ’–

okay bestie, welcome to the ng_UI(4) manual page β€” it's giving kernel interfaces energy, and we're gonna get through it together. ✨ no cap.


🌸 NAME 🌸

ng_UI β€” UI netgraph node type. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <netgraph/ng_UI.h>

✨ DESCRIPTION ✨

The UI node type has two hooks: upstream and downstream. πŸ¦‹

Packets received on downstream must have 0x03 (indicating unnumbered information) as their first byte. If not, the packet is dropped. 😭 This byte is then stripped, and the remainder of the packet is sent out on upstream.

Conversely, packets received on upstream will have a 0x03 byte prepended to them before being forwarded out on the downstream hook. πŸ’«


πŸͺ HOOKS πŸͺ

This node type supports the following hooks:

  • downstream β€” Downstream connection. Packets on this side of the node have a 0x03 as their first byte. πŸ‘‘
  • upstream β€” Upstream connection. Packets on this side of the node have the initial 0x03 byte stripped off. 🧚

πŸ“¨ CONTROL MESSAGES πŸ“¨

This node type supports only the generic control messages. periodt. πŸ’…


πŸ›‘ SHUTDOWN πŸ›‘

This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when both hooks have been disconnected. πŸ’€


πŸ‘€ SEE ALSO πŸ‘€


πŸ“œ HISTORY πŸ“œ

The ng_UI node type was implemented in FreeBSD 4.0. ⭐


🫢 AUTHORS 🫢

Julian Elischer <julian@FreeBSD.org> 🌈


mwah πŸ’‹ β€” this cutie came from the Debian source/version, dated January 19, 1999. NG_UI(4) out. πŸŽ€βœ¨

πŸ“¦ where this page comes from