NG_ATMLLC(4)
π NG_ATMLLC π
okay bestie, so we're looking at ng_atmllc from the Kernel Interfaces Manual β section 4, kernel interfaces, the whole vibe. sit down, grab a boba, and let's get into it π§β¨
β¨ NAME β¨
ng_atmllc β the ATM LLC netgraph node type. that's it, that's the girl π
π¦ SYNOPSIS π¦
#include <netgraph/ng_atmllc.h>
like, include the header, obviously π
πΈ DESCRIPTION πΈ
so the atmllc node type is literally a translator. she takes frames and converts them in and out of ATM LLC encapsulation, exactly as specified by RFC 1483. no cap, that's her whole job π«Ά
in LLC encapsulation, the protocol of a given protocol data unit (PDU) gets specified by an IEEE 802.2 LLC header, and possibly after that there's an IEEE 802.1a SubNetwork Attachment Point (SNAP) header riding along too. and rn? this node handles the Ethernet and FDDI protocols. just those two. she's focused π
here's the tea on how she moves data:
- she transmits and receives ATM PDUs on the
atmhook π - PDUs that come in get decoded and forwarded to the
etherorfddihooks, whichever fits π - data that arrives on the
etherorfddihooks is assumed to be full Ethernet or FDDI packets (as appropriate, bestie β don't send her half a packet, she will know π), and then she encapsulates it into a PDU and sends it out via theatmhook β¨
it's giving relay. it's giving middleman. it's giving iconic. periodt π
π₯ HOOKS π₯
this node type supports the following hooks, and yes we're going through all of them:
atmβ the ATM connection. typically you'd connect this hook to anng_atm(4)node, because that one handles the whole transmission-of-ATM-PDUs-over-an-ATM-device situation. she's the plug, not the whole power grid πetherβ the Ethernet connection. this hook sends and receives Ethernet frames. normally you'd connect it to anng_eiface(4)node if that's what you've got going on πΈfddiβ the FDDI connection. this hook sends and receives FDDI frames. that's the whole description, she's lowkey mysterious like that π¦
π CONTROL MESSAGES π
this node type supports the generic control messages. that's it. nothing extra, nothing spicy, just the generics. we love a low-maintenance queen π
π SHUTDOWN π
this node shuts down when:
- she receives a
NGM_SHUTDOWNcontrol message, OR - all hooks have been disconnected π
that's the whole exit strategy. no drama, just vibes ending π«Ά
π SEE ALSO π
netgraph(4)ng_atm(4)ng_eiface(4)ngctl(8)- J. Heinanen, Multiprotocol Encapsulation over ATM Adaptation Layer 5, RFC 1483.
go read them, bestie, iykyk πβ¨
π AUTHORS π
Benno Rice <benno@FreeBSD.org> β thank you for your service, king π«‘π
and that's the whole page, no cap. this absolute classic dropped on Debian, dated March 8, 2004 β and she's still serving looks to this day π β¨π
π¦ 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) 2004 Benno Rice <benno@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms