Lines Matching refs:data_offset
56 size_t data_offset, data_len, header_len; in prepare_skb_header() local
65 data_offset = (u8 *)udp - skb->data; in prepare_skb_header()
66 if (unlikely(data_offset > U16_MAX || in prepare_skb_header()
67 data_offset + sizeof(struct udphdr) > skb->len)) in prepare_skb_header()
74 data_len > skb->len - data_offset)) in prepare_skb_header()
80 data_offset = (u8 *)udp + sizeof(struct udphdr) - skb->data; in prepare_skb_header()
82 data_offset + sizeof(struct message_header)) || in prepare_skb_header()
83 pskb_trim(skb, data_len + data_offset) < 0)) in prepare_skb_header()
85 skb_pull(skb, data_offset); in prepare_skb_header()
92 __skb_push(skb, data_offset); in prepare_skb_header()
93 if (unlikely(!pskb_may_pull(skb, data_offset + header_len))) in prepare_skb_header()
95 __skb_pull(skb, data_offset); in prepare_skb_header()