Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c779 const __u8 *hash_location = NULL; in tcp_v6_inbound_md5_hash() local
792 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
795 if (!hash_expected && !hash_location) in tcp_v6_inbound_md5_hash()
798 if (hash_expected && !hash_location) { in tcp_v6_inbound_md5_hash()
803 if (!hash_expected && hash_location) { in tcp_v6_inbound_md5_hash()
813 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v6_inbound_md5_hash()
1013 const __u8 *hash_location = NULL; in tcp_v6_send_reset() local
1035 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
1044 } else if (hash_location) { in tcp_v6_send_reset()
1074 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v6_send_reset()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c674 const __u8 *hash_location = NULL; in tcp_v4_send_reset() local
715 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_send_reset()
726 } else if (hash_location) { in tcp_v4_send_reset()
758 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v4_send_reset()
1407 const __u8 *hash_location = NULL; in tcp_v4_inbound_md5_hash() local
1422 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_inbound_md5_hash()
1425 if (!hash_expected && !hash_location) in tcp_v4_inbound_md5_hash()
1428 if (hash_expected && !hash_location) { in tcp_v4_inbound_md5_hash()
1433 if (!hash_expected && hash_location) { in tcp_v4_inbound_md5_hash()
1445 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v4_inbound_md5_hash()
Dtcp_output.c440 __u8 *hash_location; /* temporary pointer, overloaded */ member
615 opts->hash_location = (__u8 *)ptr; in tcp_options_write()
1364 tp->af_specific->calc_md5_hash(opts.hash_location, in __tcp_transmit_skb()
3617 tcp_rsk(req)->af_specific->calc_md5_hash(opts.hash_location, in tcp_make_synack()