diff options
| author | Kui-Feng Lee <[email protected]> | 2023-06-24 01:46:00 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2023-06-30 14:09:27 +0000 |
| commit | 539c7e67aa4a170eea9a401464ec72a18a795a30 (patch) | |
| tree | 495adb20014b9ddafef1f27fe5029d614e035ac9 /tools/lib/bpf/bpf.c | |
| parent | bpf, net: Check skb ownership against full socket. (diff) | |
| download | kernel-539c7e67aa4a170eea9a401464ec72a18a795a30.tar.gz kernel-539c7e67aa4a170eea9a401464ec72a18a795a30.zip | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions
