xua_types.h
Go to the documentation of this file.
#pragma once
#include <stdint.h>
enum {
MUA_TAG_RESERVED, /* Reserved */
MUA_TAG_IDENT_INT, /* Interface Identifier (Integer) (M2UA) */
MUA_TAG_UNUSED1, /* Unused */
MUA_TAG_IDENT_TEXT, /* Interface Identifier (Text) (M2UA) */
MUA_TAG_INFO, /* Info String */
MUA_TAG_UNUSED2, /* Unused */
MUA_TAG_ROUTING_CTX, /* Routing Context (M3UA) */
MUA_TAG_DIAG_INF, /* Diagnostic Information */
MUA_TAG_IDENT_RANGE, /* Interface Identifier (Integer Range) */
MUA_TAG_BEAT_DATA, /* Heartbeat Data */
MUA_TAG_UNUSED4, /* Unused */
MUA_TAG_TRA_MODE, /* Traffic Mode Type */
MUA_TAG_ERR_CODE, /* Error Code */
MUA_TAG_STATUS, /* Status Type/Information */
MUA_TAG_UNUSED5, /* Unused */
MUA_TAG_UNUSED6, /* Unused */
MUA_TAG_UNUSED7, /* Unused */
MUA_TAG_ASP_IDENT, /* ASP Identifier */
MUA_TAG_AFF_PC, /* Affected Point Code (M3UA) */
MUA_TAG_CORREL_ID, /* Correlation Id */
};
struct xua_common_hdr {
uint8_t version;
uint8_t spare;
uint8_t msg_class;
uint8_t msg_type;
uint32_t msg_length;
uint8_t data[0];
} __attribute__((packed));
struct xua_parameter_hdr {
uint16_t tag;
uint16_t len;
uint8_t data[0];
} __attribute__((packed));
MUA_TAG_RESERVED
Definition: xua_types.h:9
xua_common_hdr::data
uint8_t data[0]
Definition: xua_types.h:37
MUA_TAG_UNUSED4
Definition: xua_types.h:19
MUA_TAG_UNUSED6
Definition: xua_types.h:24
MUA_TAG_ERR_CODE
Definition: xua_types.h:21
MUA_TAG_ASP_IDENT
Definition: xua_types.h:26
MUA_TAG_UNUSED1
Definition: xua_types.h:11
MUA_TAG_STATUS
Definition: xua_types.h:22
xua_parameter_hdr::tag
uint16_t tag
Definition: xua_types.h:42
MUA_TAG_ROUTING_CTX
Definition: xua_types.h:15
MUA_TAG_BEAT_DATA
Definition: xua_types.h:18
MUA_TAG_UNUSED5
Definition: xua_types.h:23
MUA_TAG_IDENT_INT
Definition: xua_types.h:10
xua_common_hdr::version
uint8_t version
Definition: xua_types.h:32
MUA_TAG_UNUSED7
Definition: xua_types.h:25
MUA_TAG_INFO
Definition: xua_types.h:13
MUA_TAG_CORREL_ID
Definition: xua_types.h:28
MUA_TAG_DIAG_INF
Definition: xua_types.h:16
xua_common_hdr::msg_length
uint32_t msg_length
Definition: xua_types.h:36
xua_parameter_hdr::len
uint16_t len
Definition: xua_types.h:43
xua_common_hdr::msg_class
uint8_t msg_class
Definition: xua_types.h:34
MUA_TAG_TRA_MODE
Definition: xua_types.h:20
__attribute__
struct xua_common_hdr __attribute__((packed))
xua_common_hdr
Definition: xua_types.h:31
MUA_TAG_IDENT_TEXT
Definition: xua_types.h:12
xua_common_hdr::spare
uint8_t spare
Definition: xua_types.h:33
xua_parameter_hdr
Definition: xua_types.h:41
MUA_TAG_IDENT_RANGE
Definition: xua_types.h:17
MUA_TAG_UNUSED2
Definition: xua_types.h:14
MUA_TAG_AFF_PC
Definition: xua_types.h:27
xua_common_hdr::msg_type
uint8_t msg_type
Definition: xua_types.h:35