Home
last modified time | relevance | path

Searched refs:tcp_ao_add (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Daolib.h370 extern int test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg,
376 static inline int test_prepare_key(struct tcp_ao_add *ao, in test_prepare_key()
391 static inline int test_prepare_def_key(struct tcp_ao_add *ao, in test_prepare_def_key()
409 extern int test_cmp_getsockopt_setsockopt(const struct tcp_ao_add *a,
414 static inline int test_verify_socket_key(int sk, struct tcp_ao_add *key) in test_verify_socket_key()
432 struct tcp_ao_add tmp = {}; in test_add_key_vrf()
639 struct tcp_ao_add tmp = {}; in test_add_repaired_key()
H A Dsock.c138 int test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg, in test_prepare_key_sockaddr()
144 memset(ao, 0, sizeof(struct tcp_ao_add)); in test_prepare_key_sockaddr()
229 int test_cmp_getsockopt_setsockopt(const struct tcp_ao_add *a, in test_cmp_getsockopt_setsockopt()
H A Dkconfig.c47 struct tcp_ao_add tmp = {}; in has_tcp_ao()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dsetsockopt-closed.c111 len = sizeof(struct tcp_ao_add); in setsockopt_checked()
137 struct tcp_ao_add *add = optval; in prepare_defs()
188 struct tcp_ao_add add; in test_extend()
224 offsetof(struct tcp_ao_add, key)); in extend_tests()
236 struct tcp_ao_add ao; in test_optmem_limit()
275 struct tcp_ao_add ao; in test_einval_add_key()
767 struct tcp_ao_add ao, ao2; in duplicate_tests()
832 struct tcp_ao_add test_ao[FILTER_TEST_NKEYS]; in prepare_test_keys()
860 &test_ao[randidx], sizeof(struct tcp_ao_add))) in prepare_test_keys()
863 sizeof(struct tcp_ao_add)); in prepare_test_keys()
H A Dconnect-deny.c12 struct tcp_ao_add tmp = {}; in test_add_key_maclen()
H A Dkey-management.c173 struct tcp_ao_add tmp = {}; in test_add_current_rnext_key()
527 struct tcp_ao_add tmp = {}; in test_add_key_cr()
/linux/net/ipv4/
H A Dtcp_ao.c1298 static int tcp_ao_verify_ipv4(struct sock *sk, struct tcp_ao_add *cmd, in tcp_ao_verify_ipv4()
1337 static int tcp_ao_parse_crypto(struct tcp_ao_add *cmd, struct tcp_ao_key *key) in tcp_ao_parse_crypto()
1450 static int tcp_ao_verify_ipv6(struct sock *sk, struct tcp_ao_add *cmd, in tcp_ao_verify_ipv6()
1514 static int tcp_ao_verify_ipv6(struct sock *sk, struct tcp_ao_add *cmd, in tcp_ao_verify_ipv6()
1548 struct tcp_ao_add *cmd) in tcp_ao_key_alloc()
1602 struct tcp_ao_add cmd; in tcp_ao_add_cmd()
/linux/include/uapi/linux/
H A Dtcp.h380 struct tcp_ao_add { /* setsockopt(TCP_AO_ADD_KEY) */ struct
/linux/Documentation/networking/
H A Dtcp_ao.rst388 may be changed later by introducing new flags to ``tcp_ao_add``