linux/include/uapi/linux/usbip.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 *	usbip.h
 *
 *	USBIP uapi defines and function prototypes etc.
*/

#ifndef _UAPI_LINUX_USBIP_H
#define _UAPI_LINUX_USBIP_H

/* usbip device status - exported in usbip device sysfs status */
enum usbip_device_status {};

/* USB URB Transfer flags:
 *
 * USBIP server and client (vchi) pack URBs in TCP packets. The following
 * are the transfer type defines used in USBIP protocol.
 */

#define USBIP_URB_SHORT_NOT_OK
#define USBIP_URB_ISO_ASAP
#define USBIP_URB_NO_TRANSFER_DMA_MAP
#define USBIP_URB_ZERO_PACKET
#define USBIP_URB_NO_INTERRUPT
#define USBIP_URB_FREE_BUFFER
#define USBIP_URB_DIR_IN
#define USBIP_URB_DIR_OUT
#define USBIP_URB_DIR_MASK

#define USBIP_URB_DMA_MAP_SINGLE
#define USBIP_URB_DMA_MAP_PAGE
#define USBIP_URB_DMA_MAP_SG
#define USBIP_URB_MAP_LOCAL
#define USBIP_URB_SETUP_MAP_SINGLE
#define USBIP_URB_SETUP_MAP_LOCAL
#define USBIP_URB_DMA_SG_COMBINED
#define USBIP_URB_ALIGNED_TEMP_BUFFER

#endif /* _UAPI_LINUX_USBIP_H */