Searched refs:ao_info (Results 1 – 10 of 10) sorted by relevance
| /linux/net/ipv4/ |
| A D | tcp_ao.c | 319 if (ao_info) { in tcp_ao_time_wait() 330 rcu_assign_pointer(tcptw->ao_info, ao_info); in tcp_ao_time_wait() 767 ao_info = rcu_dereference(tcp_sk(sk)->ao_info); in tcp_ao_prepare_reset() 768 if (!ao_info) in tcp_ao_prepare_reset() 787 ao_info = rcu_dereference(tcp_twsk(sk)->ao_info); in tcp_ao_prepare_reset() 790 ao_info = rcu_dereference(tcp_sk(sk)->ao_info); in tcp_ao_prepare_reset() 793 if (!ao_info) in tcp_ao_prepare_reset() 1102 ao_info = rcu_dereference_protected(tp->ao_info, in tcp_ao_connect_init() 1104 if (!ao_info) in tcp_ao_connect_init() 1742 rcu_assign_pointer(tcp_sk(sk)->ao_info, ao_info); in tcp_ao_add_cmd() [all …]
|
| A 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()
|
| A 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()
|
| A 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);
|
| A 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()
|
| A D | tcp.c | 3934 if (rcu_dereference_protected(tcp_sk(sk)->ao_info, in do_tcp_setsockopt()
|
| /linux/tools/testing/selftests/net/tcp_ao/ |
| 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() 148 ao_info.set_current = 1; in test_set_key() 152 ao_info.set_rnext = 1; in test_set_key() 159 if (test_get_ao_info(sk, &ao_info)) in test_set_key() 285 if (ao_info.set_current || ao_info.set_rnext) { in assert_no_current_rnext() 288 (ao_info.set_current) ? ao_info.current_key : -1, in assert_no_current_rnext() 289 (ao_info.set_rnext) ? ao_info.rnext : -1); in assert_no_current_rnext() 559 if (!ao_info.set_current) in verify_current_rnext() 566 tst, ao_info.current_key); in verify_current_rnext() [all …]
|
| /linux/include/linux/ |
| A D | tcp.h | 493 struct tcp_ao_info __rcu *ao_info; member 552 struct tcp_ao_info __rcu *ao_info; member
|
| /linux/include/net/ |
| A 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()
|
| /linux/net/ipv6/ |
| A 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);
|
Completed in 67 milliseconds