Searched refs:ao_key (Results 1 – 4 of 4) sorted by relevance
| /linux/net/ipv4/ |
| H A D | tcp_ipv4.c | 969 (tcp_ao_len(key->ao_key) << 16) | in tcp_v4_send_ack() 970 (key->ao_key->sndid << 8) | in tcp_v4_send_ack() 972 arg.iov[0].iov_len += tcp_ao_len_aligned(key->ao_key); in tcp_v4_send_ack() 976 key->ao_key, key->traffic_key, in tcp_v4_send_ack() 1042 key.ao_key = tcp_ao_established_key(sk, ao_info, 1046 if (key.ao_key) { 1049 key.traffic_key = snd_other_key(key.ao_key); 1102 key.ao_key = tcp_ao_do_lookup(sk, l3index, addr, AF_INET, 1104 if (unlikely(!key.ao_key)) { 1106 key.ao_key = tcp_ao_do_lookup(sk, l3index, addr, AF_INET, -1, -1); [all …]
|
| H A D | tcp_ao.c | 748 int tcp_v4_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key, in tcp_v4_ao_synack_hash() argument 754 tcp_v4_ao_calc_key_rsk(ao_key, tkey_buf, req); in tcp_v4_ao_synack_hash() 756 return tcp_ao_hash_skb(AF_INET, ao_hash, ao_key, req_to_sk(req), skb, in tcp_v4_ao_synack_hash() 1120 struct tcp_ao_key *ao_key) in tcp_ao_cache_traffic_keys() argument 1122 u8 *traffic_key = snd_other_key(ao_key); in tcp_ao_cache_traffic_keys() 1125 ret = tcp_ao_calc_key_sk(ao_key, traffic_key, sk, in tcp_ao_cache_traffic_keys() 1130 traffic_key = rcv_other_key(ao_key); in tcp_ao_cache_traffic_keys() 1131 ret = tcp_ao_calc_key_sk(ao_key, traffic_key, sk, in tcp_ao_cache_traffic_keys()
|
| H A D | tcp_output.c | 603 u8 maclen = tcp_ao_maclen(key->ao_key); in process_tcp_ao_options() 621 (tcp_ao_len(key->ao_key) << 16) | in process_tcp_ao_options() 622 (key->ao_key->sndid << 8) | in process_tcp_ao_options() 979 remaining -= tcp_ao_len_aligned(key->ao_key); in tcp_syn_options() 1087 remaining -= tcp_ao_len_aligned(key->ao_key); in tcp_synack_options() 1167 size += tcp_ao_len_aligned(key->ao_key); in tcp_established_options() 1673 tcp_ao_transmit_skb(sk, skb, key.ao_key, th, in __tcp_transmit_skb() 3996 struct tcp_ao_key *ao_key = NULL; in tcp_make_synack() local 4000 ao_key = tcp_sk(sk)->af_specific->ao_lookup(sk, req_to_sk(req), in tcp_make_synack() 4007 if (unlikely(!ao_key)) { in tcp_make_synack() [all …]
|
| /linux/include/net/ |
| H A D | tcp_ao.h | 274 int tcp_v6_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key,
|