Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dtcp_ao.c725 const struct tcp_ao_hdr *aoh, int l3index, u32 seq, in tcp_ao_prepare_reset() argument
772 -1, aoh->rnext_keyid); in tcp_ao_prepare_reset()
797 *key = tcp_ao_established_key(sk, ao_info, aoh->rnext_keyid, -1); in tcp_ao_prepare_reset()
870 const struct tcp_ao_hdr *aoh; in tcp_ao_syncookie() local
886 if (tcp_parse_auth_options(th, NULL, &aoh) || !aoh) in tcp_ao_syncookie()
890 key = tcp_ao_inbound_lookup(family, sk, skb, -1, aoh->keyid, l3index); in tcp_ao_syncookie()
895 treq->ao_rcv_next = aoh->keyid; in tcp_ao_syncookie()
896 treq->ao_keyid = aoh->rnext_keyid; in tcp_ao_syncookie()
903 const struct tcp_ao_hdr *aoh, struct tcp_ao_key *key, in tcp_ao_verify_hash() argument
907 u8 maclen = tcp_ao_hdr_maclen(aoh); in tcp_ao_verify_hash()
[all …]
H A Dtcp_ipv4.c684 const struct tcp_ao_hdr *aoh, in tcp_v4_ao_sign_reset() argument
700 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, ntohl(reply->seq), in tcp_v4_ao_sign_reset()
706 (aoh->rnext_keyid << 8) | keyid); in tcp_v4_ao_sign_reset()
749 const struct tcp_ao_hdr *aoh; in tcp_v4_send_reset() local
793 if (tcp_parse_auth_options(tcp_hdr(skb), &md5_hash_location, &aoh)) in tcp_v4_send_reset()
796 if (aoh && tcp_v4_ao_sign_reset(sk, skb, aoh, &arg, &rep.th, rep.opt)) in tcp_v4_send_reset()
1057 const struct tcp_ao_hdr *aoh; local
1059 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) {
1064 if (aoh)
1066 aoh->rnext_keyid, -1);
[all …]
H A Dtcp.c5000 const struct tcp_ao_hdr *aoh; in tcp_inbound_hash() local
5005 if (tcp_parse_auth_options(th, &md5_location, &aoh)) { in tcp_inbound_hash()
5011 if (tcp_rsk_used_ao(req) != !!aoh) { in tcp_inbound_hash()
5014 if (aoh) { in tcp_inbound_hash()
5015 keyid = aoh->keyid; in tcp_inbound_hash()
5016 rnext = aoh->rnext_keyid; in tcp_inbound_hash()
5017 maclen = tcp_ao_hdr_maclen(aoh); in tcp_inbound_hash()
5034 if (likely(!md5_location && !aoh)) { in tcp_inbound_hash()
5052 if (aoh) in tcp_inbound_hash()
5053 return tcp_inbound_ao_hash(sk, skb, family, req, l3index, aoh); in tcp_inbound_hash()
H A Dtcp_input.c7658 const struct tcp_ao_hdr *aoh; in tcp_conn_request() local
7758 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_conn_request()
7760 if (aoh) { in tcp_conn_request()
7762 tcp_rsk(req)->ao_rcv_next = aoh->keyid; in tcp_conn_request()
7763 tcp_rsk(req)->ao_keyid = aoh->rnext_keyid; in tcp_conn_request()
/linux/include/net/
H A Dtcp_ao.h22 static inline u8 tcp_ao_hdr_maclen(const struct tcp_ao_hdr *aoh) in tcp_ao_hdr_maclen() argument
24 return aoh->length - sizeof(struct tcp_ao_hdr); in tcp_ao_hdr_maclen()
203 const struct tcp_ao_hdr *aoh);
214 const struct tcp_ao_hdr *aoh, int l3index, u32 seq,
287 const struct tcp_ao_hdr *aoh) in tcp_inbound_ao_hash() argument
H A Dtcp.h2948 const u8 **md5_hash, const struct tcp_ao_hdr **aoh) in tcp_parse_auth_options() argument
2960 if (aoh) { in tcp_parse_auth_options()
2962 *aoh = NULL; in tcp_parse_auth_options()
2964 *aoh = (struct tcp_ao_hdr *)(ao_tmp - 2); in tcp_parse_auth_options()
/linux/net/ipv6/
H A Dtcp_ipv6.c980 const struct tcp_ao_hdr *aoh; in tcp_v6_send_reset() local
1004 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_reset()
1061 if (aoh) { in tcp_v6_send_reset()
1065 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, seq, in tcp_v6_send_reset()
1135 const struct tcp_ao_hdr *aoh; local
1138 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh))
1140 if (aoh)
1142 aoh->rnext_keyid, -1);
1188 const struct tcp_ao_hdr *aoh; local
1193 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh))
[all …]
/linux/drivers/video/fbdev/sis/
H A Dsis.h467 struct SIS_OH aoh[1]; member
H A Dsis_main.c3227 poh = &poha->aoh[0]; in sisfb_poh_new_node()
3234 memheap->poh_freelist = &poha->aoh[0]; in sisfb_poh_new_node()