diff options
author | Nikita V. Shirokov <tehnerd@tehnerd.com> | 2018-04-18 06:42:23 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-04-18 23:34:17 +0200 |
commit | c6ffd1ff785675c4a572c79f0e55ba5735edbaa0 (patch) | |
tree | 89bf245d8d4d86f46b4bea11473d9441b1f53782 /samples/bpf/sockex1_user.c | |
parent | bpf: adding tests for bpf_xdp_adjust_tail (diff) | |
download | linux-c6ffd1ff785675c4a572c79f0e55ba5735edbaa0.tar.xz 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 'samples/bpf/sockex1_user.c')
0 files changed, 0 insertions, 0 deletions