Lines Matching refs:indicate
700 struct rndis_indicate_status *indicate = &resp->msg.indicate_status; in netvsc_linkstatus_callback() local
713 memcpy(indicate, data + RNDIS_HEADER_SIZE, sizeof(*indicate)); in netvsc_linkstatus_callback()
716 if (indicate->status == RNDIS_STATUS_LINK_SPEED_CHANGE) { in netvsc_linkstatus_callback()
725 if (indicate->status_buflen < sizeof(speed) || in netvsc_linkstatus_callback()
726 indicate->status_buf_offset < 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()
729 < indicate->status_buflen) { in netvsc_linkstatus_callback()
734 speed = *(u32 *)(data + RNDIS_HEADER_SIZE + indicate->status_buf_offset) / 10000; in netvsc_linkstatus_callback()
740 if (indicate->status != RNDIS_STATUS_NETWORK_CHANGE && in netvsc_linkstatus_callback()
741 indicate->status != RNDIS_STATUS_MEDIA_CONNECT && in netvsc_linkstatus_callback()
742 indicate->status != RNDIS_STATUS_MEDIA_DISCONNECT) in netvsc_linkstatus_callback()
751 event->event = indicate->status; in netvsc_linkstatus_callback()