Lines Matching refs:foc
3981 bool syn, struct tcp_fastopen_cookie *foc,
3985 if (!foc || !syn || len < 0 || (len & 1))
3990 memcpy(foc->val, cookie, len);
3993 foc->len = len;
3994 foc->exp = exp_opt;
4066 struct tcp_fastopen_cookie *foc)
4155 ptr, th->syn, foc, false);
4167 ptr + 2, th->syn, foc, true);
6226 struct tcp_fastopen_cookie foc = { .len = -1 };
6231 tcp_parse_options(sock_net(sk), skb, &tp->rx_opt, 0, &foc);
6342 tcp_rcv_fastopen_synack(sk, skb, &foc);
6968 struct tcp_fastopen_cookie foc = { .len = -1 };
7012 want_cookie ? NULL : &foc);
7072 fastopen_sk = tcp_try_fastopen(sk, skb, req, &foc, dst);
7076 &foc, TCP_SYNACK_FASTOPEN, skb);
7093 af_ops->send_synack(sk, dst, &fl, req, &foc,