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.c776 const __u8 *hash_location = NULL; in tcp_v6_inbound_md5_hash() local
789 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
792 if (!hash_expected && !hash_location) in tcp_v6_inbound_md5_hash()
795 if (hash_expected && !hash_location) { in tcp_v6_inbound_md5_hash()
800 if (!hash_expected && hash_location) { in tcp_v6_inbound_md5_hash()
810 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v6_inbound_md5_hash()
1007 const __u8 *hash_location = NULL; in tcp_v6_send_reset() local
1029 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
1038 } else if (hash_location) { in tcp_v6_send_reset()
1068 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v6_send_reset()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c670 const __u8 *hash_location = NULL; in tcp_v4_send_reset() local
711 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_send_reset()
722 } else if (hash_location) { in tcp_v4_send_reset()
754 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v4_send_reset()
1396 const __u8 *hash_location = NULL; in tcp_v4_inbound_md5_hash() local
1411 hash_location = tcp_parse_md5sig_option(th); in tcp_v4_inbound_md5_hash()
1414 if (!hash_expected && !hash_location) in tcp_v4_inbound_md5_hash()
1417 if (hash_expected && !hash_location) { in tcp_v4_inbound_md5_hash()
1422 if (!hash_expected && hash_location) { in tcp_v4_inbound_md5_hash()
1434 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v4_inbound_md5_hash()
Dtcp_output.c442 __u8 *hash_location; /* temporary pointer, overloaded */ member
617 opts->hash_location = (__u8 *)ptr; in tcp_options_write()
1366 tp->af_specific->calc_md5_hash(opts.hash_location, in __tcp_transmit_skb()
3603 tcp_rsk(req)->af_specific->calc_md5_hash(opts.hash_location, in tcp_make_synack()