NG_ETHER_ECHO(4)
π NG_ETHER_ECHO(4) β the netgraph ether_echo node type, bestie edition π
okay so this is a page from the Kernel Interfaces Manual (that's the 4 in NG_ETHER_ECHO(4), iykyk), and it's about the ng_ether_echo node type. she's tiny. she's simple. she is literally just here to yell back. let's get into it π«Ά
β¨ NAME β¨
ng_ether_echo β netgraph ether_echo node type
β¨ SYNOPSIS β¨
#include <netgraph/ng_ether_echo.h>
that's it. that's the whole synopsis. no arguments, no flags, no drama. she just is πΈ
β¨ DESCRIPTION β¨
so the ether_echo node type does one (1) thing and she does it with her whole chest: she reflects all data and control messages back to the sender. every single one. no notes. π
she also assumes β and this is the important part, she does not check β that the packet is an ethernet frame. she's trusting like that. π and before she echoes it back, she swaps the source and destination addresses. classic move. iconic behavior.
this node type is used for testing and debugging. that's her whole job. she's a test girlie. π§
β¨ HOOKS β¨
an ether_echo node accepts any request to connect, regardless of the hook name β as long as the name is unique. so like. call your hook whatever you want bestie, she's not gonna gatekeep the name. she only cares that nobody else already took it. one name, one hook, periodt. π
β¨ CONTROL MESSAGES β¨
this node type supports only the generic control messages.
any other control messages? reflected back to the sender. immediately. like a text you sent at 3am that you're now seeing again in the cold light of day π
β¨ SHUTDOWN β¨
this node shuts down when:
- she receives a
NGM_SHUTDOWNcontrol message, or - all hooks have been disconnected.
either one. that's the whole vibe check. when it's time, it's time π¦
β¨ SEE ALSO β¨
go read those too, they're the friend group. π
β¨ HISTORY β¨
the ng_ether_echo node type was implemented in FreeBSD 8.0. so she's been out here echoing since way back. a true veteran. a legend. π₯
β¨ AUTHORS β¨
Julian Elischer <julian@FreeBSD.org>
thank you julian for this little echo queen, we love her π
and that's the whole page bestie!! this one shipped out via Debian on December 24, 2008 β a lil christmas eve gift of a manpage, no cap π bye ily, go swap some addresses β¨
π¦ 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