Home
last modified time | relevance | path

Searched refs:tcp_ao_info_opt (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Daolib.h407 extern int test_get_ao_info(int sk, struct tcp_ao_info_opt *out);
408 extern int test_set_ao_info(int sk, struct tcp_ao_info_opt *in);
411 extern int test_cmp_getsockopt_setsockopt_ao(const struct tcp_ao_info_opt *a,
412 const struct tcp_ao_info_opt *b);
454 static inline int test_verify_socket_ao(int sk, struct tcp_ao_info_opt *ao) in test_verify_socket_ao()
456 struct tcp_ao_info_opt ao2 = {}; in test_verify_socket_ao()
468 struct tcp_ao_info_opt ao = {}; in test_set_ao_flags()
H A Dsock.c205 int test_get_ao_info(int sk, struct tcp_ao_info_opt *out) in test_get_ao_info()
218 int test_set_ao_info(int sk, struct tcp_ao_info_opt *in) in test_set_ao_info()
301 int test_cmp_getsockopt_setsockopt_ao(const struct tcp_ao_info_opt *a, in test_cmp_getsockopt_setsockopt_ao()
302 const struct tcp_ao_info_opt *b) in test_cmp_getsockopt_setsockopt_ao()
340 struct tcp_ao_info_opt info = {}; in test_get_tcp_ao_counters()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dsetsockopt-closed.c23 static void test_vefify_ao_info(int sk, struct tcp_ao_info_opt *info, in test_vefify_ao_info()
26 struct tcp_ao_info_opt tmp = {}; in test_vefify_ao_info()
119 len = sizeof(struct tcp_ao_info_opt); in setsockopt_checked()
158 struct tcp_ao_info_opt *info = optval; in prepare_defs()
163 memset(info, 0, sizeof(struct tcp_ao_info_opt)); in prepare_defs()
191 struct tcp_ao_info_opt info; in test_extend()
228 offsetof(struct tcp_ao_info_opt, pkt_dropped_icmp)); in extend_tests()
501 struct tcp_ao_info_opt info; in test_einval_ao_info()
H A Dkey-management.c69 struct tcp_ao_info_opt ao_info = {}; in test_del_key()
144 struct tcp_ao_info_opt ao_info = {}; in test_set_key()
196 struct tcp_ao_info_opt ao_info = {}; in __try_add_current_rnext_key()
279 struct tcp_ao_info_opt ao_info = {}; in assert_no_current_rnext()
552 struct tcp_ao_info_opt ao_info = {}; in verify_current_rnext()
/linux/include/uapi/linux/
H A Dtcp.h413 struct tcp_ao_info_opt { /* setsockopt(TCP_AO_INFO), getsockopt(TCP_AO_INFO) */ struct
/linux/net/ipv4/
H A Dtcp_ao.c1963 struct tcp_ao_info_opt cmd; in tcp_ao_info_cmd()
2321 struct tcp_ao_info_opt out, in = {}; in tcp_ao_get_sock_info()