usbip.h 655 B

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