Searched refs:udp_csum (Results 1 – 7 of 7) sorted by relevance
161 static inline int udp_tunnel_handle_offloads(struct sk_buff *skb, bool udp_csum) in udp_tunnel_handle_offloads() argument163 int type = udp_csum ? SKB_GSO_UDP_TUNNEL_CSUM : SKB_GSO_UDP_TUNNEL; in udp_tunnel_handle_offloads()
138 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum() function
715 static inline u16 udp_csum(u32 saddr, u32 daddr, u32 len, in udp_csum() function781 udp_hdr->check = udp_csum(ip_hdr->saddr, ip_hdr->daddr, UDP_PKT_SIZE, in gen_eth_hdr_data()
1247 csum = udp_csum(skb); in udp_v6_send_skb()
956 csum = udp_csum(skb); in udp_send_skb()
45364 + __sum16 udp_csum;45372 + udp_csum = csum_fold(csum);45373 + if (udp_csum == 0)45374 + udp_csum = CSUM_MANGLED_0;45376 + *(__sum16 *)(skb->data + offset) = udp_csum;48495 + __sum16 udp_csum;48504 + udp_csum = csum_fold(csum);48505 + if (udp_csum == 0)48506 + udp_csum = CSUM_MANGLED_0;48508 + *(__sum16 *)(skb->data + offset) = udp_csum;
338336 + __sum16 udp_csum;338344 + udp_csum = csum_fold(csum);338345 + if (udp_csum == 0)338346 + udp_csum = CSUM_MANGLED_0;338348 + *(__sum16 *)(skb->data + offset) = udp_csum;341460 + __sum16 udp_csum;341469 + udp_csum = csum_fold(csum);341470 + if (udp_csum == 0)341471 + udp_csum = CSUM_MANGLED_0;341473 + *(__sum16 *)(skb->data + offset) = udp_csum;