ng_ether_echo(4freebsd)

ng_ether_echo4freebsd

Netgraph ether_echo node type

Usage

#include <netgraph/ng_ether_echo.h>

Overview

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.

Hooks

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

Control messages

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

Shutdown

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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11–13

History

The ng_ether_echo node type was implemented in FreeBSD 8.0.

Authors

Julian Elischer ⟨[email protected]⟩

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.