Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/hyperv/
Drndis_filter.c421 struct rndis_packet *rndis_pkt = &msg->msg.pkt; in rndis_filter_receive_data() local
439 if (rndis_pkt->data_offset >= data_buflen - RNDIS_HEADER_SIZE) { in rndis_filter_receive_data()
441 rndis_pkt->data_offset); in rndis_filter_receive_data()
446 data_offset = RNDIS_HEADER_SIZE + rndis_pkt->data_offset; in rndis_filter_receive_data()
455 if (unlikely(data_buflen < rndis_pkt->data_len)) { in rndis_filter_receive_data()
459 data_buflen, rndis_pkt->data_len); in rndis_filter_receive_data()
463 vlan = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, IEEE_8021Q_INFO, 0); in rndis_filter_receive_data()
465 csum_info = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, TCPIP_CHKSUM_PKTINFO, 0); in rndis_filter_receive_data()
467 hash_info = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, NBL_HASH_VALUE, 0); in rndis_filter_receive_data()
469 pktinfo_id = rndis_get_ppi(ndev, rndis_pkt, rpkt_len, RNDIS_PKTINFO_ID, 1); in rndis_filter_receive_data()
[all …]
Dnetvsc_drv.c230 struct rndis_packet *rndis_pkt = &msg->msg.pkt; in init_ppi_data() local
233 rndis_pkt->data_offset += ppi_size; in init_ppi_data()
234 ppi = (void *)rndis_pkt + rndis_pkt->per_pkt_info_offset in init_ppi_data()
235 + rndis_pkt->per_pkt_info_len; in init_ppi_data()
242 rndis_pkt->per_pkt_info_len += ppi_size; in init_ppi_data()