Mac Dev Center Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access I/O Kit Framework Reference
|
IOFireWireLibPHYPacketListenerInterface |
Declared In: |
Represents and provides management functions for a phy packet listener object.
Notify the PHY packet listener object that a packet notification handler has completed.
get the flags of listener.
Returns the user refCon value for thisinterface.
Is notification on?
set flags for the listener.
Set the callback that should be called to handle incoming phy packets
Sets the user refCon value for this interface.
Set the callback that should be called when incoming phy packets are dropped by the listener space.
Turn packet notification off.
Try to turn on packet notifications for this listener.
ClientCommandIsComplete |
Notify the PHY packet listener object that a packet notification handler has completed.
void ( *ClientCommandIsComplete)( IOFireWireLibPHYPacketListenerRef self, FWClientCommandID commandID );
self
The PHY packet listener object.
commandID
The ID of the packet notification being completed. This is the same ID that was passed when a packet notification handler is called.
Packet notifications are received one at a time, in order. This function must be called after a packet handler has completed its work.
GetFlags |
get the flags of listener.
UInt32 ( *GetFlags)( IOFireWireLibPHYPacketListenerRef self );
self
The PHY packet listener object.
flags No current flags are defined.
GetRefCon |
Returns the user refCon value for thisinterface.
void* ( *GetRefCon)( IOFireWireLibPHYPacketListenerRef self );
self
The PHY packet listener object.
returns the refcon
NotificationIsOn |
Is notification on?
Boolean ( *NotificationIsOn)( IOFireWireLibPHYPacketListenerRef self );
self
The PHY packet listener object.
Returns true if packet notifications for this listener are active
SetFlags |
set flags for the listener.
void ( *SetFlags)( IOFireWireLibPHYPacketListenerRef self, UInt32 flags );
self
The PHY packet listener object.
flags
No current flags are defined.
SetListenerCallback |
Set the callback that should be called to handle incoming phy packets
void ( *SetListenerCallback)( IOFireWireLibPHYPacketListenerRef self, IOFireWireLibPHYPacketCallback inCallback );
self
The PHY packet listener object.
inCallback
The callback to set.
SetRefCon |
Sets the user refCon value for this interface.
self
The PHY packet listener object.
refcon
the refcon
SetSkippedPacketCallback |
Set the callback that should be called when incoming phy packets are dropped by the listener space.
void ( *SetSkippedPacketCallback)( IOFireWireLibPHYPacketListenerRef self, IOFireWireLibPHYPacketSkippedCallback inCallback );
self
The PHY packet listener object.
inCallback
The callback to set.
TurnOffNotification |
Turn packet notification off.
void ( *TurnOffNotification)( IOFireWireLibPHYPacketListenerRef self );
self
The PHY packet listener object.
TurnOnNotification |
Try to turn on packet notifications for this listener.
IOReturn ( *TurnOnNotification)( IOFireWireLibPHYPacketListenerRef self );
self
The PHY packet listener object.
Returns kIOReturnSuccess if successful
revision |
UInt16 revision;
Interface revision.
version |
UInt16 version;
Interface version.
Last Updated: 2009-10-15