Lines Matching refs:foc
529 struct tcp_fastopen_cookie *foc = opts->fastopen_cookie; in tcp_options_write() local
533 if (foc->exp) { in tcp_options_write()
534 len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len; in tcp_options_write()
539 len = TCPOLEN_FASTOPEN_BASE + foc->len; in tcp_options_write()
544 memcpy(p, foc->val, foc->len); in tcp_options_write()
546 p[foc->len] = TCPOPT_NOP; in tcp_options_write()
547 p[foc->len + 1] = TCPOPT_NOP; in tcp_options_write()
665 struct tcp_fastopen_cookie *foc) in tcp_synack_options() argument
704 if (foc != NULL && foc->len >= 0) { in tcp_synack_options()
705 u32 need = foc->len; in tcp_synack_options()
707 need += foc->exp ? TCPOLEN_EXP_FASTOPEN_BASE : in tcp_synack_options()
712 opts->fastopen_cookie = foc; in tcp_synack_options()
3164 struct tcp_fastopen_cookie *foc, in tcp_make_synack() argument
3219 foc) + sizeof(*th); in tcp_make_synack()