Searched refs:aoh (Results 1 – 6 of 6) sorted by relevance
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 724 const struct tcp_ao_hdr *aoh, int l3index, u32 seq, in tcp_ao_prepare_reset() argument 771 -1, aoh->rnext_keyid); in tcp_ao_prepare_reset() 796 *key = tcp_ao_established_key(sk, ao_info, aoh->rnext_keyid, -1); in tcp_ao_prepare_reset() 869 const struct tcp_ao_hdr *aoh; in tcp_ao_syncookie() local 885 if (tcp_parse_auth_options(th, NULL, &aoh) || !aoh) in tcp_ao_syncookie() 889 key = tcp_ao_inbound_lookup(family, sk, skb, -1, aoh->keyid, l3index); in tcp_ao_syncookie() 894 treq->ao_rcv_next = aoh->keyid; in tcp_ao_syncookie() 895 treq->ao_keyid = aoh->rnext_keyid; in tcp_ao_syncookie() 902 const struct tcp_ao_hdr *aoh, struct tcp_ao_key *key, in tcp_ao_verify_hash() argument 906 u8 maclen = tcp_ao_hdr_maclen(aoh); in tcp_ao_verify_hash() [all …]
|
| H A D | tcp_ipv4.c | 685 const struct tcp_ao_hdr *aoh, in tcp_v4_ao_sign_reset() argument 701 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, ntohl(reply->seq), in tcp_v4_ao_sign_reset() 707 (aoh->rnext_keyid << 8) | keyid); in tcp_v4_ao_sign_reset() 750 const struct tcp_ao_hdr *aoh; in tcp_v4_send_reset() local 794 if (tcp_parse_auth_options(tcp_hdr(skb), &md5_hash_location, &aoh)) in tcp_v4_send_reset() 797 if (aoh && tcp_v4_ao_sign_reset(sk, skb, aoh, &arg, &rep.th, rep.opt)) in tcp_v4_send_reset() 1058 const struct tcp_ao_hdr *aoh; local 1060 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) { 1065 if (aoh) 1067 aoh->rnext_keyid, -1); [all …]
|
| H A D | tcp.c | 4999 const struct tcp_ao_hdr *aoh; in tcp_inbound_hash() local 5004 if (tcp_parse_auth_options(th, &md5_location, &aoh)) { in tcp_inbound_hash() 5010 if (tcp_rsk_used_ao(req) != !!aoh) { in tcp_inbound_hash() 5013 if (aoh) { in tcp_inbound_hash() 5014 keyid = aoh->keyid; in tcp_inbound_hash() 5015 rnext = aoh->rnext_keyid; in tcp_inbound_hash() 5016 maclen = tcp_ao_hdr_maclen(aoh); in tcp_inbound_hash() 5033 if (likely(!md5_location && !aoh)) { in tcp_inbound_hash() 5051 if (aoh) in tcp_inbound_hash() 5052 return tcp_inbound_ao_hash(sk, skb, family, req, l3index, aoh); in tcp_inbound_hash()
|
| H A D | tcp_input.c | 7669 const struct tcp_ao_hdr *aoh; in tcp_conn_request() local 7766 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_conn_request() 7768 if (aoh) { in tcp_conn_request() 7770 tcp_rsk(req)->ao_rcv_next = aoh->keyid; in tcp_conn_request() 7771 tcp_rsk(req)->ao_keyid = aoh->rnext_keyid; in tcp_conn_request()
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 982 const struct tcp_ao_hdr *aoh; in tcp_v6_send_reset() local 1006 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_reset() 1063 if (aoh) { in tcp_v6_send_reset() 1067 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, seq, in tcp_v6_send_reset() 1137 const struct tcp_ao_hdr *aoh; local 1140 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1142 if (aoh) 1144 aoh->rnext_keyid, -1); 1190 const struct tcp_ao_hdr *aoh; local 1195 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) [all …]
|
| /linux/include/net/ |
| H A D | tcp.h | 2946 const u8 **md5_hash, const struct tcp_ao_hdr **aoh) in tcp_parse_auth_options() argument 2958 if (aoh) { in tcp_parse_auth_options() 2960 *aoh = NULL; in tcp_parse_auth_options() 2962 *aoh = (struct tcp_ao_hdr *)(ao_tmp - 2); in tcp_parse_auth_options()
|