Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv6/
Dtcp_ipv6.c635 const __u8 *hash_location = NULL; in tcp_v6_inbound_md5_hash() local
643 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
646 if (!hash_expected && !hash_location) in tcp_v6_inbound_md5_hash()
649 if (hash_expected && !hash_location) { in tcp_v6_inbound_md5_hash()
654 if (!hash_expected && hash_location) { in tcp_v6_inbound_md5_hash()
664 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v6_inbound_md5_hash()
841 const __u8 *hash_location = NULL; in tcp_v6_send_reset() local
859 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
860 if (!sk && hash_location) { in tcp_v6_send_reset()
881 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v6_send_reset()
/linux-4.4.14/net/ipv4/
Dtcp_ipv4.c594 const __u8 *hash_location = NULL; in tcp_v4_send_reset() local
632 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_send_reset()
633 if (!sk && hash_location) { in tcp_v4_send_reset()
655 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v4_send_reset()
1136 const __u8 *hash_location = NULL; in tcp_v4_inbound_md5_hash() local
1145 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_inbound_md5_hash()
1148 if (!hash_expected && !hash_location) in tcp_v4_inbound_md5_hash()
1151 if (hash_expected && !hash_location) { in tcp_v4_inbound_md5_hash()
1156 if (!hash_expected && hash_location) { in tcp_v4_inbound_md5_hash()
1168 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v4_inbound_md5_hash()
Dtcp_output.c429 __u8 *hash_location; /* temporary pointer, overloaded */ member
456 opts->hash_location = (__u8 *)ptr; in tcp_options_write()
999 tp->af_specific->calc_md5_hash(opts.hash_location, in tcp_transmit_skb()
3028 tcp_rsk(req)->af_specific->calc_md5_hash(opts.hash_location, in tcp_make_synack()