Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/net/tcp_ao/
H A Dsetsockopt-closed.c94 if (*len != sizeof(struct tcp_ao_getsockopt)) in __setsockopt_checked()
167 struct tcp_ao_getsockopt *get = optval; in prepare_defs()
172 memset(get, 0, sizeof(struct tcp_ao_getsockopt)); in prepare_defs()
190 struct tcp_ao_getsockopt get; in test_extend()
595 socklen_t len = sizeof(struct tcp_ao_getsockopt); in getsockopt_checked()
603 struct tcp_ao_getsockopt out; in test_einval_get_keys()
873 struct tcp_ao_getsockopt *actual, int nactual) in compare_mkts()
888 struct tcp_ao_getsockopt *expected, in filter_keys_checked()
921 struct tcp_ao_getsockopt filter = {}; in filter_tests()
968 sizeof(struct tcp_ao_getsockopt)); in filter_tests()
[all …]
H A Dkey-management.c70 struct tcp_ao_getsockopt key = {}; in test_del_key()
664 static struct tcp_ao_getsockopt *lookup_key(struct tcp_ao_getsockopt *buf, in lookup_key()
682 socklen_t len = sizeof(struct tcp_ao_getsockopt); in verify_keys()
683 struct tcp_ao_getsockopt *keys; in verify_keys()
701 struct tcp_ao_getsockopt *dump_key; in verify_keys()
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c240 struct tcp_ao_getsockopt tmp = {}; in test_get_ao_keys_nr()
253 int test_get_one_ao(int sk, struct tcp_ao_getsockopt *out, in test_get_one_ao()
257 struct tcp_ao_getsockopt tmp = {}; in test_get_one_ao()
301 const struct tcp_ao_getsockopt *b) in test_cmp_getsockopt_setsockopt()
409 struct tcp_ao_getsockopt *key_dump; in test_get_tcp_counters()
H A Daolib.h405 extern int test_get_one_ao(int sk, struct tcp_ao_getsockopt *out,
411 const struct tcp_ao_getsockopt *b);
417 struct tcp_ao_getsockopt key2 = {}; in test_verify_socket_key()
/linux-6.15/net/ipv4/
H A Dtcp_ao.c2110 struct tcp_ao_getsockopt opt_in, opt_out; in tcp_ao_copy_mkts_to_user()
2128 memset(&opt_in, 0, sizeof(struct tcp_ao_getsockopt)); in tcp_ao_copy_mkts_to_user()
2230 bytes_to_write = min_t(int, user_len, sizeof(struct tcp_ao_getsockopt)); in tcp_ao_copy_mkts_to_user()
2257 memset(&opt_out, 0, sizeof(struct tcp_ao_getsockopt)); in tcp_ao_copy_mkts_to_user()
2294 optlen_out = (int)sizeof(struct tcp_ao_getsockopt); in tcp_ao_copy_mkts_to_user()
2298 out_offset = offsetof(struct tcp_ao_getsockopt, nkeys); in tcp_ao_copy_mkts_to_user()
/linux-6.15/include/uapi/linux/
H A Dtcp.h437 struct tcp_ao_getsockopt { /* getsockopt(TCP_AO_GET_KEYS) */ struct