Lines Matching refs:foc
688 struct tcp_fastopen_cookie *foc = opts->fastopen_cookie; in tcp_options_write() local
692 if (foc->exp) { in tcp_options_write()
693 len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len; in tcp_options_write()
698 len = TCPOLEN_FASTOPEN_BASE + foc->len; in tcp_options_write()
703 memcpy(p, foc->val, foc->len); in tcp_options_write()
705 p[foc->len] = TCPOPT_NOP; in tcp_options_write()
706 p[foc->len + 1] = TCPOPT_NOP; in tcp_options_write()
854 struct tcp_fastopen_cookie *foc, in tcp_synack_options() argument
896 if (foc != NULL && foc->len >= 0) { in tcp_synack_options()
897 u32 need = foc->len; in tcp_synack_options()
899 need += foc->exp ? TCPOLEN_EXP_FASTOPEN_BASE : in tcp_synack_options()
904 opts->fastopen_cookie = foc; in tcp_synack_options()
3630 struct tcp_fastopen_cookie *foc, in tcp_make_synack() argument
3695 foc, synack_type, in tcp_make_synack()