Searched refs:ao_info (Results 1 – 9 of 9) sorted by relevance
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 84 ao = rcu_dereference(tcp_twsk(sk)->ao_info); in tcp_ao_ignore_icmp() 96 ao = rcu_dereference(tcp_sk(sk)->ao_info); in tcp_ao_ignore_icmp() 205 ao = rcu_dereference_check(tcp_sk(sk)->ao_info, in __tcp_ao_do_lookup() 301 ao = rcu_dereference_protected(tcp_twsk(sk)->ao_info, 1); in tcp_ao_destroy_sock() 302 rcu_assign_pointer(tcp_twsk(sk)->ao_info, NULL); in tcp_ao_destroy_sock() 304 ao = rcu_dereference_protected(tcp_sk(sk)->ao_info, 1); in tcp_ao_destroy_sock() 305 rcu_assign_pointer(tcp_sk(sk)->ao_info, NULL); in tcp_ao_destroy_sock() 318 struct tcp_ao_info *ao_info = rcu_dereference_protected(tp->ao_info, 1); in tcp_ao_time_wait() local 320 if (ao_info) { in tcp_ao_time_wait() 325 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; 615 ao_info = rcu_dereference_check(tp->ao_info, 617 rnext_key = READ_ONCE(ao_info->rnext_key); 4313 struct tcp_ao_info *ao_info; in tcp_connect() 4315 ao_info = rcu_dereference_check(tp->ao_info, in tcp_connect() 4317 if (ao_info) { in tcp_connect() 4322 needs_ao |= ao_info->ao_required; in tcp_connect() 4323 WARN_ON_ONCE(ao_info in tcp_connect() 591 struct tcp_ao_info *ao_info; process_tcp_ao_options() local 4274 struct tcp_ao_info *ao_info; tcp_connect() local [all...] |
| H A D | tcp_minisocks.c | 63 ao = rcu_dereference(tcptw->ao_info); in twsk_rcv_nxt_update() 648 newtp->ao_info = NULL; in tcp_create_openreq_child()
|
| H A D | tcp_ipv4.c | 1051 struct tcp_ao_info *ao_info; local 1055 ao_info = rcu_dereference(tcptw->ao_info); 1056 if (ao_info) { 1065 key.ao_key = tcp_ao_established_key(sk, ao_info, 1073 key.sne = READ_ONCE(ao_info->snd_sne); 1074 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() 7051 ao = rcu_dereference_protected(tp->ao_info, in tcp_rcv_synsent_state_process()
|
| H A D | tcp.c | 4119 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 105 if (test_get_ao_info(sk, &ao_info)) in test_del_key() 107 if (current_key >= 0 && ao_info.current_key != (uint8_t)current_key) in test_del_key() 109 if (rnext_key >= 0 && ao_info.rnext != (uint8_t)rnext_key) in test_del_key() 144 struct tcp_ao_info_opt ao_info = {}; in test_set_key() local 148 ao_info.set_current = 1; in test_set_key() 149 ao_info.current_key = (uint8_t)current_keyid; in test_set_key() 152 ao_info.set_rnext = 1; in test_set_key() 153 ao_info.rnext = (uint8_t)rnext_keyid; in test_set_key() 156 err = test_set_ao_info(sk, &ao_info); in test_set_key() [all …]
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 1128 struct tcp_ao_info *ao_info; local 1133 ao_info = rcu_dereference(tcptw->ao_info); 1134 if (ao_info) { 1141 key.ao_key = tcp_ao_established_key(sk, ao_info, 1150 rnext_key = READ_ONCE(ao_info->rnext_key); 1152 key.sne = READ_ONCE(ao_info->snd_sne);
|
| /linux/include/net/ |
| H A D | tcp.h | 2529 ao = rcu_dereference_protected(tp->ao_info, in tcp_get_current_key() 2974 struct tcp_ao_info *ao_info; in tcp_ao_required() local 2980 ao_info = rcu_dereference_check(tcp_sk(sk)->ao_info, in tcp_ao_required() 2982 if (!ao_info) in tcp_ao_required() 2986 if (ao_info->ao_required || ao_key) { in tcp_ao_required() 2989 atomic64_inc(&ao_info->counters.ao_required); in tcp_ao_required()
|