Lines Matching refs:opt_size

657 	unsigned int opt_size = *size;  in mptcp_established_options_add_addr()  local
666 !mptcp_pm_add_addr_signal(msk, skb, opt_size, remaining, &opts->addr, in mptcp_established_options_add_addr()
671 remaining += opt_size; in mptcp_established_options_add_addr()
687 *size -= opt_size; in mptcp_established_options_add_addr()
831 unsigned int opt_size = 0; in mptcp_established_options() local
841 if (mptcp_established_options_fastclose(sk, &opt_size, remaining, opts) || in mptcp_established_options()
842 mptcp_established_options_mp_fail(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
843 *size += opt_size; in mptcp_established_options()
844 remaining -= opt_size; in mptcp_established_options()
847 if (mptcp_established_options_rst(sk, skb, &opt_size, remaining, opts)) { in mptcp_established_options()
848 *size += opt_size; in mptcp_established_options()
849 remaining -= opt_size; in mptcp_established_options()
855 if (mptcp_established_options_mp(sk, skb, snd_data_fin, &opt_size, opts)) in mptcp_established_options()
857 else if (mptcp_established_options_dss(sk, skb, snd_data_fin, &opt_size, opts)) { in mptcp_established_options()
862 remaining - opt_size, opts)) { in mptcp_established_options()
863 *size += opt_size + mp_fail_size; in mptcp_established_options()
864 remaining -= opt_size - mp_fail_size; in mptcp_established_options()
872 if (WARN_ON_ONCE(opt_size > remaining)) in mptcp_established_options()
875 *size += opt_size; in mptcp_established_options()
876 remaining -= opt_size; in mptcp_established_options()
877 if (mptcp_established_options_add_addr(sk, skb, &opt_size, remaining, opts)) { in mptcp_established_options()
878 *size += opt_size; in mptcp_established_options()
879 remaining -= opt_size; in mptcp_established_options()
881 } else if (mptcp_established_options_rm_addr(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
882 *size += opt_size; in mptcp_established_options()
883 remaining -= opt_size; in mptcp_established_options()
887 if (mptcp_established_options_mp_prio(sk, &opt_size, remaining, opts)) { in mptcp_established_options()
888 *size += opt_size; in mptcp_established_options()
889 remaining -= opt_size; in mptcp_established_options()