This commit is contained in:
Quentin 2021-04-25 10:56:48 +02:00
parent 01a89d9ace
commit 0924655e4b
Signed by: quentin
GPG key ID: A98E9B769E4FF428
2 changed files with 17 additions and 0 deletions

17
xdp/README.md Normal file
View file

@ -0,0 +1,17 @@
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
```