diff options
author | 2018-04-17 21:42:23 -0700 | |
---|---|---|
committer | 2018-04-18 23:34:17 +0200 | |
commit | c6ffd1ff785675c4a572c79f0e55ba5735edbaa0 (patch) | |
tree | 89bf245d8d4d86f46b4bea11473d9441b1f53782 /scripts/bpf_helpers_doc.py | |
parent | bpf: adding tests for bpf_xdp_adjust_tail (diff) | |
download | wireguard-linux-c6ffd1ff785675c4a572c79f0e55ba5735edbaa0.tar.xz wireguard-linux-c6ffd1ff785675c4a572c79f0e55ba5735edbaa0.zip |
bpf: add bpf_xdp_adjust_tail sample prog
adding bpf's sample program which is using bpf_xdp_adjust_tail helper
by generating ICMPv4 "packet to big" message if ingress packet's size is
bigger then 600 bytes
Signed-off-by: Nikita V. Shirokov <tehnerd@tehnerd.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions