Lines Matching refs:foc
3947 bool syn, struct tcp_fastopen_cookie *foc,
3951 if (!foc || !syn || len < 0 || (len & 1))
3956 memcpy(foc->val, cookie, len);
3959 foc->len = len;
3960 foc->exp = exp_opt;
4031 struct tcp_fastopen_cookie *foc)
4121 ptr, th->syn, foc, false);
4133 ptr + 2, th->syn, foc, true);
6133 struct tcp_fastopen_cookie foc = { .len = -1 };
6137 tcp_parse_options(sock_net(sk), skb, &tp->rx_opt, 0, &foc);
6245 tcp_rcv_fastopen_synack(sk, skb, &foc);
6848 struct tcp_fastopen_cookie foc = { .len = -1 };
6892 want_cookie ? NULL : &foc);
6957 fastopen_sk = tcp_try_fastopen(sk, skb, req, &foc, dst);
6961 &foc, TCP_SYNACK_FASTOPEN, skb);
6977 af_ops->send_synack(sk, dst, &fl, req, &foc,