Lines Matching refs:mpext
127 struct mptcp_ext *mpext = skb_ext_add(skb, SKB_EXT_MPTCP); in subflow_add_reset_reason() local
129 if (mpext) { in subflow_add_reset_reason()
130 memset(mpext, 0, sizeof(*mpext)); in subflow_add_reset_reason()
131 mpext->reset_reason = reason; in subflow_add_reset_reason()
307 const struct mptcp_ext *mpext = mptcp_get_ext(skb); in mptcp_get_rst_reason() local
309 if (!mpext) in mptcp_get_rst_reason()
312 return sk_rst_convert_mptcp_reason(mpext->reset_reason); in mptcp_get_rst_reason()
1103 struct mptcp_ext *mpext; in get_mapping_status() local
1115 mpext = mptcp_get_ext(skb); in get_mapping_status()
1116 if (!mpext || !mpext->use_map) { in get_mapping_status()
1137 trace_get_mapping_status(mpext); in get_mapping_status()
1139 data_len = mpext->data_len; in get_mapping_status()
1147 if (mpext->data_fin == 1) { in get_mapping_status()
1151 bool updated = mptcp_update_rcv_data_fin(msk, mpext->data_seq, in get_mapping_status()
1152 mpext->dsn64); in get_mapping_status()
1153 pr_debug("DATA_FIN with no payload seq=%llu\n", mpext->data_seq); in get_mapping_status()
1170 data_fin_seq = mpext->data_seq + data_len - 1; in get_mapping_status()
1175 if (!mpext->dsn64) in get_mapping_status()
1178 mptcp_update_rcv_data_fin(msk, data_fin_seq, mpext->dsn64); in get_mapping_status()
1180 data_fin_seq, mpext->dsn64); in get_mapping_status()
1186 map_seq = mptcp_expand_seq(READ_ONCE(msk->ack_seq), mpext->data_seq, mpext->dsn64); in get_mapping_status()
1187 WRITE_ONCE(mptcp_sk(subflow->conn)->use_64bit_ack, !!mpext->dsn64); in get_mapping_status()
1192 subflow->map_subflow_seq == mpext->subflow_seq && in get_mapping_status()
1194 subflow->map_csum_reqd == mpext->csum_reqd) { in get_mapping_status()
1212 subflow->map_subflow_seq = mpext->subflow_seq; in get_mapping_status()
1215 subflow->map_data_fin = mpext->data_fin; in get_mapping_status()
1216 subflow->mpc_map = mpext->mpc_map; in get_mapping_status()
1217 subflow->map_csum_reqd = mpext->csum_reqd; in get_mapping_status()
1219 subflow->map_data_csum = csum_unfold(mpext->csum); in get_mapping_status()