logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ng_ether_echo — netgraph ether_echo node type

Authors

       Julian Elischer <julian@FreeBSD.org>

Debian                                          December 24, 2008                               NG_ETHER_ECHO(4)

Control Messages

       This node type supports only the generic control messages.  Any other control messages are reflected back
       to the sender.

Description

       The ether_echo node type reflects all data and control messages back to the sender.  It assumes (and does
       not  check)  that  the packet is an ethernet frame, and swaps the source and destination addresses before
       echoing it.  This node type is used for testing and debugging.

History

       The ng_ether_echo node type was implemented in FreeBSD 8.0.

Hooks

       A ether_echo node accepts any request to connect, regardless of the hook name, as long  as  the  name  is
       unique.

Name

       ng_ether_echo — netgraph ether_echo node type

See Also

netgraph(4), ng_echo(4), ng_ether(4), ng_hole(4), ngctl(8)

Shutdown

       This  node  shuts  down  upon  receipt  of  a  NGM_SHUTDOWN  control message, or when all hooks have been
       disconnected.

Synopsis

#include<netgraph/ng_ether_echo.h>

See Also