Intel
®
IXP400 Digital Signal Processing (DSP) Software Version 2.5
Common Control Message
24 API Reference Manual
5.3 Stop Message
5.4 Ping Message
5.5 Set-Parameter Message
Type XMSG_STOP
Direction Inbound
Description Stops the current action.
Format
typedef struct{
XMsgHdr_t head; /* message header */
} XMsgStop_t;
Macro
#define XMSG_MAKE_STOP(pMsg, trans, res, inst)\
{\
XMSG_MAKE_HEAD(pMsg, trans, res, inst, sizeof(XMsgStop_t),\
XMSG_STOP, 0)\
}
Response Resource returns the processing results or states, if any, depending on the resources and current actions.
Type XMSG_PING
Direction Inbound
Description Verifies if the resource is alive.
Format
typedef struct{
XMsgHdr_t head; /* message header */
} XMsgPing_t;
Macro
#define XMSG_MAKE_PING(pMsg, trans, res, inst) \
{\
XMSG_MAKE_HEAD(pMsg, trans, res, inst, sizeof(XMsgPing_t),\
XMSG_PING, 0)\
}
Response
• General acknowledgement message (XMSG_ACK)
• Error message (XMSG_ERROR) if error.
Type XMSG_SET_PARM
(Sheet 1 of 2)
Direction Inbound
Description Sets a parameter to a resource.