tcx

command
v0.0.0-...-62d106e Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

This program demonstrates attaching an eBPF program to a network interface with Linux TC (Traffic Control). The program counts ingress and egress packets using two ARRAY maps. The userspace program (Go code in this file) prints the contents of the two maps to stdout every second. This example depends on tcx bpf_link, available in Linux kernel version 6.6 or newer.

Jump to

Keyboard shortcuts

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