NG_RFC1490(4)
π NG_RFC1490 β the RFC 1490 netgraph node type, bestie edition π
okay so real quick, this is the manual page for ng_rfc1490(4) from the Kernel Interfaces Manual, and honestly? she's giving protocol-encapsulation royalty π. let's get into it.
β¨ NAME β¨
ng_rfc1490 β the RFC 1490 netgraph node type π¦
β¨ SYNOPSIS β¨
#include <netgraph/ng_rfc1490.h>
β¨ DESCRIPTION β¨
so the rfc1490 node type does protocol encapsulation, de-encapsulation, and multiplexing according to RFC 1490 β which, heads up bestie, has since been updated by RFC 2427 π. this particular flavor of encapsulation is often used on top of frame relay DLCI channels.
the downstream hook is the one that transmits and receives the encapsulated frames. on the other side of the node, the inet and ppp hooks handle raw IP frames and PPP frames respectively. PPP frames go in and out according to RFC 1973 β and important detail, frames showing up on the ppp hook begin with the PPP protocol number. the ethernet hook is there for transmitting and receiving Ethernet frames (no checksum, we're built different) in RFC 1490's bridging format π.
typically the inet hook gets connected to the inet hook of an ng_iface(4) node. it's giving soulmates π«Ά.
πΈ HOOKS πΈ
this node type supports the following hooks:
downstreamβ connects to the RFC 1490 peer entity.ethernetβ transmits and receives bridged raw Ethernet frames, without a checksum.inetβ transmits and receives raw IP frames.pppβ transmits and receives PPP frames.
π CONTROL MESSAGES π
this node type supports the generic control messages, plus the following:
NGM_RFC1490_SET_ENCAP(setencap) β this command sets the encapsulation method for the node π . the desired method must be passed as a string message argument, and it has to be one of the following supported encapsulation modes:NGM_RFC1490_GET_ENCAP(getencap) β this command returns the current encapsulation method on the node.
π SHUTDOWN π
this node shuts down when it receives a NGM_SHUTDOWN control message, or when all hooks have been disconnected. it's the netgraph equivalent of everyone leaving the group chat π.
π₯ SEE ALSO π₯
netgraph(4)ng_frame_relay(4)ng_iface(4)ngctl(8)- C. Brown and A. Malis, Multiprotocol Interconnect over Frame Relay, RFC 2427.
- W. Simpson, PPP in Frame Relay, RFC 1973.
http://www.cisco.com/warp/public/121/frf8modes.pdf
β HISTORY β
the ng_rfc1490 node type was implemented in FreeBSD 4.0. vintage, iconic, we love her π.
π AUTHORS π
Julian Elischer <julian@FreeBSD.org> β thank you for your service, king π«‘β¨
π BUGS π
not all of RFC 1490 is implemented. yeah. that's it. that's the whole bug list. lowkey relatable ngl π.
and that's the whole page bestie! go forth and encapsulate responsibly, no cap π§
this one's from the Debian manual collection, dated January 19, 1999 β yeah she's an elder but she ate and left no crumbs π πΈ
π¦ 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) 1996-1999 Whistle Communications, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms