120 High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification
HSK Device Driver Interface for VxWorks* 5.4
Parameters
pci
A PCI location structure. This structure contains the PCI bus, device, and function location of the
device being associated with the message callback routine.
callback
This parameter is a callback pointer, registered with the HSK Manager, that is the receiver function
for messages being sent to a particular device’s registering device driver. The message callback
format is specified in Section C.6.1, “RH_HSK_RH_PROCESS_PACKET” on page121.
pContext
This parameter is a context value that is passed to the process packet function. This is a context free
value, which means that the value is not modified by the message routing system, and is passed in
its entirety.
Return Value
HSI_STATUS_SUCCESS if successful; otherwise HSI_STATUS_FAILURE

C.5.2 int rhHskUnregisterMsgCallback

This function disassociates the receive message callback function from the device specified by the
PCI location.
Syntax
( PCI_LOCATION pci )
Parameters
pci
A PCI location structure. This structure contains the PCI bus, device, and function location of the
message callback function being disassociated.
Return Value
HSI_STATUS_SUCCESS if successful; otherwise HSI_STATUS_FAILURE
C.6 Process Packet Callback Definition
This section describes the syntax and functionality of the process packet callback function.