Searched refs:offset_skb (Results 1 – 1 of 1) sorted by relevance
1774 static skb_frag_t *skb_advance_to_frag(struct sk_buff *skb, u32 offset_skb, in skb_advance_to_frag() argument1779 if (unlikely(offset_skb >= skb->len)) in skb_advance_to_frag()1782 offset_skb -= skb_headlen(skb); in skb_advance_to_frag()1783 if ((int)offset_skb < 0 || skb_has_frag_list(skb)) in skb_advance_to_frag()1787 while (offset_skb) { in skb_advance_to_frag()1788 if (skb_frag_size(frag) > offset_skb) { in skb_advance_to_frag()1789 *offset_frag = offset_skb; in skb_advance_to_frag()1792 offset_skb -= skb_frag_size(frag); in skb_advance_to_frag()