Home
last modified time | relevance | path

Searched refs:mpext (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/include/trace/events/
Dmptcp.h67 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-v6.6/net/mptcp/
Doptions.c449 struct mptcp_ext *mpext; in mptcp_established_options_mp() local
469 mpext = mptcp_get_ext(skb); in mptcp_established_options_mp()
470 data_len = mpext ? mpext->data_len : 0; in mptcp_established_options_mp()
492 opts->data_seq = mpext->data_seq; in mptcp_established_options_mp()
493 opts->subflow_seq = mpext->subflow_seq; in mptcp_established_options_mp()
494 opts->csum = mpext->csum; in mptcp_established_options_mp()
563 struct mptcp_ext *mpext; in mptcp_established_options_dss() local
569 mpext = skb ? mptcp_get_ext(skb) : NULL; in mptcp_established_options_dss()
571 if (!skb || (mpext && mpext->use_map) || snd_data_fin_enable) { in mptcp_established_options_dss()
574 if (mpext) { in mptcp_established_options_dss()
[all …]
Dsubflow.c126 struct mptcp_ext *mpext = skb_ext_add(skb, SKB_EXT_MPTCP); in subflow_add_reset_reason() local
128 if (mpext) { in subflow_add_reset_reason()
129 memset(mpext, 0, sizeof(*mpext)); in subflow_add_reset_reason()
130 mpext->reset_reason = reason; in subflow_add_reset_reason()
1023 struct mptcp_ext *mpext; in get_mapping_status() local
1035 mpext = mptcp_get_ext(skb); in get_mapping_status()
1036 if (!mpext || !mpext->use_map) { in get_mapping_status()
1057 trace_get_mapping_status(mpext); in get_mapping_status()
1059 data_len = mpext->data_len; in get_mapping_status()
1067 if (mpext->data_fin == 1) { in get_mapping_status()
[all …]
Dprotocol.c962 const struct mptcp_ext *mpext) in mptcp_skb_can_collapse_to() argument
970 return mpext && mpext->data_seq + mpext->data_len == write_seq && in mptcp_skb_can_collapse_to()
971 !mpext->frozen; in mptcp_skb_can_collapse_to()
1155 struct skb_ext *mpext = __skb_ext_alloc(gfp); in __mptcp_add_ext() local
1157 if (!mpext) in __mptcp_add_ext()
1159 __skb_ext_set(skb, SKB_EXT_MPTCP, mpext); in __mptcp_add_ext()
1211 struct mptcp_ext *mpext = mptcp_get_ext(skb); in mptcp_update_data_checksum() local
1212 __wsum csum = ~csum_unfold(mpext->csum); in mptcp_update_data_checksum()
1215 mpext->csum = csum_fold(csum_block_add(csum, skb_checksum(skb, offset, added, 0), offset)); in mptcp_update_data_checksum()
1220 struct mptcp_ext *mpext) in mptcp_update_infinite_map() argument
[all …]
Dprotocol.h1042 struct mptcp_ext *mpext; in mptcp_check_infinite_map() local
1044 mpext = skb ? mptcp_get_ext(skb) : NULL; in mptcp_check_infinite_map()
1045 if (mpext && mpext->infinite_map) in mptcp_check_infinite_map()