Searched refs:cookie_hash (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/net/ipv6/ |
D | syncookies.c | 40 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-v5.10/net/ipv4/ |
D | syncookies.c | 48 static u32 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, in cookie_hash() function 105 return (cookie_hash(saddr, daddr, sport, dport, 0, 0) + in secure_tcp_syn_cookie() 107 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie() 126 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie() 134 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()
|