Searched refs:csum_info (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/include/linux/ |
D | if_rmnet.h | 40 __be16 csum_info; /* MAP_CSUM_UL_* */ member 55 u8 csum_info; member
|
/Linux-v6.1/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_data.c | 192 ul_header->csum_info = htons(val); in rmnet_map_ipv4_ul_csum_header() 227 ul_header->csum_info = htons(val); in rmnet_map_ipv6_ul_csum_header() 280 ul_header->csum_info |= MAPV5_CSUMINFO_VALID_FLAG; in rmnet_map_v5_checksum_uplink_packet() 509 } else if (next_hdr->csum_info & MAPV5_CSUMINFO_VALID_FLAG) { in rmnet_map_process_next_hdr_packet()
|
/Linux-v6.1/drivers/net/hyperv/ |
D | netvsc_drv.c | 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() [all …]
|
D | rndis_filter.c | 445 const struct ndis_tcp_ip_checksum_info *csum_info, in rsc_add_data() argument 464 if (csum_info != NULL) { in rsc_add_data() 465 memcpy(&nvchan->rsc.csum_info, csum_info, sizeof(*csum_info)); in rsc_add_data() 491 const struct ndis_tcp_ip_checksum_info *csum_info; in rndis_filter_receive_data() local 537 csum_info = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, TCPIP_CHKSUM_PKTINFO, 0, in rndis_filter_receive_data() 538 sizeof(*csum_info), data); in rndis_filter_receive_data() 572 rsc_add_data(nvchan, vlan, csum_info, hash_info, in rndis_filter_receive_data()
|
D | hyperv_net.h | 935 struct ndis_tcp_ip_checksum_info csum_info; member
|
/Linux-v6.1/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.c | 652 static void am65_cpsw_nuss_rx_csum(struct sk_buff *skb, u32 csum_info) in am65_cpsw_nuss_rx_csum() argument 668 if ((csum_info & (AM65_CPSW_RX_PSD_IPV6_VALID | in am65_cpsw_nuss_rx_csum() 670 !(csum_info & AM65_CPSW_RX_PSD_CSUM_ERR)) { in am65_cpsw_nuss_rx_csum() 672 if (!(csum_info & AM65_CPSW_RX_PSD_IS_FRAGMENT)) in am65_cpsw_nuss_rx_csum() 681 u32 buf_dma_len, pkt_len, port_id = 0, csum_info; in am65_cpsw_nuss_rx_packets() local 725 csum_info = psdata[2]; in am65_cpsw_nuss_rx_packets() 726 dev_dbg(dev, "%s rx csum_info:%#x\n", __func__, csum_info); in am65_cpsw_nuss_rx_packets() 738 am65_cpsw_nuss_rx_csum(skb, csum_info); in am65_cpsw_nuss_rx_packets()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 1241 u32 csum_info; in bcm_sysport_insert_tsb() local 1288 csum_info = (csum_start + skb->csum_offset) & L4_CSUM_PTR_MASK; in bcm_sysport_insert_tsb() 1289 csum_info |= (csum_start << L4_PTR_SHIFT); in bcm_sysport_insert_tsb() 1292 csum_info |= L4_LENGTH_VALID; in bcm_sysport_insert_tsb() 1295 csum_info |= L4_UDP; in bcm_sysport_insert_tsb() 1297 csum_info = 0; in bcm_sysport_insert_tsb() 1300 tsb->l4_ptr_dest_map = csum_info; in bcm_sysport_insert_tsb()
|