+4
−0
samples/bpf/xdp_adjust_tail_kern.c
0 → 100644
+152
−0
samples/bpf/xdp_adjust_tail_user.c
0 → 100644
+142
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>