summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/time_tai.c
diff options
context:
space:
mode:
authorKui-Feng Lee <thinker.li@gmail.com>2023-06-23 18:46:00 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2023-06-30 16:09:27 +0200
commit539c7e67aa4a170eea9a401464ec72a18a795a30 (patch)
tree495adb20014b9ddafef1f27fe5029d614e035ac9 /tools/testing/selftests/bpf/prog_tests/time_tai.c
parent223f5f79f2ce8facd9d77dd44e9f403343630bfc (diff)
selftests/bpf: Verify that the cgroup_skb filters receive expected packets.
This test case includes four scenarios: 1. Connect to the server from outside the cgroup and close the connection from outside the cgroup. 2. Connect to the server from outside the cgroup and close the connection from inside the cgroup. 3. Connect to the server from inside the cgroup and close the connection from outside the cgroup. 4. Connect to the server from inside the cgroup and close the connection from inside the cgroup. The test case is to verify that cgroup_skb/{egress, ingress} filters receive expected packets including SYN, SYN/ACK, ACK, FIN, and FIN/ACK. Signed-off-by: Kui-Feng Lee <kuifeng@meta.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20230624014600.576756-3-kuifeng@meta.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/time_tai.c')
0 files changed, 0 insertions, 0 deletions