Searched refs:aoh (Results 1 – 6 of 6) sorted by relevance
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 783 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 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() 1037 const struct tcp_ao_hdr *aoh; local 1039 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) { 1044 if (aoh) 1046 aoh->rnext_keyid, -1); [all …]
|
| H A D | tcp_input.c | 7638 const struct tcp_ao_hdr *aoh; in tcp_conn_request() local 7747 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_conn_request() 7749 if (aoh) { in tcp_conn_request() 7751 tcp_rsk(req)->ao_rcv_next = aoh->keyid; in tcp_conn_request() 7752 tcp_rsk(req)->ao_keyid = aoh->rnext_keyid; in tcp_conn_request()
|
| /linux/include/net/ |
| H A D | tcp_ao.h | 21 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 D | tcp.h | 3025 const u8 **md5_hash, const struct tcp_ao_hdr **aoh) in tcp_parse_auth_options() argument 3037 if (aoh) { in tcp_parse_auth_options() 3039 *aoh = NULL; in tcp_parse_auth_options() 3041 *aoh = (struct tcp_ao_hdr *)(ao_tmp - 2); in tcp_parse_auth_options()
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 1014 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 …]
|