Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  *  usbip.h
0004  *
0005  *  USBIP uapi defines and function prototypes etc.
0006 */
0007 
0008 #ifndef _UAPI_LINUX_USBIP_H
0009 #define _UAPI_LINUX_USBIP_H
0010 
0011 /* usbip device status - exported in usbip device sysfs status */
0012 enum usbip_device_status {
0013     /* sdev is available. */
0014     SDEV_ST_AVAILABLE = 0x01,
0015     /* sdev is now used. */
0016     SDEV_ST_USED,
0017     /* sdev is unusable because of a fatal error. */
0018     SDEV_ST_ERROR,
0019 
0020     /* vdev does not connect a remote device. */
0021     VDEV_ST_NULL,
0022     /* vdev is used, but the USB address is not assigned yet */
0023     VDEV_ST_NOTASSIGNED,
0024     VDEV_ST_USED,
0025     VDEV_ST_ERROR
0026 };
0027 #endif /* _UAPI_LINUX_USBIP_H */