Searched refs:udp_skb_scratch (Results 1 – 2 of 2) sorted by relevance
333 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb) in udp_skb_scratch() function341 return udp_skb_scratch(skb)->len; in udp_skb_len()346 return udp_skb_scratch(skb)->csum_unnecessary; in udp_skb_csum_unnecessary()351 return udp_skb_scratch(skb)->is_linear; in udp_skb_is_linear()
1403 struct udp_dev_scratch *scratch = udp_skb_scratch(skb); in udp_set_dev_scratch()1426 udp_skb_scratch(skb)->csum_unnecessary = true; in udp_skb_csum_unnecessary_set()1432 return udp_skb_scratch(skb)->_tsize_state & ~UDP_SKB_IS_STATELESS; in udp_skb_truesize()1437 return !(udp_skb_scratch(skb)->_tsize_state & UDP_SKB_IS_STATELESS); in udp_skb_has_head_state()