Home
last modified time | relevance | path

Searched refs:mptcp_data_frag (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.h187 struct mptcp_data_frag { struct
243 static inline struct mptcp_data_frag *mptcp_rtx_tail(const struct sock *sk) in mptcp_rtx_tail()
250 return list_last_entry(&msk->rtx_queue, struct mptcp_data_frag, list); in mptcp_rtx_tail()
253 static inline struct mptcp_data_frag *mptcp_rtx_head(const struct sock *sk) in mptcp_rtx_head()
257 return list_first_entry_or_null(&msk->rtx_queue, struct mptcp_data_frag, list); in mptcp_rtx_head()
Dprotocol.c770 const struct mptcp_data_frag *df) in mptcp_frag_can_collapse_to()
783 static void dfrag_clear(struct sock *sk, struct mptcp_data_frag *dfrag) in dfrag_clear()
809 struct mptcp_data_frag *dtmp, *dfrag; in mptcp_clean_una()
865 if (likely(skb_page_frag_refill(32U + sizeof(struct mptcp_data_frag), in mptcp_page_frag_refill()
874 static struct mptcp_data_frag *
879 struct mptcp_data_frag *dfrag; in mptcp_carve_data_frag()
881 dfrag = (struct mptcp_data_frag *)(page_to_virt(pfrag->page) + offset); in mptcp_carve_data_frag()
884 dfrag->overhead = offset - orig_offset + sizeof(struct mptcp_data_frag); in mptcp_carve_data_frag()
885 dfrag->offset = offset + sizeof(struct mptcp_data_frag); in mptcp_carve_data_frag()
892 struct msghdr *msg, struct mptcp_data_frag *dfrag, in mptcp_sendmsg_frag()
[all …]