Home
last modified time | relevance | path

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

/net/ipv6/
Dsyncookies.c47 static u32 cookie_hash(const struct in6_addr *saddr, const struct in6_addr *daddr, in cookie_hash() function
77 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie()
79 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie()
89 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie()
96 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()
/net/ipv4/
Dsyncookies.c56 static u32 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, in cookie_hash() function
122 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie()
124 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie()
143 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie()
151 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()