Lines Matching defs:foc
4180 bool syn, struct tcp_fastopen_cookie *foc,
4184 if (!foc || !syn || len < 0 || (len & 1))
4189 memcpy(foc->val, cookie, len);
4192 foc->len = len;
4193 foc->exp = exp_opt;
4264 struct tcp_fastopen_cookie *foc)
4361 ptr, th->syn, foc, false);
4379 ptr + 2, th->syn, foc, true);
6610 struct tcp_fastopen_cookie foc = { .len = -1 };
6615 tcp_parse_options(sock_net(sk), skb, &tp->rx_opt, 0, &foc);
6730 tcp_rcv_fastopen_synack(sk, skb, &foc);
7377 struct tcp_fastopen_cookie foc = { .len = -1 };
7432 want_cookie ? NULL : &foc);
7505 fastopen_sk = tcp_try_fastopen(sk, skb, req, &foc, dst);
7509 &foc, TCP_SYNACK_FASTOPEN, skb);
7532 af_ops->send_synack(sk, dst, &fl, req, &foc,