Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/lib/
A Dsock.c169 struct tcp_ao_getsockopt tmp = {}; in test_get_ao_keys_nr()
182 int test_get_one_ao(int sk, struct tcp_ao_getsockopt *out, in test_get_one_ao()
186 struct tcp_ao_getsockopt tmp = {}; in test_get_one_ao()
230 const struct tcp_ao_getsockopt *b) in test_cmp_getsockopt_setsockopt()
338 struct tcp_ao_getsockopt *key_dump; in test_get_tcp_ao_counters()
A Daolib.h403 extern int test_get_one_ao(int sk, struct tcp_ao_getsockopt *out,
409 const struct tcp_ao_getsockopt *b);
415 struct tcp_ao_getsockopt key2 = {}; in test_verify_socket_key()
/linux/tools/testing/selftests/net/tcp_ao/
A Dsetsockopt-closed.c92 if (*len != sizeof(struct tcp_ao_getsockopt)) in __setsockopt_checked()
165 struct tcp_ao_getsockopt *get = optval; in prepare_defs()
170 memset(get, 0, sizeof(struct tcp_ao_getsockopt)); in prepare_defs()
188 struct tcp_ao_getsockopt get; in test_extend()
590 static void getsockopt_checked(int sk, struct tcp_ao_getsockopt *optval, in getsockopt_checked()
593 socklen_t len = sizeof(struct tcp_ao_getsockopt); in getsockopt_checked()
601 struct tcp_ao_getsockopt out; in test_einval_get_keys()
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/include/uapi/linux/
A Dtcp.h431 struct tcp_ao_getsockopt { /* getsockopt(TCP_AO_GET_KEYS) */ struct
/linux/net/ipv4/
A Dtcp_ao.c2107 struct tcp_ao_getsockopt opt_in, opt_out; in tcp_ao_copy_mkts_to_user()
2125 memset(&opt_in, 0, sizeof(struct tcp_ao_getsockopt)); in tcp_ao_copy_mkts_to_user()
2227 bytes_to_write = min_t(int, user_len, sizeof(struct tcp_ao_getsockopt)); in tcp_ao_copy_mkts_to_user()
2253 memset(&opt_out, 0, sizeof(struct tcp_ao_getsockopt)); in tcp_ao_copy_mkts_to_user()
2290 optlen_out = (int)sizeof(struct tcp_ao_getsockopt); in tcp_ao_copy_mkts_to_user()
2294 out_offset = offsetof(struct tcp_ao_getsockopt, nkeys); in tcp_ao_copy_mkts_to_user()

Completed in 21 milliseconds