Searched refs:ao_info (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/net/ipv4/ |
D | tcp_ao.c | 83 ao = rcu_dereference(tcp_twsk(sk)->ao_info); in tcp_ao_ignore_icmp() 95 ao = rcu_dereference(tcp_sk(sk)->ao_info); in tcp_ao_ignore_icmp() 203 ao = rcu_dereference_check(tcp_sk(sk)->ao_info, in __tcp_ao_do_lookup() 300 ao = rcu_dereference_protected(tcp_twsk(sk)->ao_info, 1); in tcp_ao_destroy_sock() 301 rcu_assign_pointer(tcp_twsk(sk)->ao_info, NULL); in tcp_ao_destroy_sock() 303 ao = rcu_dereference_protected(tcp_sk(sk)->ao_info, 1); in tcp_ao_destroy_sock() 304 rcu_assign_pointer(tcp_sk(sk)->ao_info, NULL); in tcp_ao_destroy_sock() 317 struct tcp_ao_info *ao_info = rcu_dereference_protected(tp->ao_info, 1); in tcp_ao_time_wait() local 319 if (ao_info) { in tcp_ao_time_wait() 324 hlist_for_each_entry_safe(key, n, &ao_info->head, node) { in tcp_ao_time_wait() [all …]
|
D | tcp_output.c | 624 struct tcp_ao_info *ao_info; in process_tcp_ao_options() local 626 ao_info = rcu_dereference_check(tp->ao_info, in process_tcp_ao_options() 628 rnext_key = READ_ONCE(ao_info->rnext_key); in process_tcp_ao_options() 4082 struct tcp_ao_info *ao_info; in tcp_connect() local 4084 ao_info = rcu_dereference_check(tp->ao_info, in tcp_connect() 4086 if (ao_info) { in tcp_connect() 4091 needs_ao |= ao_info->ao_required; in tcp_connect() 4092 WARN_ON_ONCE(ao_info->ao_required && needs_md5); in tcp_connect() 4110 if (unlikely(rcu_dereference_protected(tp->ao_info, in tcp_connect()
|
D | tcp_minisocks.c | 61 ao = rcu_dereference(tcptw->ao_info); in twsk_rcv_nxt_update() 609 newtp->ao_info = NULL; in tcp_create_openreq_child()
|
D | tcp_ipv4.c | 1042 struct tcp_ao_info *ao_info; local 1046 ao_info = rcu_dereference(tcptw->ao_info); 1047 if (ao_info) { 1056 key.ao_key = tcp_ao_established_key(ao_info, aoh->rnext_keyid, -1); 1063 key.sne = READ_ONCE(ao_info->snd_sne); 1064 rnext_key = READ_ONCE(ao_info->rnext_key);
|
D | tcp_input.c | 3637 ao = rcu_dereference_protected(tp->ao_info, in tcp_snd_sne_update() 3665 ao = rcu_dereference_protected(tp->ao_info, in tcp_rcv_sne_update() 6606 ao = rcu_dereference_protected(tp->ao_info, in tcp_rcv_synsent_state_process()
|
D | tcp.c | 3934 if (rcu_dereference_protected(tcp_sk(sk)->ao_info, in do_tcp_setsockopt()
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/ |
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-6.12.1/include/linux/ |
D | tcp.h | 493 struct tcp_ao_info __rcu *ao_info; member 552 struct tcp_ao_info __rcu *ao_info; member
|
/linux-6.12.1/net/ipv6/ |
D | tcp_ipv6.c | 1159 struct tcp_ao_info *ao_info; local 1164 ao_info = rcu_dereference(tcptw->ao_info); 1165 if (ao_info) { 1172 key.ao_key = tcp_ao_established_key(ao_info, 1181 rnext_key = READ_ONCE(ao_info->rnext_key); 1183 key.sne = READ_ONCE(ao_info->snd_sne);
|
/linux-6.12.1/include/net/ |
D | tcp.h | 2353 ao = rcu_dereference_protected(tp->ao_info, in tcp_get_current_key() 2791 struct tcp_ao_info *ao_info; in tcp_ao_required() local 2797 ao_info = rcu_dereference_check(tcp_sk(sk)->ao_info, in tcp_ao_required() 2799 if (!ao_info) in tcp_ao_required() 2803 if (ao_info->ao_required || ao_key) { in tcp_ao_required() 2806 atomic64_inc(&ao_info->counters.ao_required); in tcp_ao_required()
|