SL_INTERNAL_COMMAND_CNF primitive

Purpose

Confirm a request made internally within the signaling process.

Requirement

Optional for common channel signaling processes and exchange data link signaling processes. If a signaling process supports SL_INTERNAL_COMMAND_REQ, it must also support this primitive.

Library

The signaling interface library (libsl.a).

C syntax

typedef struct {
                SL_ID id;
                int iseq_no;
                pid_t pidCHP;
                SL_PRIMITIVE_TYPE Command;
                SL_CONFIRM_PARM_ST Parms;
} SL_CONFIRM_ST;
...
typedef union {
...
                struct _internal_command_confirm_st{
                    size_t sizetLength;
                    SL_REPLY_CODE ReplyCode;
                } internal_command_confirm_st;
...
} SL_CONFIRM_PARM_ST;

Description

The SL_INTERNAL_COMMAND_CNF primitive is sent by the signaling process to itself to confirm a request sent by a signaling process to itself. This primitive is required because of the rule that all requests must be responded to with a corresponding confirm primitive.

Corresponding state table action

None.

Parameters

id
Eye-catcher that identifies the structure as containing a confirm primitive. Must be set to SLID_CONFIRM_ST.
iseq_no
The sequence number of the primitive. Must be set to the field iseq_no from the SL_INTERNAL_COMMAND_REQ primitive, to which this is the reply.
pidCHP
The process id of the requesting process. This should be set to the pidCHP field from the corresponding SL_INTERNAL_COMMAND_REQ primitive.
Command.id
The primitive that the structure contains. Must be set to SL_INTERNAL_COMMAND_CNF.
Parms.internal_command_confirm_st.sizetLength
Must be set to sizeof(struct _internal_command_confirm_st).
Parms.internal_command_confirm_st.ReplyCode
Specifies the success, or otherwise of the primitive.
SL_REPLY_SUCCESS
Success.
other values
Failure.

Related information