Searched refs:need_csum (Results 1 – 2 of 2) sorted by relevance
18 bool need_csum, offload_csum, gso_partial, need_ipsec; in gre_gso_segment() local43 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_GRE_CSUM); in gre_gso_segment()44 skb->encap_hdr_csum = need_csum; in gre_gso_segment()47 if (need_csum) in gre_gso_segment()52 offload_csum = !!(need_csum && !need_ipsec && in gre_gso_segment()86 if (!need_csum) in gre_gso_segment()
21 bool remcsum, need_csum, offload_csum, gso_partial; in __skb_udp_tunnel_segment() local56 need_csum = !!(skb_shinfo(skb)->gso_type & SKB_GSO_UDP_TUNNEL_CSUM); in __skb_udp_tunnel_segment()57 skb->encap_hdr_csum = need_csum; in __skb_udp_tunnel_segment()64 offload_csum = !!(need_csum && in __skb_udp_tunnel_segment()71 if (need_csum) in __skb_udp_tunnel_segment()80 if (!need_csum || offload_csum) in __skb_udp_tunnel_segment()131 if (!need_csum) in __skb_udp_tunnel_segment()
Completed in 4 milliseconds