#include "private.h"
#include <usb/dev/request.h>
#include <assert.h>
#include <errno.h>
Go to the source code of this file.
Functions | |
static int | req_get_descriptor (usbvirt_device_t *device, const usb_device_request_setup_packet_t *setup_packet, uint8_t *data, size_t *act_size) |
GET_DESCRIPTOR handler. | |
static int | req_set_address (usbvirt_device_t *device, const usb_device_request_setup_packet_t *setup_packet, uint8_t *data, size_t *act_size) |
static int | req_set_configuration (usbvirt_device_t *device, const usb_device_request_setup_packet_t *setup_packet, uint8_t *data, size_t *act_size) |
void | usbvirt_control_reply_helper (const usb_device_request_setup_packet_t *setup_packet, uint8_t *data, size_t *act_size, void *actual_data, size_t actual_data_size) |
Helper for replying to control read transfer from virtual USB device. | |
Variables | |
usbvirt_control_request_handler_t | library_handlers [] |
Standard request handlers. |
Definition in file stdreq.c.