https://github.com/jlkiri/xdp-example
https://github.com/jlkiri/xdp-example
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jlkiri/xdp-example
- Owner: jlkiri
- Created: 2023-01-16T11:37:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T11:40:33.000Z (over 2 years ago)
- Last Synced: 2025-02-01T16:48:26.802Z (4 months ago)
- Language: C
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Install dependencies
https://github.com/xdp-project/xdp-tutorial/blob/master/setup_dependencies.org
1. Install `bpftool`
2. Run `make` to compile
3. Run `sudo bash attach.sh ` to attach to a network interface
4. Run `sudo bash trace.sh` to trace output of the program
5. Run `sudo bash detach.sh ` to detach from a network interface