Home
last modified time | relevance | path

Searched refs:genhash (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/net/ipv6/
Dtcp_ipv6.c763 int genhash, l3index; in tcp_v6_inbound_md5_hash() local
789 genhash = tcp_v6_md5_hash_skb(newhash, in tcp_v6_inbound_md5_hash()
793 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v6_inbound_md5_hash()
796 genhash ? "failed" : "mismatch", in tcp_v6_inbound_md5_hash()
992 int genhash; in tcp_v6_send_reset() local
1050 genhash = tcp_v6_md5_hash_skb(newhash, key, NULL, skb); in tcp_v6_send_reset()
1051 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v6_send_reset()
/Linux-v5.10/net/ipv4/
Dtcp_ipv4.c672 int genhash; in tcp_v4_send_reset() local
753 genhash = tcp_v4_md5_hash_skb(newhash, key, NULL, skb); in tcp_v4_send_reset()
754 if (genhash || memcmp(hash_location, newhash, 16) != 0) in tcp_v4_send_reset()
1389 int genhash, l3index; in tcp_v4_inbound_md5_hash() local
1417 genhash = tcp_v4_md5_hash_skb(newhash, in tcp_v4_inbound_md5_hash()
1421 if (genhash || memcmp(hash_location, newhash, 16) != 0) { in tcp_v4_inbound_md5_hash()
1426 genhash ? " tcp_v4_calc_md5_hash failed" in tcp_v4_inbound_md5_hash()