• Home
Name Date Size #Lines LOC

..--

Android.bpD03-May-20241 KiB3836

README.mdD03-May-20241.2 KiB3723

client.cppD03-May-20249.7 KiB312208

client.hD03-May-20242.5 KiB7327

device.hD03-May-20242.7 KiB8638

device_pool.cppD03-May-20241.1 KiB3614

device_pool.hD03-May-20241.9 KiB6731

messages.cppD03-May-20243.6 KiB9969

messages.hD03-May-20243.1 KiB10862

server.cppD03-May-20242.2 KiB7543

server.hD03-May-20241.9 KiB6627

vhci_instrument.cppD03-May-20247.8 KiB263172

vhci_instrument.hD03-May-20242.1 KiB7332

README.md

1# USB/IP server library
2
3This folder contains set of classes and structures that constitute basic USB/IP
4server.
5
6Protocol used in this library is defined as part of
7[Linux kernel documentation](https://www.kernel.org/doc/Documentation/usb/usbip_protocol.txt).
8
9## Structure
10
11### [`vadb::usbip::Device`](./device.h)[](#Device)
12
13Structure describing individual device accessible over USB/IP protocol.
14
15### [`vadb::usbip::DevicePool`](./device_pool.h)[](#DevicePool)
16
17DevicePool holds a set of [Devices](#Device) that can be enumerated and
18accessed by clients of this Server.
19
20### [`vadb::usbip::Server`](./server.h)
21
22Purpose of this class is to start a new listening socket and accept incoming
23USB/IP connections & requests.
24
25### [`vadb::usbip::Client`](./client.h)
26
27Client class represents individual USB/IP connection. Client enables remote
28USB/IP client to enumerate and access devices registered in
29[DevicePool](#DevicePool).
30
31### [`USB/IP Messages`](./messages.h)
32
33This file contains structures and enum values defined by the USB/IP protocol.
34All definitions found there have been collected from
35[Linux kernel documentation](https://www.kernel.org/doc/Documentation/usb/usbip_protocol.txt)
36.
37