Skip to content

Slepwin/xdp_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to compile:

sudo clang -O2 -target bpf -c {{xdp_util}}.c -o {{xdp_util}}.o

How to use XDP utils:

Load XDP util:
sudo ip link set dev {{ifname}} xdp obj {{xdp_util}}}.o

Unload XDP util:
sudo ip link set dev {{ifname}} xdp off

How to test:
python3 /tests/ipip_sender.py {{inner_ip_dst}} {{outer_ip_dst}}

About

XDP eBPF utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published