Searched refs:need_csum (Results 1 – 2 of 2) sorted by relevance
20 bool need_csum, offload_csum, gso_partial, need_ipsec; in gre_gso_segment() local45 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_GRE_CSUM); in gre_gso_segment()46 skb->encap_hdr_csum = need_csum; in gre_gso_segment()49 if (need_csum) in gre_gso_segment()54 offload_csum = !!(need_csum && !need_ipsec && in gre_gso_segment()88 if (!need_csum) in gre_gso_segment()
23 bool remcsum, need_csum, offload_csum, gso_partial; in __skb_udp_tunnel_segment() local58 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM); in __skb_udp_tunnel_segment()59 skb->encap_hdr_csum = need_csum; in __skb_udp_tunnel_segment()66 offload_csum = !!(need_csum && in __skb_udp_tunnel_segment()73 if (need_csum) in __skb_udp_tunnel_segment()82 if (!need_csum || offload_csum) in __skb_udp_tunnel_segment()133 if (!need_csum) in __skb_udp_tunnel_segment()