---
name: "ng_ether_echo"
section: "4freebsd"
platform: "linux"
package: "freebsd-manpages"
version: "12.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ng_ether_echo/4freebsd"
---

# ng\_ether\_echo(4freebsd)

netgraph ether\_echo node type

## NAME

**ng\_ether\_echo** – netgraph ether\_echo node type

## SYNOPSIS

**#include \<netgraph/ng\_ether\_echo.h\>**

## 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.

## 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.

## SEE ALSO

[netgraph(4)](/netgraph/4.md), [ng\_echo(4)](/ng_echo/4.md), [ng\_ether(4)](/ng_ether/4.md), [ng\_hole(4)](/ng_hole/4.md), [ngctl(8)](/ngctl/8.md)

## HISTORY

The **ng\_ether\_echo** node type was implemented in FreeBSD 8.0.

## AUTHORS

Julian Elischer ⟨*julian@FreeBSD.org*⟩
