Lines Matching defs:cookie
3980 static void tcp_parse_fastopen_option(int len, const unsigned char *cookie,
3990 memcpy(foc->val, cookie, len);
6134 struct tcp_fastopen_cookie *cookie)
6152 /* Ignore an unsolicited cookie */
6153 cookie->len = -1;
6155 /* SYN timed out and the SYN-ACK neither has a cookie nor
6160 syn_drop = (cookie->len < 0 && data);
6161 } else if (cookie->len < 0 && !tp->syn_data) {
6162 /* We requested a cookie but didn't get it. If we did not use
6169 tcp_fastopen_cache_set(sk, mss, cookie, syn_drop, try_exp);
6934 /* If a SYN cookie is required and supported, returns a clamped MSS value to be
6935 * used for SYN cookie generation.