wpj428/xdp/README.md

18 lines
161 B
Markdown
Raw Normal View History

2021-04-25 08:56:48 +00:00
Compile:
```
clang -O2 -Wall -target bpf -c main.c -o main.o
```
Load:
```
ip link set dev lo xdp obj main.o
```
Unload:
```
ip link set dev lo xdp off
```