Searched refs:RNDIS_HEADER_SIZE (Results 1 – 3 of 3) sorted by relevance
136 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= sizeof(struct rndis_packet)) { in dump_rndis_message()137 const struct rndis_packet *pkt = data + RNDIS_HEADER_SIZE; in dump_rndis_message()154 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()157 data + RNDIS_HEADER_SIZE; in dump_rndis_message()175 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()178 data + RNDIS_HEADER_SIZE; in dump_rndis_message()191 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE + sizeof(struct rndis_set_complete)) { in dump_rndis_message()193 data + RNDIS_HEADER_SIZE; in dump_rndis_message()203 if (rndis_msg->msg_len - RNDIS_HEADER_SIZE >= in dump_rndis_message()206 data + RNDIS_HEADER_SIZE; in dump_rndis_message()[all …]
706 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()
1775 #define RNDIS_HEADER_SIZE (sizeof(struct rndis_message) - \ macro