Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dtcp.c1762 static skb_frag_t *skb_advance_to_frag(struct sk_buff *skb, u32 offset_skb, in skb_advance_to_frag() argument
1767 if (unlikely(offset_skb >= skb->len)) in skb_advance_to_frag()
1770 offset_skb -= skb_headlen(skb); in skb_advance_to_frag()
1771 if ((int)offset_skb < 0 || skb_has_frag_list(skb)) in skb_advance_to_frag()
1775 while (offset_skb) { in skb_advance_to_frag()
1776 if (skb_frag_size(frag) > offset_skb) { in skb_advance_to_frag()
1777 *offset_frag = offset_skb; in skb_advance_to_frag()
1780 offset_skb -= skb_frag_size(frag); in skb_advance_to_frag()