Home
last modified time | relevance | path

Searched refs:ao_info (Results 1 – 8 of 8) sorted by relevance

/linux/net/ipv4/
H A Dtcp_ao.c187 ao = rcu_dereference(tcp_twsk(sk)->ao_info); in tcp_ao_ignore_icmp()
199 ao = rcu_dereference(tcp_sk(sk)->ao_info); in tcp_ao_ignore_icmp()
213 * it's known that the keys in ao_info are matching peer's
309 ao = rcu_dereference_check(tcp_sk(sk)->ao_info, in __tcp_ao_do_lookup()
403 ao = rcu_dereference_protected(tcp_twsk(sk)->ao_info, 1); in tcp_ao_destroy_sock()
404 rcu_assign_pointer(tcp_twsk(sk)->ao_info, NULL); in tcp_ao_destroy_sock()
406 ao = rcu_dereference_protected(tcp_sk(sk)->ao_info, 1); in tcp_ao_destroy_sock()
407 rcu_assign_pointer(tcp_sk(sk)->ao_info, NULL); in tcp_ao_destroy_sock()
420 struct tcp_ao_info *ao_info = rcu_dereference_protected(tp->ao_info, in tcp_ao_time_wait() local
788 struct tcp_ao_info *ao_info; tcp_ao_prepare_reset() local
1139 struct tcp_ao_info *ao_info; tcp_ao_connect_init() local
1575 struct tcp_ao_info *ao_info; tcp_ao_add_cmd() local
1737 tcp_ao_delete_key(struct sock * sk,struct tcp_ao_info * ao_info,bool del_async,struct tcp_ao_key * key,struct tcp_ao_key * new_current,struct tcp_ao_key * new_rnext) tcp_ao_delete_key() argument
1796 struct tcp_ao_info *ao_info; tcp_ao_del_cmd() local
1941 struct tcp_ao_info *ao_info; tcp_ao_info_cmd() local
2086 tcp_ao_copy_mkts_to_user(const struct sock * sk,struct tcp_ao_info * ao_info,sockptr_t optval,sockptr_t optlen) tcp_ao_copy_mkts_to_user() argument
2291 struct tcp_ao_info *ao_info; tcp_ao_get_mkts() local
[all...]
H A Dtcp_output.c613 struct tcp_ao_info *ao_info; in process_tcp_ao_options() local
615 ao_info = rcu_dereference_check(tp->ao_info, in process_tcp_ao_options()
617 rnext_key = READ_ONCE(ao_info->rnext_key); in process_tcp_ao_options()
4315 struct tcp_ao_info *ao_info; in tcp_connect() local
4317 ao_info = rcu_dereference_check(tp->ao_info, in tcp_connect()
4319 if (ao_info) { in tcp_connect()
4324 needs_ao |= ao_info->ao_required; in tcp_connect()
4325 WARN_ON_ONCE(ao_info in tcp_connect()
[all...]
H A Dtcp_minisocks.c63 ao = rcu_dereference(tcptw->ao_info); in twsk_rcv_nxt_update()
646 newtp->ao_info = NULL; in tcp_create_openreq_child()
H A Dtcp_ipv4.c1031 struct tcp_ao_info *ao_info; local
1035 ao_info = rcu_dereference(tcptw->ao_info);
1036 if (ao_info) {
1045 key.ao_key = tcp_ao_established_key(sk, ao_info,
1053 key.sne = READ_ONCE(ao_info->snd_sne);
1054 rnext_key = READ_ONCE(ao_info->rnext_key);
H A Dtcp_input.c3898 ao = rcu_dereference_protected(tp->ao_info, in tcp_snd_sne_update()
3926 ao = rcu_dereference_protected(tp->ao_info, in tcp_rcv_sne_update()
7032 ao = rcu_dereference_protected(tp->ao_info, in tcp_rcv_synsent_state_process()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dkey-management.c69 struct tcp_ao_info_opt ao_info = {}; in test_del_key() local
110 if (test_get_ao_info(sk, &ao_info)) in test_del_key()
112 if (current_key >= 0 && ao_info.current_key != (uint8_t)current_key) in test_del_key()
114 if (rnext_key >= 0 && ao_info.rnext != (uint8_t)rnext_key) in try_delete_key()
149 struct tcp_ao_info_opt ao_info = {}; in test_set_key()
153 ao_info.set_current = 1; in test_set_key()
154 ao_info.current_key = (uint8_t)current_keyid; in test_set_key()
157 ao_info.set_rnext = 1; in test_set_key()
158 ao_info.rnext = (uint8_t)rnext_keyid; in test_set_key()
161 err = test_set_ao_info(sk, &ao_info); in test_set_key()
144 struct tcp_ao_info_opt ao_info = {}; test_set_key() local
196 struct tcp_ao_info_opt ao_info = {}; __try_add_current_rnext_key() local
279 struct tcp_ao_info_opt ao_info = {}; assert_no_current_rnext() local
552 struct tcp_ao_info_opt ao_info = {}; verify_current_rnext() local
[all...]
/linux/include/linux/
H A Dtcp.h519 struct tcp_ao_info __rcu *ao_info; member
585 struct tcp_ao_info __rcu *ao_info; member
/linux/net/ipv6/
H A Dtcp_ipv6.c1162 struct tcp_ao_info *ao_info; local
1167 ao_info = rcu_dereference(tcptw->ao_info);
1168 if (ao_info) {
1175 key.ao_key = tcp_ao_established_key(sk, ao_info,
1184 rnext_key = READ_ONCE(ao_info->rnext_key);
1186 key.sne = READ_ONCE(ao_info->snd_sne);