selftests/bpf: Add test based on port range for BPF flow dissector
authorYoshiki Komachi <komachi.yoshiki@gmail.com>
Fri, 17 Jan 2020 07:05:33 +0000 (16:05 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 27 Jan 2020 10:25:07 +0000 (11:25 +0100)
commit265bb359061db6ef825dec3912f341a604966371
treed8a90788a7a29307fd509bbf2761f024b4a902f8
parent59fb9b62fb6c929a756563152a89f39b07cf8893
selftests/bpf: Add test based on port range for BPF flow dissector

Add a simple test to make sure that a filter based on specified port
range classifies packets correctly.

Signed-off-by: Yoshiki Komachi <komachi.yoshiki@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Petar Penkov <ppenkov@google.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200117070533.402240-3-komachi.yoshiki@gmail.com
tools/testing/selftests/bpf/test_flow_dissector.sh