Home | History | Annotate | only in /device/google/cuttlefish_common/host/libs/usbip
Up to higher level directory
NameDateSize
Android.bp21-Aug-20181K
client.cpp21-Aug-20189.6K
client.h21-Aug-20182.4K
device.h21-Aug-20182.7K
device_pool.cpp21-Aug-20181K
device_pool.h21-Aug-20181.9K
messages.cpp21-Aug-20183.6K
messages.h21-Aug-20183.1K
README.md21-Aug-20181.2K
server.cpp21-Aug-20182.2K
server.h21-Aug-20181.8K
vhci_instrument.cpp21-Aug-20187.7K
vhci_instrument.h21-Aug-20182.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