Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 746 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 746 Bytes

vpxdp

build

make so

You will get ./vpxdp.so and ./submodules/xdp-tools/lib/libxdp/libxdp.so

Note: the libbpf.so is also built, but is not required.

sample

The sample program captures ipv6 icmp requests, and send back ipv6 icmp replies.

If you are using a non-Linux platform, you can use a privileged docker to run the sample program:

make docker-run

# to exec into the container from another terminal, run:
docker exec -it vpxdp-sample /bin/bash 

To prepare the environment, run only once:

make prepare

To run the sample:

make run veth0

Testing from another terminal:

ping 'fd00::1'

To run the java version sample:

make run-java veth0