Home
last modified time | relevance | path

Searched refs:csum_info (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/hyperv/
Dnetvsc_drv.c649 struct ndis_tcp_ip_checksum_info *csum_info; in netvsc_start_xmit() local
652 csum_info = init_ppi_data(rndis_msg, NDIS_CSUM_PPI_SIZE, in netvsc_start_xmit()
655 csum_info->value = 0; in netvsc_start_xmit()
656 csum_info->transmit.tcp_header_offset = skb_transport_offset(skb); in netvsc_start_xmit()
659 csum_info->transmit.is_ipv4 = 1; in netvsc_start_xmit()
662 csum_info->transmit.tcp_checksum = 1; in netvsc_start_xmit()
664 csum_info->transmit.udp_checksum = 1; in netvsc_start_xmit()
666 csum_info->transmit.is_ipv6 = 1; in netvsc_start_xmit()
669 csum_info->transmit.tcp_checksum = 1; in netvsc_start_xmit()
671 csum_info->transmit.udp_checksum = 1; in netvsc_start_xmit()
[all …]
Drndis_filter.c360 const struct ndis_tcp_ip_checksum_info *csum_info, in rsc_add_data() argument
369 nvchan->rsc.csum_info = csum_info; in rsc_add_data()
385 const struct ndis_tcp_ip_checksum_info *csum_info; in rndis_filter_receive_data() local
412 csum_info = rndis_get_ppi(rndis_pkt, TCPIP_CHKSUM_PKTINFO, 0); in rndis_filter_receive_data()
444 rsc_add_data(nvchan, vlan, csum_info, data, rndis_pkt->data_len); in rndis_filter_receive_data()
Dhyperv_net.h856 const struct ndis_tcp_ip_checksum_info *csum_info; member
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c1216 u32 csum_info; in bcm_sysport_insert_tsb() local
1255 csum_info = (csum_start + skb->csum_offset) & L4_CSUM_PTR_MASK; in bcm_sysport_insert_tsb()
1256 csum_info |= (csum_start << L4_PTR_SHIFT); in bcm_sysport_insert_tsb()
1259 csum_info |= L4_LENGTH_VALID; in bcm_sysport_insert_tsb()
1262 csum_info |= L4_UDP; in bcm_sysport_insert_tsb()
1264 csum_info = 0; in bcm_sysport_insert_tsb()
1267 tsb->l4_ptr_dest_map = csum_info; in bcm_sysport_insert_tsb()