Searched refs:udp_skb_scratch (Results 1 – 2 of 2) sorted by relevance
352 static inline struct udp_dev_scratch *udp_skb_scratch(struct sk_buff *skb) in udp_skb_scratch() function360 return udp_skb_scratch(skb)->len; in udp_skb_len()365 return udp_skb_scratch(skb)->csum_unnecessary; in udp_skb_csum_unnecessary()370 return udp_skb_scratch(skb)->is_linear; in udp_skb_is_linear()
1380 struct udp_dev_scratch *scratch = udp_skb_scratch(skb); in udp_set_dev_scratch()1403 udp_skb_scratch(skb)->csum_unnecessary = true; in udp_skb_csum_unnecessary_set()1409 return udp_skb_scratch(skb)->_tsize_state & ~UDP_SKB_IS_STATELESS; in udp_skb_truesize()1414 return !(udp_skb_scratch(skb)->_tsize_state & UDP_SKB_IS_STATELESS); in udp_skb_has_head_state()