aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorJordan Rife <[email protected]>2024-04-29 16:45:22 -0500
committerMartin KaFai Lau <[email protected]>2024-05-02 15:23:31 -0700
commit524e05ac4e14bb50b4f442e1fe88540abc9b72fd (patch)
tree765072b222024b6ccc7e4569d273de808bfa1195 /net/ipv4/tcp_input.c
parent8a9d22b8aeb2182cfe83991f11a88b3351084d3e (diff)
selftests/bpf: Make sock configurable for each test case
In order to reuse the same test code for both socket system calls (e.g. connect(), bind(), etc.) and kernel socket functions (e.g. kernel_connect(), kernel_bind(), etc.), this patch introduces the "ops" field to sock_addr_test. This field allows each test cases to configure the set of functions used in the test case to create, manipulate, and tear down a socket. Signed-off-by: Jordan Rife <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions