Searched refs:rndis_pkt (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/hyperv/ |
D | rndis_filter.c | 490 struct rndis_packet *rndis_pkt = &msg->msg.pkt; in rndis_filter_receive_data() local 507 memcpy(rndis_pkt, data + RNDIS_HEADER_SIZE, sizeof(*rndis_pkt)); in rndis_filter_receive_data() 510 if (rndis_pkt->data_offset >= data_buflen - RNDIS_HEADER_SIZE) { in rndis_filter_receive_data() 512 rndis_pkt->data_offset); in rndis_filter_receive_data() 517 data_offset = RNDIS_HEADER_SIZE + rndis_pkt->data_offset; in rndis_filter_receive_data() 526 if (unlikely(data_buflen < rndis_pkt->data_len)) { in rndis_filter_receive_data() 530 data_buflen, rndis_pkt->data_len); in rndis_filter_receive_data() 534 vlan = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, IEEE_8021Q_INFO, 0, sizeof(*vlan), in rndis_filter_receive_data() 537 csum_info = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, TCPIP_CHKSUM_PKTINFO, 0, in rndis_filter_receive_data() 540 hash_info = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, NBL_HASH_VALUE, 0, in rndis_filter_receive_data() [all …]
|
D | netvsc_drv.c | 232 struct rndis_packet *rndis_pkt = &msg->msg.pkt; in init_ppi_data() local 235 rndis_pkt->data_offset += ppi_size; in init_ppi_data() 236 ppi = (void *)rndis_pkt + rndis_pkt->per_pkt_info_offset in init_ppi_data() 237 + rndis_pkt->per_pkt_info_len; in init_ppi_data() 244 rndis_pkt->per_pkt_info_len += ppi_size; in init_ppi_data()
|