Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv6/
Dtcp_ipv6.c692 const __u8 *hash_location = NULL; in tcp_v6_inbound_md5_hash() local
700 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
703 if (!hash_expected && !hash_location) in tcp_v6_inbound_md5_hash()
706 if (hash_expected && !hash_location) { in tcp_v6_inbound_md5_hash()
711 if (!hash_expected && hash_location) { in tcp_v6_inbound_md5_hash()
721 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v6_inbound_md5_hash()
907 const __u8 *hash_location = NULL; in tcp_v6_send_reset() local
926 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
929 } else if (hash_location) { in tcp_v6_send_reset()
952 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v6_send_reset()
/Linux-v4.19/net/ipv4/
Dtcp_ipv4.c661 const __u8 *hash_location = NULL; in tcp_v4_send_reset() local
701 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_send_reset()
705 } else if (hash_location) { in tcp_v4_send_reset()
729 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v4_send_reset()
1287 const __u8 *hash_location = NULL; in tcp_v4_inbound_md5_hash() local
1296 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_inbound_md5_hash()
1299 if (!hash_expected && !hash_location) in tcp_v4_inbound_md5_hash()
1302 if (hash_expected && !hash_location) { in tcp_v4_inbound_md5_hash()
1307 if (!hash_expected && hash_location) { in tcp_v4_inbound_md5_hash()
1319 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v4_inbound_md5_hash()
Dtcp_output.c440 __u8 *hash_location; /* temporary pointer, overloaded */ member
467 opts->hash_location = (__u8 *)ptr; in tcp_options_write()
1126 tp->af_specific->calc_md5_hash(opts.hash_location, in __tcp_transmit_skb()
3246 tcp_rsk(req)->af_specific->calc_md5_hash(opts.hash_location, in tcp_make_synack()