USBIP C library 0.7.0
Virtual USB devices & host drivers over USB/IP
Loading...
Searching...
No Matches
usbip_host_transfer Struct Reference

An isochronous transfer (libusb-shaped; submitted synchronously). More...

#include <usbip-host.h>

+ Collaboration diagram for usbip_host_transfer:

Data Fields

usbip_host_handledev_handle
 Target handle (set by usbip_host_fill_iso_transfer())
 
uint8_t endpoint
 Endpoint address (bit 7 = direction)

 
uint8_t type
 Transfer type - USB_ISO

 
unsigned timeout_ms
 Timeout in milliseconds (0 = indefinite)

 
int status
 Overall status, 0 = ok

 
uint8_t * buffer
 Packet data, laid out contiguously per packet

 
int length
 Total buffer length

 
int actual_length
 Total bytes transferred (filled on done)

 
int num_iso_packets
 Number of packets / iso_packet_desc[] entries

 
usbip_host_iso_packet_descriptor iso_packet_desc []
 Flexible array, one per packet.
 

Detailed Description

An isochronous transfer (libusb-shaped; submitted synchronously).

Field Documentation

◆ dev_handle

usbip_host_handle* usbip_host_transfer::dev_handle

Target handle (set by usbip_host_fill_iso_transfer())

◆ endpoint

uint8_t usbip_host_transfer::endpoint

Endpoint address (bit 7 = direction)

◆ type

uint8_t usbip_host_transfer::type

Transfer type - USB_ISO

◆ timeout_ms

unsigned usbip_host_transfer::timeout_ms

Timeout in milliseconds (0 = indefinite)

◆ status

int usbip_host_transfer::status

Overall status, 0 = ok

◆ buffer

uint8_t* usbip_host_transfer::buffer

Packet data, laid out contiguously per packet

◆ length

int usbip_host_transfer::length

Total buffer length

◆ actual_length

int usbip_host_transfer::actual_length

Total bytes transferred (filled on done)

◆ num_iso_packets

int usbip_host_transfer::num_iso_packets

Number of packets / iso_packet_desc[] entries

◆ iso_packet_desc

usbip_host_iso_packet_descriptor usbip_host_transfer::iso_packet_desc[]

Flexible array, one per packet.


The documentation for this struct was generated from the following file: