Home
last modified time | relevance | path

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

/Linux-v6.6/net/ipv6/
Dsyncookies.c40 static u32 cookie_hash(const struct in6_addr *saddr, in cookie_hash() function
69 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie()
71 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie()
81 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie()
88 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()
/Linux-v6.6/net/ipv4/
Dsyncookies.c46 static u32 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, in cookie_hash() function
103 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie()
105 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie()
124 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie()
132 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()