Searched refs:aoh (Results 1 – 6 of 6) sorted by relevance
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 726 const struct tcp_ao_hdr *aoh, int l3index, u32 seq, in tcp_ao_prepare_reset() argument 773 -1, aoh->rnext_keyid); in tcp_ao_prepare_reset() 798 *key = tcp_ao_established_key(sk, ao_info, aoh->rnext_keyid, -1); in tcp_ao_prepare_reset() 871 const struct tcp_ao_hdr *aoh; in tcp_ao_syncookie() local 887 if (tcp_parse_auth_options(th, NULL, &aoh) || !aoh) in tcp_ao_syncookie() 891 key = tcp_ao_inbound_lookup(family, sk, skb, -1, aoh->keyid, l3index); in tcp_ao_syncookie() 896 treq->ao_rcv_next = aoh->keyid; in tcp_ao_syncookie() 897 treq->ao_keyid = aoh->rnext_keyid; in tcp_ao_syncookie() 904 const struct tcp_ao_hdr *aoh, struct tcp_ao_key *key, in tcp_ao_verify_hash() argument 908 u8 maclen = tcp_ao_hdr_maclen(aoh); in tcp_ao_verify_hash() [all …]
|
| H A D | tcp_ipv4.c | 661 const struct tcp_ao_hdr *aoh, in tcp_v4_ao_sign_reset() argument 677 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, ntohl(reply->seq), in tcp_v4_ao_sign_reset() 683 (aoh->rnext_keyid << 8) | keyid); in tcp_v4_ao_sign_reset() 726 const struct tcp_ao_hdr *aoh; in tcp_v4_send_reset() local 770 if (tcp_parse_auth_options(tcp_hdr(skb), &md5_hash_location, &aoh)) in tcp_v4_send_reset() 773 if (aoh && tcp_v4_ao_sign_reset(sk, skb, aoh, &arg, &rep.th, rep.opt)) in tcp_v4_send_reset() 1034 const struct tcp_ao_hdr *aoh; local 1036 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) { 1041 if (aoh) 1043 aoh->rnext_keyid, -1); [all …]
|
| H A D | tcp.c | 5023 const struct tcp_ao_hdr *aoh; in tcp_inbound_hash() local 5028 if (tcp_parse_auth_options(th, &md5_location, &aoh)) { in tcp_inbound_hash() 5034 if (tcp_rsk_used_ao(req) != !!aoh) { in tcp_inbound_hash() 5037 if (aoh) { in tcp_inbound_hash() 5038 keyid = aoh->keyid; in tcp_inbound_hash() 5039 rnext = aoh->rnext_keyid; in tcp_inbound_hash() 5040 maclen = tcp_ao_hdr_maclen(aoh); in tcp_inbound_hash() 5057 if (likely(!md5_location && !aoh)) { in tcp_inbound_hash() 5075 if (aoh) in tcp_inbound_hash() 5076 return tcp_inbound_ao_hash(sk, skb, family, req, l3index, aoh); in tcp_inbound_hash()
|
| H A D | tcp_input.c | 7605 const struct tcp_ao_hdr *aoh; in tcp_conn_request() local 7705 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_conn_request() 7707 if (aoh) { in tcp_conn_request() 7709 tcp_rsk(req)->ao_rcv_next = aoh->keyid; in tcp_conn_request() 7710 tcp_rsk(req)->ao_keyid = aoh->rnext_keyid; in tcp_conn_request()
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 997 const struct tcp_ao_hdr *aoh; in tcp_v6_send_reset() local 1021 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_reset() 1078 if (aoh) { in tcp_v6_send_reset() 1082 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, seq, in tcp_v6_send_reset() 1152 const struct tcp_ao_hdr *aoh; local 1155 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1157 if (aoh) 1159 aoh->rnext_keyid, -1); 1205 const struct tcp_ao_hdr *aoh; local 1210 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) [all …]
|
| /linux/include/net/ |
| H A D | tcp.h | 3031 const u8 **md5_hash, const struct tcp_ao_hdr **aoh) in tcp_parse_auth_options() argument 3043 if (aoh) { in tcp_parse_auth_options() 3045 *aoh = NULL; in tcp_parse_auth_options() 3047 *aoh = (struct tcp_ao_hdr *)(ao_tmp - 2); in tcp_parse_auth_options()
|