USB_URB_DIR_IN(9) Host-Side Data Types and Macro USB_URB_DIR_IN(9)NAMEusb_urb_dir_in - check if an URB describes an IN transfer
SYNOPSIS
int usb_urb_dir_in(struct urb * urb);
ARGUMENTS
urb
URB to be checked
DESCRIPTION
Returns 1 if urb describes an IN transfer (device-to-host), otherwise
0.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 USB_URB_DIR_IN(9)