tcx command
This program demonstrates attaching an eBPF program to a network interface with Linux TCX (Traffic Control with eBPF). The program counts ingress and egress packets using two variables. The userspace program (Go code in this file) prints the contents of the two variables to stdout every second. This example depends on tcx bpf_link, available in Linux kernel version 6.6 or newer.
- Version
- v0.17.0
- Published
- Dec 18, 2024
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 1 hour ago –
Tools for package owners.