Searched refs:ao_info (Results 1 – 10 of 10) sorted by relevance
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 187 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() 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, 1); in tcp_ao_time_wait() local 422 if (ao_info) { in tcp_ao_time_wait() 427 hlist_for_each_entry_safe(key, n, &ao_info->head, node) { in tcp_ao_time_wait() [all …]
|
| H A D | tcp_output.c | 613 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() 4318 struct tcp_ao_info *ao_info; in tcp_connect() local 4320 ao_info = rcu_dereference_check(tp->ao_info, in tcp_connect() 4322 if (ao_info) { in tcp_connect() 4327 needs_ao |= ao_info->ao_required; in tcp_connect() 4328 WARN_ON_ONCE(ao_info->ao_required && needs_md5); in tcp_connect() 4350 if (unlikely(rcu_dereference_protected(tp->ao_info, in tcp_connect()
|
| H A D | tcp_minisocks.c | 63 ao = rcu_dereference(tcptw->ao_info); in twsk_rcv_nxt_update() 646 newtp->ao_info = NULL; in tcp_create_openreq_child()
|
| H A D | tcp_ipv4.c | 1031 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 D | tcp_input.c | 3898 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() 7039 ao = rcu_dereference_protected(tp->ao_info, in tcp_rcv_synsent_state_process()
|
| H A D | tcp.c | 4081 if (rcu_dereference_protected(tcp_sk(sk)->ao_info, in do_tcp_setsockopt()
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | key-management.c | 69 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 test_del_key() 149 struct tcp_ao_info_opt ao_info = {}; in test_set_key() local 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() [all …]
|
| /linux/include/linux/ |
| H A D | tcp.h | 519 struct tcp_ao_info __rcu *ao_info; member 585 struct tcp_ao_info __rcu *ao_info; member
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 1162 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);
|
| /linux/include/net/ |
| H A D | tcp.h | 2601 ao = rcu_dereference_protected(tp->ao_info, in tcp_get_current_key() 3055 struct tcp_ao_info *ao_info; in tcp_ao_required() local 3061 ao_info = rcu_dereference_check(tcp_sk(sk)->ao_info, in tcp_ao_required() 3063 if (!ao_info) in tcp_ao_required() 3067 if (ao_info->ao_required || ao_key) { in tcp_ao_required() 3070 atomic64_inc(&ao_info->counters.ao_required); in tcp_ao_required()
|