Builds a swiGetSwitchCaps message to return the capabilities of the device driver and the switch controlled by it. For more information, refer to swiGetSwitchCaps in the Switching Service Developer's Reference Manual.
U32 txswiGetSwitchCaps ( CPIPKT *pkt)
Argument |
Description |
pkt |
Pointer to the CPI packet to be formatted into a TX SWI request message. NULL = Return the byte length of the CPI packet required to send the request. |
Return value |
Description |
SUCCESS |
If pkt is NULL, the size of the required CPI packet is returned. If pkt is not NULL, 0 is returned to indicate a successful request, or an error code is returned if the request failed. |