Home
last modified time | relevance | path

Searched refs:RNDIS_HEADER_SIZE (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/net/hyperv/
Drndis_filter.c135 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= sizeof(struct rndis_packet)) { in dump_rndis_message()
136 const struct rndis_packet *pkt = data + RNDIS_HEADER_SIZE; in dump_rndis_message()
153 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()
156 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
174 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()
177 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
190 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE + sizeof(struct rndis_set_complete)) { in dump_rndis_message()
192 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
202 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()
205 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
[all …]
Dnetvsc_drv.c752 if (resp->msg_len - RNDIS_HEADER_SIZE < sizeof(struct rndis_indicate_status)) { in netvsc_linkstatus_callback()
759 memcpy(indicate, data + RNDIS_HEADER_SIZE, sizeof(*indicate)); in netvsc_linkstatus_callback()
773 data_buflen - RNDIS_HEADER_SIZE < indicate->status_buf_offset || in netvsc_linkstatus_callback()
774 data_buflen - RNDIS_HEADER_SIZE - indicate->status_buf_offset in netvsc_linkstatus_callback()
780 speed = *(u32 *)(data + RNDIS_HEADER_SIZE + indicate->status_buf_offset) / 10000; in netvsc_linkstatus_callback()
Dhyperv_net.h1705 #define RNDIS_HEADER_SIZE (sizeof(struct rndis_message) - \ macro