Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dtcp.c1904 static skb_frag_t *skb_advance_to_frag(struct sk_buff *skb, u32 offset_skb, in skb_advance_to_frag() argument
1909 if (unlikely(offset_skb >= skb->len)) in skb_advance_to_frag()
1912 offset_skb -= skb_headlen(skb); in skb_advance_to_frag()
1913 if ((int)offset_skb < 0 || skb_has_frag_list(skb)) in skb_advance_to_frag()
1917 while (offset_skb) { in skb_advance_to_frag()
1918 if (skb_frag_size(frag) > offset_skb) { in skb_advance_to_frag()
1919 *offset_frag = offset_skb; in skb_advance_to_frag()
1922 offset_skb -= skb_frag_size(frag); in skb_advance_to_frag()