Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/hyperv/
H A Drndis_filter.c155 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()
158 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
176 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()
179 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
194 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
204 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()
207 data + RNDIS_HEADER_SIZE; in dump_rndis_message()
321 *req_id = *(u32 *)(data + RNDIS_HEADER_SIZE); in rndis_filter_receive_response()
520 rpkt_len = data_buflen - RNDIS_HEADER_SIZE; in rndis_filter_receive_data()
596 if (buflen < RNDIS_HEADER_SIZE) { in rndis_filter_receive()
[all …]
H A Dnetvsc_drv.c706 if (resp->msg_len - RNDIS_HEADER_SIZE < sizeof(struct rndis_indicate_status)) { in netvsc_linkstatus_callback()
713 memcpy(indicate, data + RNDIS_HEADER_SIZE, sizeof(*indicate)); in netvsc_linkstatus_callback()
727 data_buflen - RNDIS_HEADER_SIZE < indicate->status_buf_offset || in netvsc_linkstatus_callback()
728 data_buflen - RNDIS_HEADER_SIZE - indicate->status_buf_offset in netvsc_linkstatus_callback()
734 speed = *(u32 *)(data + RNDIS_HEADER_SIZE + indicate->status_buf_offset) / 10000; in netvsc_linkstatus_callback()
H A Dhyperv_net.h1775 #define RNDIS_HEADER_SIZE (sizeof(struct rndis_message) - \ macro