Searched refs:mpext (Results 1 – 3 of 3) sorted by relevance
/net/mptcp/ |
D | options.c | 443 struct mptcp_ext *mpext; in mptcp_established_options_mp() local 463 mpext = mptcp_get_ext(skb); in mptcp_established_options_mp() 464 data_len = mpext ? mpext->data_len : 0; in mptcp_established_options_mp() 486 opts->data_seq = mpext->data_seq; in mptcp_established_options_mp() 487 opts->subflow_seq = mpext->subflow_seq; in mptcp_established_options_mp() 488 opts->csum = mpext->csum; in mptcp_established_options_mp() 558 struct mptcp_ext *mpext; in mptcp_established_options_dss() local 564 mpext = skb ? mptcp_get_ext(skb) : NULL; in mptcp_established_options_dss() 566 if (!skb || (mpext && mpext->use_map) || snd_data_fin_enable) { in mptcp_established_options_dss() 569 if (mpext) { in mptcp_established_options_dss() [all …]
|
D | subflow.c | 123 struct mptcp_ext *mpext = skb_ext_add(skb, SKB_EXT_MPTCP); in subflow_add_reset_reason() local 125 if (mpext) { in subflow_add_reset_reason() 126 memset(mpext, 0, sizeof(*mpext)); in subflow_add_reset_reason() 127 mpext->reset_reason = reason; in subflow_add_reset_reason() 956 struct mptcp_ext *mpext; in get_mapping_status() local 968 mpext = mptcp_get_ext(skb); in get_mapping_status() 969 if (!mpext || !mpext->use_map) { in get_mapping_status() 990 trace_get_mapping_status(mpext); in get_mapping_status() 992 data_len = mpext->data_len; in get_mapping_status() 998 if (mpext->data_fin == 1) { in get_mapping_status() [all …]
|
D | protocol.c | 924 const struct mptcp_ext *mpext) in mptcp_skb_can_collapse_to() argument 932 return mpext && mpext->data_seq + mpext->data_len == write_seq && in mptcp_skb_can_collapse_to() 933 !mpext->frozen; in mptcp_skb_can_collapse_to() 1247 struct skb_ext *mpext = __skb_ext_alloc(gfp); in __mptcp_add_ext() local 1249 if (!mpext) in __mptcp_add_ext() 1251 __skb_ext_set(skb, SKB_EXT_MPTCP, mpext); in __mptcp_add_ext() 1309 struct mptcp_ext *mpext = mptcp_get_ext(skb); in mptcp_update_data_checksum() local 1310 __wsum csum = ~csum_unfold(mpext->csum); in mptcp_update_data_checksum() 1313 mpext->csum = csum_fold(csum_block_add(csum, skb_checksum(skb, offset, added, 0), offset)); in mptcp_update_data_checksum() 1324 struct mptcp_ext *mpext = NULL; in mptcp_sendmsg_frag() local [all …]
|