Searched refs:udp_skb_scratch (Results 1 – 2 of 2) sorted by relevance
353 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb) in udp_skb_scratch() function361 return udp_skb_scratch(skb)->len; in udp_skb_len()366 return udp_skb_scratch(skb)->csum_unnecessary; in udp_skb_csum_unnecessary()371 return udp_skb_scratch(skb)->is_linear; in udp_skb_is_linear()
1397 struct udp_dev_scratch *scratch = udp_skb_scratch(skb); in udp_set_dev_scratch()1420 udp_skb_scratch(skb)->csum_unnecessary = true; in udp_skb_csum_unnecessary_set()1426 return udp_skb_scratch(skb)->_tsize_state & ~UDP_SKB_IS_STATELESS; in udp_skb_truesize()1431 return !(udp_skb_scratch(skb)->_tsize_state & UDP_SKB_IS_STATELESS); in udp_skb_has_head_state()