Home
last modified time | relevance | path

Searched refs:aoh (Results 1 – 7 of 7) sorted by relevance

/linux/net/ipv4/
H A Dtcp_ao.c783 const struct tcp_ao_hdr *aoh, int l3index, u32 seq, in tcp_ao_prepare_reset() argument
830 -1, aoh->rnext_keyid); in tcp_ao_prepare_reset()
855 *key = tcp_ao_established_key(sk, ao_info, aoh->rnext_keyid, -1); in tcp_ao_prepare_reset()
923 const struct tcp_ao_hdr *aoh; in tcp_ao_syncookie() local
939 if (tcp_parse_auth_options(th, NULL, &aoh) || !aoh) in tcp_ao_syncookie()
943 key = tcp_ao_inbound_lookup(family, sk, skb, -1, aoh->keyid, l3index); in tcp_ao_syncookie()
948 treq->ao_rcv_next = aoh->keyid; in tcp_ao_syncookie()
949 treq->ao_keyid = aoh->rnext_keyid; in tcp_ao_syncookie()
956 const struct tcp_ao_hdr *aoh, struct tcp_ao_key *key, in tcp_ao_verify_hash() argument
960 u8 maclen = tcp_ao_hdr_maclen(aoh); in tcp_ao_verify_hash()
[all …]
H A Dtcp_ipv4.c661 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()
1037 const struct tcp_ao_hdr *aoh; local
1039 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) {
1044 if (aoh)
1094 const struct tcp_ao_hdr *aoh; global() local
[all...]
H A Dtcp.c5031 const struct tcp_ao_hdr *aoh; in tcp_inbound_hash()
5036 if (tcp_parse_auth_options(th, &md5_location, &aoh)) { in tcp_inbound_hash()
5042 if (tcp_rsk_used_ao(req) != !!aoh) { in tcp_inbound_hash()
5045 if (aoh) { in tcp_inbound_hash()
5046 keyid = aoh->keyid; in tcp_inbound_hash()
5047 rnext = aoh->rnext_keyid; in tcp_inbound_hash()
5048 maclen = tcp_ao_hdr_maclen(aoh); in tcp_inbound_hash()
5065 if (likely(!md5_location && !aoh)) { in tcp_inbound_hash()
5083 if (aoh) in tcp_inbound_hash()
5084 return tcp_inbound_ao_hash(sk, skb, family, req, l3index, aoh); in tcp_inbound_hash()
5029 const struct tcp_ao_hdr *aoh; tcp_inbound_hash() local
[all...]
H A Dtcp_input.c7645 const struct tcp_ao_hdr *aoh; in tcp_conn_request()
7754 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_conn_request()
7756 if (aoh) { in tcp_conn_request()
7758 tcp_rsk(req)->ao_rcv_next = aoh->keyid; in tcp_conn_request()
7759 tcp_rsk(req)->ao_keyid = aoh->rnext_keyid; in tcp_conn_request()
7639 const struct tcp_ao_hdr *aoh; tcp_conn_request() local
/linux/include/net/
H A Dtcp_ao.h21 static inline u8 tcp_ao_hdr_maclen(const struct tcp_ao_hdr *aoh) in tcp_ao_hdr_maclen() argument
23 return aoh->length - sizeof(struct tcp_ao_hdr); in tcp_ao_hdr_maclen()
220 const struct tcp_ao_hdr *aoh);
231 const struct tcp_ao_hdr *aoh, int l3index, u32 seq,
304 const struct tcp_ao_hdr *aoh) in tcp_inbound_ao_hash() argument
H A Dtcp.h3029 const u8 **md5_hash, const struct tcp_ao_hdr **aoh) in tcp_parse_auth_options() argument
3041 if (aoh) { in tcp_parse_auth_options()
3043 *aoh = NULL; in tcp_parse_auth_options()
3045 *aoh = (struct tcp_ao_hdr *)(ao_tmp - 2); in tcp_parse_auth_options()
/linux/net/ipv6/
H A Dtcp_ipv6.c1014 const struct tcp_ao_hdr *aoh; in tcp_v6_send_reset() local
1038 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_reset()
1095 if (aoh) { in tcp_v6_send_reset()
1099 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, seq, in tcp_v6_send_reset()
1169 const struct tcp_ao_hdr *aoh; local
1172 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh))
1174 if (aoh)
1176 aoh->rnext_keyid, -1);
1222 const struct tcp_ao_hdr *aoh; local
1227 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh))
[all …]