Home
last modified time | relevance | path

Searched refs:hash_location (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/net/ipv6/
Dtcp_ipv6.c704 const __u8 *hash_location = NULL; in tcp_v6_inbound_md5_hash() local
712 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
715 if (!hash_expected && !hash_location) in tcp_v6_inbound_md5_hash()
718 if (hash_expected && !hash_location) { in tcp_v6_inbound_md5_hash()
723 if (!hash_expected && hash_location) { in tcp_v6_inbound_md5_hash()
733 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v6_inbound_md5_hash()
930 const __u8 *hash_location = NULL; in tcp_v6_send_reset() local
952 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
955 } else if (hash_location) { in tcp_v6_send_reset()
978 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v6_send_reset()
/Linux-v5.4/net/ipv4/
Dtcp_ipv4.c663 const __u8 *hash_location = NULL; in tcp_v4_send_reset() local
704 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_send_reset()
708 } else if (hash_location) { in tcp_v4_send_reset()
732 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v4_send_reset()
1302 const __u8 *hash_location = NULL; in tcp_v4_inbound_md5_hash() local
1311 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_inbound_md5_hash()
1314 if (!hash_expected && !hash_location) in tcp_v4_inbound_md5_hash()
1317 if (hash_expected && !hash_location) { in tcp_v4_inbound_md5_hash()
1322 if (!hash_expected && hash_location) { in tcp_v4_inbound_md5_hash()
1334 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v4_inbound_md5_hash()
Dtcp_output.c436 __u8 *hash_location; /* temporary pointer, overloaded */ member
463 opts->hash_location = (__u8 *)ptr; in tcp_options_write()
1136 tp->af_specific->calc_md5_hash(opts.hash_location, in __tcp_transmit_skb()
3335 tcp_rsk(req)->af_specific->calc_md5_hash(opts.hash_location, in tcp_make_synack()