Linux Kernel
3.7.1
|
#include <firewire-cdev.h>
Data Fields | |
__u64 | closure |
__u32 | type |
__u32 | rcode |
__u32 | length |
__u32 | data [0] |
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.
__u64 closure |
Definition at line 348 of file firewire-cdev.h.
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.