wpj428/xdp
2021-04-25 16:27:43 +02:00
..
README.md Fix README 2021-04-25 11:15:16 +02:00
test.c WIP checksum 2021-04-25 16:27:43 +02:00
xdp_udp.c WIP checksum 2021-04-25 16:27:43 +02:00

Compile:

clang -O2 -Wall -target bpf -c xdp_udp.c -o xdp_udp.o

Load:

ip link set dev lo xdp obj xdp_udp.o sec xdp_udp

View:

ip link show dev lo

Unload:

ip link set dev lo xdp off

Sources: