/linux-6.12.1/net/ipv4/ |
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(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 …]
|
D | tcp_ipv4.c | 682 const struct tcp_ao_hdr *aoh, in tcp_v4_ao_sign_reset() argument 698 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, ntohl(reply->seq), in tcp_v4_ao_sign_reset() 704 (aoh->rnext_keyid << 8) | keyid); in tcp_v4_ao_sign_reset() 747 const struct tcp_ao_hdr *aoh; in tcp_v4_send_reset() local 792 if (tcp_parse_auth_options(tcp_hdr(skb), &md5_hash_location, &aoh)) in tcp_v4_send_reset() 795 if (aoh && tcp_v4_ao_sign_reset(sk, skb, aoh, &arg, &rep.th, rep.opt)) in tcp_v4_send_reset() 1048 const struct tcp_ao_hdr *aoh; local 1050 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) { 1055 if (aoh) 1056 key.ao_key = tcp_ao_established_key(ao_info, aoh->rnext_keyid, -1); [all …]
|
D | tcp.c | 4787 const struct tcp_ao_hdr *aoh; in tcp_inbound_hash() local 4792 if (tcp_parse_auth_options(th, &md5_location, &aoh)) { in tcp_inbound_hash() 4798 if (tcp_rsk_used_ao(req) != !!aoh) { in tcp_inbound_hash() 4801 if (aoh) { in tcp_inbound_hash() 4802 keyid = aoh->keyid; in tcp_inbound_hash() 4803 rnext = aoh->rnext_keyid; in tcp_inbound_hash() 4804 maclen = tcp_ao_hdr_maclen(aoh); in tcp_inbound_hash() 4821 if (likely(!md5_location && !aoh)) { in tcp_inbound_hash() 4839 if (aoh) in tcp_inbound_hash() 4840 return tcp_inbound_ao_hash(sk, skb, family, req, l3index, aoh); in tcp_inbound_hash()
|
D | tcp_input.c | 7194 const struct tcp_ao_hdr *aoh; in tcp_conn_request() local 7291 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) in tcp_conn_request() 7293 if (aoh) { in tcp_conn_request() 7295 tcp_rsk(req)->ao_rcv_next = aoh->keyid; in tcp_conn_request() 7296 tcp_rsk(req)->ao_keyid = aoh->rnext_keyid; in tcp_conn_request()
|
/linux-6.12.1/include/net/ |
D | tcp_ao.h | 22 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
|
D | tcp.h | 2765 const u8 **md5_hash, const struct tcp_ao_hdr **aoh) in tcp_parse_auth_options() argument 2777 if (aoh) { in tcp_parse_auth_options() 2779 *aoh = NULL; in tcp_parse_auth_options() 2781 *aoh = (struct tcp_ao_hdr *)(ao_tmp - 2); in tcp_parse_auth_options()
|
/linux-6.12.1/net/ipv6/ |
D | tcp_ipv6.c | 1016 const struct tcp_ao_hdr *aoh; in tcp_v6_send_reset() local 1041 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_reset() 1099 if (aoh) { in tcp_v6_send_reset() 1103 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, seq, in tcp_v6_send_reset() 1166 const struct tcp_ao_hdr *aoh; local 1169 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1171 if (aoh) 1173 aoh->rnext_keyid, -1); 1219 const struct tcp_ao_hdr *aoh; local 1224 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) [all …]
|
/linux-6.12.1/drivers/video/fbdev/sis/ |
D | sis.h | 467 struct SIS_OH aoh[1]; member
|
D | sis_main.c | 3227 poh = &poha->aoh[0]; in sisfb_poh_new_node() 3234 memheap->poh_freelist = &poha->aoh[0]; in sisfb_poh_new_node()
|