fw_cdev_event_request Struct Reference

`#include <dc1394/juju/firewire-cdev.h>`

## Detailed Description

struct fw_cdev_event_request - Sent on incoming request to an address region @closure: See &fw_cdev_event_common; set by FW_CDEV_IOC_ALLOCATE ioctl @type: See &fw_cdev_event_common; always FW_CDEV_EVENT_REQUEST @tcode: Transaction code of the incoming request @offset: The offset into the 48-bit per-node address space @handle: Reference to the kernel-side pending request @length: Data length, i.e. the request's payload size in bytes @data: Incoming data, if any

This event is sent when the stack receives an incoming request to an address region registered using the FW_CDEV_IOC_ALLOCATE ioctl. The request is guaranteed to be completely contained in the specified region. Userspace is responsible for sending the response by FW_CDEV_IOC_SEND_RESPONSE ioctl, using the same @handle.

The payload data for requests carrying data (write and lock requests) follows immediately and can be accessed through the @data field.

The documentation for this struct was generated from the following file:

- dc1394/juju/firewire-cdev.h