Searched refs:offset_skb (Results 1 – 1 of 1) sorted by relevance
1749 static skb_frag_t *skb_advance_to_frag(struct sk_buff *skb, u32 offset_skb, in skb_advance_to_frag() argument1754 if (unlikely(offset_skb >= skb->len)) in skb_advance_to_frag()1757 offset_skb -= skb_headlen(skb); in skb_advance_to_frag()1758 if ((int)offset_skb < 0 || skb_has_frag_list(skb)) in skb_advance_to_frag()1762 while (offset_skb) { in skb_advance_to_frag()1763 if (skb_frag_size(frag) > offset_skb) { in skb_advance_to_frag()1764 *offset_frag = offset_skb; in skb_advance_to_frag()1767 offset_skb -= skb_frag_size(frag); in skb_advance_to_frag()