Home
last modified time | relevance | path

Searched refs:ao_required (Results 1 – 7 of 7) sorted by relevance

/linux/net/ipv4/
H A Dtcp_ao.c1212 new_ao->ao_required = ao->ao_required; in tcp_ao_copy_all_matching()
1994 if (cmd.ao_required && tcp_ao_required_verify(sk)) { in tcp_ao_info_cmd()
2022 atomic64_set(&ao_info->counters.ao_required, cmd.pkt_ao_required); in tcp_ao_info_cmd()
2026 ao_info->ao_required = cmd.ao_required; in tcp_ao_info_cmd()
2350 out.ao_required = ao->ao_required; in tcp_ao_get_sock_info()
2355 out.pkt_ao_required = atomic64_read(&ao->counters.ao_required); in tcp_ao_get_sock_info()
H A Dtcp_output.c4091 needs_ao |= ao_info->ao_required; in tcp_connect()
4092 WARN_ON_ONCE(ao_info->ao_required && needs_md5); in tcp_connect()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Daolib.h466 static inline int test_set_ao_flags(int sk, bool ao_required, bool accept_icmps) in test_set_ao_flags() argument
476 ao.ao_required = !!ao_required; in test_set_ao_flags()
H A Dsock.c305 if (a->ao_required != b->ao_required) { in test_cmp_getsockopt_setsockopt_ao()
/linux/include/uapi/linux/
H A Dtcp.h417 ao_required :1, /* in/out: don't accept non-AO connects */ member
/linux/tools/testing/selftests/net/tcp_ao/
H A Dsetsockopt-closed.c51 __cmp_ao(ao_required); in test_vefify_ao_info()
533 info.ao_required = 1; in test_einval_ao_info()
538 info.ao_required = 1; in test_einval_ao_info()
/linux/include/net/
H A Dtcp.h2807 if (ao_info->ao_required || ao_key) { in tcp_ao_required()
2810 atomic64_inc(&ao_info->counters.ao_required); in tcp_ao_required()