usbip.h 592 B

1234567891011121314151617181920212223242526
  1. /*
  2. * usbip.h
  3. *
  4. * USBIP uapi defines and function prototypes etc.
  5. */
  6. #ifndef _UAPI_LINUX_USBIP_H
  7. #define _UAPI_LINUX_USBIP_H
  8. /* usbip device status - exported in usbip device sysfs status */
  9. enum usbip_device_status {
  10. /* sdev is available. */
  11. SDEV_ST_AVAILABLE = 0x01,
  12. /* sdev is now used. */
  13. SDEV_ST_USED,
  14. /* sdev is unusable because of a fatal error. */
  15. SDEV_ST_ERROR,
  16. /* vdev does not connect a remote device. */
  17. VDEV_ST_NULL,
  18. /* vdev is used, but the USB address is not assigned yet */
  19. VDEV_ST_NOTASSIGNED,
  20. VDEV_ST_USED,
  21. VDEV_ST_ERROR
  22. };
  23. #endif /* _UAPI_LINUX_USBIP_H */