Macros

Encode an ioctl command that has no associated data.

Encode an ioctl command.

Declare a wrapper function around an ioctl.

Encode an ioctl command that reads.

Encode an ioctl command that both reads and writes.

Encode an ioctl command that writes.

Functions

Extracts the “direction” (read/write/none) from an encoded ioctl command.

Extracts the ioctl number from an encoded ioctl command.

Extracts the size from an encoded ioctl command.

Extracts the type from an encoded ioctl command.