summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMathieu Xhonneux <m.xhonneux@gmail.com>2018-05-20 16:58:17 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-24 12:57:36 +0300
commitc99a84eac026f404457810f5253220bab17ac213 (patch)
tree1a8f1c71e2940bfa52c5780181f876134d1375a1 /.gitignore
parent004d4b274e2a1a895a0e5dc66158b90a7d463d44 (diff)
downloadlinux-c99a84eac026f404457810f5253220bab17ac213.tar.xz
selftests/bpf: test for seg6local End.BPF action
Add a new test for the seg6local End.BPF action. The following helpers are also tested: - bpf_lwt_push_encap within the LWT BPF IN hook - bpf_lwt_seg6_action - bpf_lwt_seg6_adjust_srh - bpf_lwt_seg6_store_bytes A chain of End.BPF actions is built. The SRH is injected through a LWT BPF IN hook before entering this chain. Each End.BPF action validates the previous one, otherwise the packet is dropped. The test succeeds if the last node in the chain receives the packet and the UDP datagram contained can be retrieved from userspace. Signed-off-by: Mathieu Xhonneux <m.xhonneux@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions