Searched refs:aoh (Results 1 – 5 of 5) 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.c | 4940 const struct tcp_ao_hdr *aoh; in tcp_inbound_hash() 4945 if (tcp_parse_auth_options(th, &md5_location, &aoh)) { in tcp_inbound_hash() 4951 if (tcp_rsk_used_ao(req) != !!aoh) { in tcp_inbound_hash() 4954 if (aoh) { in tcp_inbound_hash() 4955 keyid = aoh->keyid; in tcp_inbound_hash() 4956 rnext = aoh->rnext_keyid; in tcp_inbound_hash() 4957 maclen = tcp_ao_hdr_maclen(aoh); in tcp_inbound_hash() 4974 if (likely(!md5_location && !aoh)) { in tcp_inbound_hash() 4992 if (aoh) in tcp_done() 4993 return tcp_inbound_ao_hash(sk, skb, family, req, l3index, aoh); in tcp_done() 4927 const struct tcp_ao_hdr *aoh; tcp_inbound_hash() local [all...] |
| H A D | tcp_input.c | 7423 const struct tcp_ao_hdr *aoh; in tcp_conn_request() local 7520 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_conn_request() 7522 if (aoh) { in tcp_conn_request() 7524 tcp_rsk(req)->ao_rcv_next = aoh->keyid; in tcp_conn_request() 7525 tcp_rsk(req)->ao_keyid = aoh->rnext_keyid; in tcp_conn_request()
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 980 const struct tcp_ao_hdr *aoh; in tcp_v6_send_response() 1004 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_response() 1061 if (aoh) { in tcp_v6_send_reset() 1065 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, seq, in tcp_v6_send_reset() 1134 const struct tcp_ao_hdr *aoh; in tcp_v6_send_reset() 1137 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_v6_send_reset() 1139 if (aoh) in tcp_v6_send_reset() 1141 aoh->rnext_keyid, -1); in tcp_v6_send_reset() 1187 const struct tcp_ao_hdr *aoh; 1192 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1025 const struct tcp_ao_hdr *aoh; tcp_v6_send_reset() local 1180 const struct tcp_ao_hdr *aoh; global() local 1233 const struct tcp_ao_hdr *aoh; global() local [all...] |
| /linux/include/net/ |
| H A D | tcp.h | 2891 const u8 **md5_hash, const struct tcp_ao_hdr **aoh) in tcp_parse_auth_options() argument 2903 if (aoh) { in tcp_parse_auth_options() 2905 *aoh = NULL; in tcp_parse_auth_options() 2907 *aoh = (struct tcp_ao_hdr *)(ao_tmp - 2); in tcp_parse_auth_options()
|