usb_urb_dir_in(9) check if an URB describes an IN transfer

SYNOPSIS

int usb_urb_dir_in(struct urb * urb);

ARGUMENTS

urb

URB to be checked

RETURN

1 if urb describes an IN transfer (device-to-host), otherwise 0.

COPYRIGHT