Home
last modified time | relevance | path

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

/linux/net/mptcp/
H A Dprotocol.h253 struct mptcp_data_frag { struct
328 struct mptcp_data_frag *first_pending;
405 static inline struct mptcp_data_frag *mptcp_send_head(const struct sock *sk) in mptcp_send_head()
412 static inline struct mptcp_data_frag *mptcp_send_next(struct sock *sk) in mptcp_send_next()
415 struct mptcp_data_frag *cur; in mptcp_send_next()
422 static inline struct mptcp_data_frag *mptcp_pending_tail(const struct sock *sk) in mptcp_pending_tail()
432 return list_last_entry(&msk->rtx_queue, struct mptcp_data_frag, list); in mptcp_pending_tail()
435 static inline struct mptcp_data_frag *mptcp_rtx_head(struct sock *sk) in mptcp_rtx_head()
442 return list_first_entry_or_null(&msk->rtx_queue, struct mptcp_data_frag, list); in mptcp_rtx_head()
H A Dprotocol.c988 const struct mptcp_data_frag *df) in mptcp_frag_can_collapse_to()
1002 static void dfrag_clear(struct sock *sk, struct mptcp_data_frag *dfrag) in dfrag_clear()
1015 struct mptcp_data_frag *dtmp, *dfrag; in __mptcp_clean_una()
1109 if (likely(skb_page_frag_refill(32U + sizeof(struct mptcp_data_frag), in mptcp_page_frag_refill()
1117 static struct mptcp_data_frag *
1122 struct mptcp_data_frag *dfrag; in mptcp_carve_data_frag()
1124 dfrag = (struct mptcp_data_frag *)(page_to_virt(pfrag->page) + offset); in mptcp_carve_data_frag()
1127 dfrag->overhead = offset - orig_offset + sizeof(struct mptcp_data_frag); in mptcp_carve_data_frag()
1128 dfrag->offset = offset + sizeof(struct mptcp_data_frag); in mptcp_carve_data_frag()
1248 struct mptcp_data_frag *dfrag, in mptcp_sendmsg_frag()
[all …]