Lines Matching refs:foc
677 struct tcp_fastopen_cookie *foc = opts->fastopen_cookie; in tcp_options_write() local
681 if (foc->exp) { in tcp_options_write()
682 len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len; in tcp_options_write()
687 len = TCPOLEN_FASTOPEN_BASE + foc->len; in tcp_options_write()
692 memcpy(p, foc->val, foc->len); in tcp_options_write()
694 p[foc->len] = TCPOPT_NOP; in tcp_options_write()
695 p[foc->len + 1] = TCPOPT_NOP; in tcp_options_write()
843 struct tcp_fastopen_cookie *foc, in tcp_synack_options() argument
885 if (foc != NULL && foc->len >= 0) { in tcp_synack_options()
886 u32 need = foc->len; in tcp_synack_options()
888 need += foc->exp ? TCPOLEN_EXP_FASTOPEN_BASE : in tcp_synack_options()
893 opts->fastopen_cookie = foc; in tcp_synack_options()
3525 struct tcp_fastopen_cookie *foc, in tcp_make_synack() argument
3589 foc, synack_type, in tcp_make_synack()