Home | History | Annotate | only in /device/google/cuttlefish_common/host/commands/virtual_usb_manager/usbip
Up to higher level directory
NameDateSize
Android.bp22-Oct-20201K
client.cpp22-Oct-20209.7K
client.h22-Oct-20202.5K
device.h22-Oct-20202.7K
device_pool.cpp22-Oct-20201.1K
device_pool.h22-Oct-20201.9K
messages.cpp22-Oct-20203.6K
messages.h22-Oct-20203.1K
README.md22-Oct-20201.2K
server.cpp22-Oct-20202.2K
server.h22-Oct-20201.9K
vhci_instrument.cpp22-Oct-20207.8K
vhci_instrument.h22-Oct-20202.1K

README.md

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