Home
last modified time | relevance | path

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

/net/ipv6/
Dtcp_ipv6.c777 const __u8 *hash_location = NULL; in tcp_v6_inbound_md5_hash() local
790 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
793 if (!hash_expected && !hash_location) in tcp_v6_inbound_md5_hash()
796 if (hash_expected && !hash_location) { in tcp_v6_inbound_md5_hash()
801 if (!hash_expected && hash_location) { in tcp_v6_inbound_md5_hash()
811 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v6_inbound_md5_hash()
1008 const __u8 *hash_location = NULL; in tcp_v6_send_reset() local
1030 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
1039 } else if (hash_location) { in tcp_v6_send_reset()
1069 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v6_send_reset()
/net/ipv4/
Dtcp_ipv4.c672 const __u8 *hash_location = NULL; in tcp_v4_send_reset() local
713 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_send_reset()
724 } else if (hash_location) { in tcp_v4_send_reset()
756 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v4_send_reset()
1398 const __u8 *hash_location = NULL; in tcp_v4_inbound_md5_hash() local
1413 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_inbound_md5_hash()
1416 if (!hash_expected && !hash_location) in tcp_v4_inbound_md5_hash()
1419 if (hash_expected && !hash_location) { in tcp_v4_inbound_md5_hash()
1424 if (!hash_expected && hash_location) { in tcp_v4_inbound_md5_hash()
1436 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v4_inbound_md5_hash()
Dtcp_output.c439 __u8 *hash_location; /* temporary pointer, overloaded */ member
614 opts->hash_location = (__u8 *)ptr; in tcp_options_write()
1363 tp->af_specific->calc_md5_hash(opts.hash_location, in __tcp_transmit_skb()
3635 tcp_rsk(req)->af_specific->calc_md5_hash(opts.hash_location, in tcp_make_synack()