Lines Matching refs:foc
3628 bool syn, struct tcp_fastopen_cookie *foc, in tcp_parse_fastopen_option() argument
3632 if (!foc || !syn || len < 0 || (len & 1)) in tcp_parse_fastopen_option()
3637 memcpy(foc->val, cookie, len); in tcp_parse_fastopen_option()
3640 foc->len = len; in tcp_parse_fastopen_option()
3641 foc->exp = exp_opt; in tcp_parse_fastopen_option()
3650 struct tcp_fastopen_cookie *foc) in tcp_parse_options() argument
3736 ptr, th->syn, foc, false); in tcp_parse_options()
3748 ptr + 2, th->syn, foc, true); in tcp_parse_options()
5474 struct tcp_fastopen_cookie foc = { .len = -1 }; in tcp_rcv_synsent_state_process() local
5477 tcp_parse_options(skb, &tp->rx_opt, 0, &foc); in tcp_rcv_synsent_state_process()
5579 tcp_rcv_fastopen_synack(sk, skb, &foc)) in tcp_rcv_synsent_state_process()
6098 struct tcp_fastopen_cookie foc = { .len = -1 }; in tcp_conn_request() local
6133 tcp_parse_options(skb, &tmp_opt, 0, want_cookie ? NULL : &foc); in tcp_conn_request()
6209 tcp_try_fastopen(sk, skb, req, &foc, dst); in tcp_conn_request()
6211 skb_get_queue_mapping(skb), &foc); in tcp_conn_request()