Lines Matching refs:mpext

125 	struct mptcp_ext *mpext = skb_ext_add(skb, SKB_EXT_MPTCP);  in subflow_add_reset_reason()  local
127 if (mpext) { in subflow_add_reset_reason()
128 memset(mpext, 0, sizeof(*mpext)); in subflow_add_reset_reason()
129 mpext->reset_reason = reason; in subflow_add_reset_reason()
984 struct mptcp_ext *mpext; in get_mapping_status() local
996 mpext = mptcp_get_ext(skb); in get_mapping_status()
997 if (!mpext || !mpext->use_map) { in get_mapping_status()
1018 trace_get_mapping_status(mpext); in get_mapping_status()
1020 data_len = mpext->data_len; in get_mapping_status()
1028 if (mpext->data_fin == 1) { in get_mapping_status()
1030 bool updated = mptcp_update_rcv_data_fin(msk, mpext->data_seq, in get_mapping_status()
1031 mpext->dsn64); in get_mapping_status()
1032 pr_debug("DATA_FIN with no payload seq=%llu", mpext->data_seq); in get_mapping_status()
1048 u64 data_fin_seq = mpext->data_seq + data_len - 1; in get_mapping_status()
1053 if (!mpext->dsn64) in get_mapping_status()
1056 mptcp_update_rcv_data_fin(msk, data_fin_seq, mpext->dsn64); in get_mapping_status()
1058 data_fin_seq, mpext->dsn64); in get_mapping_status()
1065 map_seq = mptcp_expand_seq(READ_ONCE(msk->ack_seq), mpext->data_seq, mpext->dsn64); in get_mapping_status()
1066 WRITE_ONCE(mptcp_sk(subflow->conn)->use_64bit_ack, !!mpext->dsn64); in get_mapping_status()
1071 subflow->map_subflow_seq == mpext->subflow_seq && in get_mapping_status()
1073 subflow->map_csum_reqd == mpext->csum_reqd) { in get_mapping_status()
1091 subflow->map_subflow_seq = mpext->subflow_seq; in get_mapping_status()
1094 subflow->map_data_fin = mpext->data_fin; in get_mapping_status()
1095 subflow->mpc_map = mpext->mpc_map; in get_mapping_status()
1096 subflow->map_csum_reqd = mpext->csum_reqd; in get_mapping_status()
1098 subflow->map_data_csum = csum_unfold(mpext->csum); in get_mapping_status()