Home
last modified time | relevance | path

Searched refs:mp_opt (Results 1 – 4 of 4) sorted by relevance

/linux/net/mptcp/
H A Doptions.c25 struct mptcp_options_received *mp_opt) in mptcp_parse_option() argument
55 if ((mp_opt->suboptions & ~OPTION_MPTCP_RM_ADDR) != 0) in mptcp_parse_option()
57 } else if (mp_opt->suboptions != 0) { in mptcp_parse_option()
97 mp_opt->suboptions |= OPTION_MPTCP_CSUMREQD; in mptcp_parse_option()
99 mp_opt->deny_join_id0 = !!(flags & MPTCP_CAP_DENY_JOIN_ID0); in mptcp_parse_option()
101 mp_opt->suboptions |= subopt; in mptcp_parse_option()
103 mp_opt->sndr_key = get_unaligned_be64(ptr); in mptcp_parse_option()
107 mp_opt->rcvr_key = get_unaligned_be64(ptr); in mptcp_parse_option()
116 mp_opt->suboptions |= OPTION_MPTCP_DSS; in mptcp_parse_option()
117 mp_opt->use_map = 1; in mptcp_parse_option()
[all …]
H A Dsubflow.c154 struct mptcp_options_received mp_opt; in subflow_check_req() local
170 mptcp_get_options(skb, &mp_opt); in subflow_check_req()
172 opt_mp_capable = !!(mp_opt.suboptions & OPTION_MPTCP_MPC_SYN); in subflow_check_req()
173 opt_mp_join = !!(mp_opt.suboptions & OPTION_MPTCP_MPJ_SYN); in subflow_check_req()
182 if (mp_opt.backup) in subflow_check_req()
222 subflow_req->backup = mp_opt.backup; in subflow_check_req()
223 subflow_req->remote_id = mp_opt.join_id; in subflow_check_req()
224 subflow_req->token = mp_opt.token; in subflow_check_req()
225 subflow_req->remote_nonce = mp_opt.nonce; in subflow_check_req()
271 struct mptcp_options_received mp_opt; in mptcp_subflow_init_cookie_req() local
[all …]
H A Dprotocol.h815 const struct mptcp_options_received *mp_opt);
924 const struct mptcp_options_received *mp_opt,
928 struct mptcp_options_received *mp_opt);
H A Dprotocol.c3697 const struct mptcp_options_received *mp_opt, in mptcp_sk_clone_init() argument
3728 if (mp_opt->suboptions & OPTION_MPTCP_CSUMREQD) in mptcp_sk_clone_init()
3768 if (mp_opt->suboptions & OPTION_MPTCP_MPC_ACK) in mptcp_sk_clone_init()
3769 __mptcp_subflow_fully_established(msk, subflow, mp_opt); in mptcp_sk_clone_init()