Home
last modified time | relevance | path

Searched refs:rndis_pkt (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/hyperv/
Drndis_filter.c384 struct rndis_packet *rndis_pkt = &msg->msg.pkt; in rndis_filter_receive_data() local
394 data_offset = RNDIS_HEADER_SIZE + rndis_pkt->data_offset; in rndis_filter_receive_data()
402 if (unlikely(data_buflen < rndis_pkt->data_len)) { in rndis_filter_receive_data()
406 data_buflen, rndis_pkt->data_len); in rndis_filter_receive_data()
410 vlan = rndis_get_ppi(rndis_pkt, IEEE_8021Q_INFO, 0); in rndis_filter_receive_data()
412 csum_info = rndis_get_ppi(rndis_pkt, TCPIP_CHKSUM_PKTINFO, 0); in rndis_filter_receive_data()
414 pktinfo_id = rndis_get_ppi(rndis_pkt, RNDIS_PKTINFO_ID, 1); in rndis_filter_receive_data()
444 rsc_add_data(nvchan, vlan, csum_info, data, rndis_pkt->data_len); in rndis_filter_receive_data()
Dnetvsc_drv.c229 struct rndis_packet *rndis_pkt = &msg->msg.pkt; in init_ppi_data() local
232 rndis_pkt->data_offset += ppi_size; in init_ppi_data()
233 ppi = (void *)rndis_pkt + rndis_pkt->per_pkt_info_offset in init_ppi_data()
234 + rndis_pkt->per_pkt_info_len; in init_ppi_data()
241 rndis_pkt->per_pkt_info_len += ppi_size; in init_ppi_data()