Lines Matching refs:foc
4101 bool syn, struct tcp_fastopen_cookie *foc, in tcp_parse_fastopen_option() argument
4105 if (!foc || !syn || len < 0 || (len & 1)) in tcp_parse_fastopen_option()
4110 memcpy(foc->val, cookie, len); in tcp_parse_fastopen_option()
4113 foc->len = len; in tcp_parse_fastopen_option()
4114 foc->exp = exp_opt; in tcp_parse_fastopen_option()
4186 struct tcp_fastopen_cookie *foc) in tcp_parse_options() argument
4282 ptr, th->syn, foc, false); in tcp_parse_options()
4294 ptr + 2, th->syn, foc, true); in tcp_parse_options()
6433 struct tcp_fastopen_cookie foc = { .len = -1 }; in tcp_rcv_synsent_state_process() local
6438 tcp_parse_options(sock_net(sk), skb, &tp->rx_opt, 0, &foc); in tcp_rcv_synsent_state_process()
6552 tcp_rcv_fastopen_synack(sk, skb, &foc); in tcp_rcv_synsent_state_process()
7181 struct tcp_fastopen_cookie foc = { .len = -1 }; in tcp_conn_request() local
7236 want_cookie ? NULL : &foc); in tcp_conn_request()
7309 fastopen_sk = tcp_try_fastopen(sk, skb, req, &foc, dst); in tcp_conn_request()
7313 &foc, TCP_SYNACK_FASTOPEN, skb); in tcp_conn_request()
7335 af_ops->send_synack(sk, dst, &fl, req, &foc, in tcp_conn_request()