Lines Matching refs:csum_info
620 struct ndis_tcp_ip_checksum_info *csum_info; in netvsc_xmit() local
623 csum_info = init_ppi_data(rndis_msg, NDIS_CSUM_PPI_SIZE, in netvsc_xmit()
626 csum_info->value = 0; in netvsc_xmit()
627 csum_info->transmit.tcp_header_offset = skb_transport_offset(skb); in netvsc_xmit()
630 csum_info->transmit.is_ipv4 = 1; in netvsc_xmit()
633 csum_info->transmit.tcp_checksum = 1; in netvsc_xmit()
635 csum_info->transmit.udp_checksum = 1; in netvsc_xmit()
637 csum_info->transmit.is_ipv6 = 1; in netvsc_xmit()
640 csum_info->transmit.tcp_checksum = 1; in netvsc_xmit()
642 csum_info->transmit.udp_checksum = 1; in netvsc_xmit()
787 const struct ndis_tcp_ip_checksum_info *csum_info = in netvsc_alloc_recv_skb() local
788 &nvchan->rsc.csum_info; in netvsc_alloc_recv_skb()
834 if ((ppi_flags & NVSC_RSC_CSUM_INFO) && csum_info->receive.ip_checksum_value_invalid && in netvsc_alloc_recv_skb()
835 csum_info->receive.ip_checksum_succeeded && in netvsc_alloc_recv_skb()
847 if (csum_info->receive.tcp_checksum_succeeded || in netvsc_alloc_recv_skb()
848 csum_info->receive.udp_checksum_succeeded) in netvsc_alloc_recv_skb()