Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fw_cdev_event_phy_packet Struct Reference

#include <firewire-cdev.h>

Data Fields

__u64 closure
 
__u32 type
 
__u32 rcode
 
__u32 length
 
__u32 data [0]
 

Detailed Description

struct fw_cdev_event_phy_packet - A PHY packet was transmitted or received : See set by FW_CDEV_IOC_SEND_PHY_PACKET or FW_CDEV_IOC_RECEIVE_PHY_PACKETS ioctl : FW_CDEV_EVENT_PHY_PACKET_SENT or %..._RECEIVED : RCODE_..., indicates success or failure of transmission : Data length in bytes : Incoming data

If is FW_CDEV_EVENT_PHY_PACKET_SENT, is 0 and empty, except in case of a ping packet: Then, is 4, and [0] is the ping time in 49.152MHz clocks if is RCODE_COMPLETE.

If is FW_CDEV_EVENT_PHY_PACKET_RECEIVED, is 8 and consists of the two PHY packet quadlets, in host byte order.

Definition at line 347 of file firewire-cdev.h.

Field Documentation

__u64 closure

Definition at line 348 of file firewire-cdev.h.

__u32 data[0]

Definition at line 352 of file firewire-cdev.h.

__u32 length

Definition at line 351 of file firewire-cdev.h.

__u32 rcode

Definition at line 350 of file firewire-cdev.h.

Definition at line 349 of file firewire-cdev.h.


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