hello

command
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command hello is the smallest complete packetio program: it sends one frame and prints the next few it receives.

It uses the AF_PACKET backend, so it needs no particular hardware -- any interface on any Linux box will do. Everything below the Open call is the backend-neutral API, so changing that one line to mlx5.Open or afxdp.Open gives you the same program on a faster path.

sudo go run ./examples/hello -i eth0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL