NG_ECHO(4)

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

πŸ¦‹ ng_echo(4) β€” netgraph echo node type πŸ¦‹

okay so bestie, this is the ng_echo(4) page from the Kernel Interfaces Manual, and it's literally the netgraph echo node type. it reflects everything back at you β€” iconic behavior, no cap. It's used for testing and debugging. πŸ’–


🌸 NAME 🌸

ng_echo β€” netgraph echo node type


✨ SYNOPSIS ✨

#include <netgraph/ng_echo.h>

πŸŽ€ DESCRIPTION πŸŽ€

The echo node type reflects all data and control messages back to the sender. This node type is used for testing and debugging. Basically: it's a mirror in node form, and it's lowkey perfect for poking at things. πŸͺž

πŸͺ HOOKS πŸͺ

An echo node accepts any request to connect, regardless of the hook name, as long as the name is unique. so yes bestie, hook names are flexible β€” just keep them unique. 🫢

πŸ“¨ CONTROL MESSAGES πŸ“¨

This node type supports only the generic control messages. Any other control messages are reflected back to the sender. periodt. πŸ“¬

πŸ›‘ SHUTDOWN πŸ›‘

This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when all hooks have been disconnected. so that's the shutdown vibe check. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

πŸ“œ HISTORY πŸ“œ

The ng_echo node type was implemented in FreeBSD 4.0. oldie but goodie. ✨

πŸ‘‘ AUTHORS πŸ‘‘

Julian Elischer <julian@FreeBSD.org> πŸ’œ


mwah πŸ’‹ this page came from Debian, dated January 19, 1999, and its manual name is NG_ECHO(4). bye bestie, go echo something 🫢🌈

πŸ“¦ where this page comes from