Searched refs:mpext (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/include/trace/events/ |
D | mptcp.h | 67 TP_PROTO(struct mptcp_ext *mpext), 69 TP_ARGS(mpext), 91 __entry->data_ack = mpext->ack64 ? mpext->data_ack : mpext->data_ack32; 92 __entry->data_seq = mpext->data_seq; 93 __entry->subflow_seq = mpext->subflow_seq; 94 __entry->data_len = mpext->data_len; 95 __entry->csum = (__force u16)mpext->csum; 96 __entry->use_map = mpext->use_map; 97 __entry->dsn64 = mpext->dsn64; 98 __entry->data_fin = mpext->data_fin; [all …]
|
/linux-6.1.9/net/mptcp/ |
D | options.c | 445 struct mptcp_ext *mpext; in mptcp_established_options_mp() local 465 mpext = mptcp_get_ext(skb); in mptcp_established_options_mp() 466 data_len = mpext ? mpext->data_len : 0; in mptcp_established_options_mp() 488 opts->data_seq = mpext->data_seq; in mptcp_established_options_mp() 489 opts->subflow_seq = mpext->subflow_seq; in mptcp_established_options_mp() 490 opts->csum = mpext->csum; in mptcp_established_options_mp() 560 struct mptcp_ext *mpext; in mptcp_established_options_dss() local 566 mpext = skb ? mptcp_get_ext(skb) : NULL; in mptcp_established_options_dss() 568 if (!skb || (mpext && mpext->use_map) || snd_data_fin_enable) { in mptcp_established_options_dss() 571 if (mpext) { in mptcp_established_options_dss() [all …]
|
D | subflow.c | 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() [all …]
|
D | protocol.c | 949 const struct mptcp_ext *mpext) in mptcp_skb_can_collapse_to() argument 957 return mpext && mpext->data_seq + mpext->data_len == write_seq && in mptcp_skb_can_collapse_to() 958 !mpext->frozen; in mptcp_skb_can_collapse_to() 1148 struct skb_ext *mpext = __skb_ext_alloc(gfp); in __mptcp_add_ext() local 1150 if (!mpext) in __mptcp_add_ext() 1152 __skb_ext_set(skb, SKB_EXT_MPTCP, mpext); in __mptcp_add_ext() 1204 struct mptcp_ext *mpext = mptcp_get_ext(skb); in mptcp_update_data_checksum() local 1205 __wsum csum = ~csum_unfold(mpext->csum); in mptcp_update_data_checksum() 1208 mpext->csum = csum_fold(csum_block_add(csum, skb_checksum(skb, offset, added, 0), offset)); in mptcp_update_data_checksum() 1213 struct mptcp_ext *mpext) in mptcp_update_infinite_map() argument [all …]
|
D | protocol.h | 977 struct mptcp_ext *mpext; in mptcp_check_infinite_map() local 979 mpext = skb ? mptcp_get_ext(skb) : NULL; in mptcp_check_infinite_map() 980 if (mpext && mpext->infinite_map) in mptcp_check_infinite_map()
|