Lines Matching defs:cookie
22 /* TCP Timestamp: 6 lowest bits of timestamp sent in the cookie SYN-ACK
29 * When we receive a valid cookie-ACK, we look at the echoed tsval (if
108 * The count value used to generate the cookie must be less than
112 static __u32 check_tcp_syn_cookie(__u32 cookie, __be32 saddr, __be32 daddr,
117 /* Strip away the layers from the cookie */
118 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq;
121 diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS);
125 return (cookie -
151 * rounded down to the value encoded in the cookie.
183 u32 cookie)
186 __u32 mssind = check_tcp_syn_cookie(cookie, iph->saddr, iph->daddr,
327 __u32 cookie = ntohl(th->ack_seq) - 1;
343 mss = __cookie_v4_check(ip_hdr(skb), th, cookie);
351 /* check for timestamp cookie support */
374 treq->snt_isn = cookie;