Lines Matching refs:mpext
884 const struct mptcp_ext *mpext) in mptcp_skb_can_collapse_to() argument
892 return mpext && mpext->data_seq + mpext->data_len == write_seq && in mptcp_skb_can_collapse_to()
893 !mpext->frozen; in mptcp_skb_can_collapse_to()
1207 struct skb_ext *mpext = __skb_ext_alloc(gfp); in __mptcp_add_ext() local
1209 if (!mpext) in __mptcp_add_ext()
1211 __skb_ext_set(skb, SKB_EXT_MPTCP, mpext); in __mptcp_add_ext()
1269 struct mptcp_ext *mpext = mptcp_get_ext(skb); in mptcp_update_data_checksum() local
1270 __wsum csum = ~csum_unfold(mpext->csum); in mptcp_update_data_checksum()
1273 mpext->csum = csum_fold(csum_block_add(csum, skb_checksum(skb, offset, added, 0), offset)); in mptcp_update_data_checksum()
1284 struct mptcp_ext *mpext = NULL; in mptcp_sendmsg_frag() local
1310 mpext = skb_ext_find(skb, SKB_EXT_MPTCP); in mptcp_sendmsg_frag()
1311 if (!mptcp_skb_can_collapse_to(data_seq, skb, mpext)) { in mptcp_sendmsg_frag()
1332 mpext = skb_ext_find(skb, SKB_EXT_MPTCP); in mptcp_sendmsg_frag()
1376 mpext->data_len += copy; in mptcp_sendmsg_frag()
1380 memset(mpext, 0, sizeof(*mpext)); in mptcp_sendmsg_frag()
1381 mpext->data_seq = data_seq; in mptcp_sendmsg_frag()
1382 mpext->subflow_seq = mptcp_subflow_ctx(ssk)->rel_write_seq; in mptcp_sendmsg_frag()
1383 mpext->data_len = copy; in mptcp_sendmsg_frag()
1384 mpext->use_map = 1; in mptcp_sendmsg_frag()
1385 mpext->dsn64 = 1; in mptcp_sendmsg_frag()
1388 mpext->data_seq, mpext->subflow_seq, mpext->data_len, in mptcp_sendmsg_frag()
1389 mpext->dsn64); in mptcp_sendmsg_frag()
1393 mpext->frozen = 1; in mptcp_sendmsg_frag()