.. | ||
README.md | ||
test.c | ||
xdp_udp.c |
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:
.. | ||
README.md | ||
test.c | ||
xdp_udp.c |
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: