Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ipv6/
H A 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()
/OK3568_Linux_fs/kernel/net/ipv4/
H A 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()
H A 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()