NG_ECHO(4)
π¦ 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
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1996-1999 Whistle Communications, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms