![]() |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
libbpf-wasm.h | ||
sockops.bpf.c | ||
sockops.c |
README.md
Demo BPF applications
sockops
sockops
add the pid int tcp option in syn packet.
We can provide a similar developing experience as the libbpf-bootstrap development. Just run make
to build the wasm binary:
make
test the prog load and attach correctly
bpftool prog list | grep -i pid_tcp_opt_inject -A 3
open wireshark to capture and verify the tcp option(kind 254) is add to option in syn packet