| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| Android.bp | D | 03-May-2024 | 1 KiB | 38 | 36 | |
| README.md | D | 03-May-2024 | 1.2 KiB | 37 | 23 | |
| client.cpp | D | 03-May-2024 | 9.7 KiB | 312 | 208 | |
| client.h | D | 03-May-2024 | 2.5 KiB | 73 | 27 | |
| device.h | D | 03-May-2024 | 2.7 KiB | 86 | 38 | |
| device_pool.cpp | D | 03-May-2024 | 1.1 KiB | 36 | 14 | |
| device_pool.h | D | 03-May-2024 | 1.9 KiB | 67 | 31 | |
| messages.cpp | D | 03-May-2024 | 3.6 KiB | 99 | 69 | |
| messages.h | D | 03-May-2024 | 3.1 KiB | 108 | 62 | |
| server.cpp | D | 03-May-2024 | 2.2 KiB | 75 | 43 | |
| server.h | D | 03-May-2024 | 1.9 KiB | 66 | 27 | |
| vhci_instrument.cpp | D | 03-May-2024 | 7.8 KiB | 263 | 172 | |
| vhci_instrument.h | D | 03-May-2024 | 2.1 KiB | 73 | 32 |
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