Protocol class parameter

Specifies a protocol class in connection request or confirm messages or in connectionless unitdata/extended unitdata messages.

typedef struct sccpProtoClass         
{
  U8   classInd;      /* class indicator                       */
  U8   msgHandling;   /* message handling indicator            */
  U8   spare1;        /* spare for alignment                   */
} SccpProtoClass;

The fields in the SccpProtoClass structure are encoded as follows:

Field

Value

classInd

0x00 = SCCP_CLASS0   0-basic connectionless

0x01 = SCCP_CLASS1   1-sequenced connectionless

0x02 = SCCP_CLASS2   2-basic connection-oriented

0x03 = SCCP_CLASS3   3-connection-oriented w/flow

msgHandling

0x00 = MSG_DISCARD   Discard message on error

0x08 = MSG_RETURN   Return message on error