tree: 2fb68adac7ee99bf8811a580a0b32498194269e0 [path history] [tgz]
  1. Android.bp
  2. client.cpp
  3. client.h
  4. device.h
  5. device_pool.cpp
  6. device_pool.h
  7. messages.cpp
  8. messages.h
  9. README.md
  10. server.cpp
  11. server.h
  12. vhci_instrument.cpp
  13. vhci_instrument.h
host/libs/usbip/README.md

USB/IP server library

This folder contains set of classes and structures that constitute basic USB/IP server.

Protocol used in this library is defined as part of Linux kernel documentation.

Structure

vadb::usbip::Device

Structure describing individual device accessible over USB/IP protocol.

vadb::usbip::DevicePool

DevicePool holds a set of Devices that can be enumerated and accessed by clients of this Server.

vadb::usbip::Server

Purpose of this class is to start a new listening socket and accept incoming USB/IP connections & requests.

vadb::usbip::Client

Client class represents individual USB/IP connection. Client enables remote USB/IP client to enumerate and access devices registered in DevicePool.

USB/IP Messages

This file contains structures and enum values defined by the USB/IP protocol. All definitions found there have been collected from Linux kernel documentation .