Lines Matching refs:foc
734 struct tcp_fastopen_cookie *foc = opts->fastopen_cookie; in tcp_options_write() local
738 if (foc->exp) { in tcp_options_write()
739 len = TCPOLEN_EXP_FASTOPEN_BASE + foc->len; in tcp_options_write()
744 len = TCPOLEN_FASTOPEN_BASE + foc->len; in tcp_options_write()
749 memcpy(p, foc->val, foc->len); in tcp_options_write()
751 p[foc->len] = TCPOPT_NOP; in tcp_options_write()
752 p[foc->len + 1] = TCPOPT_NOP; in tcp_options_write()
902 struct tcp_fastopen_cookie *foc, in tcp_synack_options() argument
947 if (foc != NULL && foc->len >= 0) { in tcp_synack_options()
948 u32 need = foc->len; in tcp_synack_options()
950 need += foc->exp ? TCPOLEN_EXP_FASTOPEN_BASE : in tcp_synack_options()
955 opts->fastopen_cookie = foc; in tcp_synack_options()
3707 struct tcp_fastopen_cookie *foc, in tcp_make_synack() argument
3803 &key, foc, synack_type, syn_skb) in tcp_make_synack()