📄 tr.h
字号:
t_uscalar_t PRIM_type; /* Always TR_UNBIND_REQ */} TR_unbind_req_t;/* * TR_OPTMGMT_REQ. This primtive consists of one M_PROTO message block. */typedef struct TR_optmgmt_req { t_uscalar_t PRIM_type; /* Always T_OPTMGMT_REQ */ t_uscalar_t OPT_length; /* options length */ t_uscalar_t OPT_offset; /* options offset */ t_uscalar_t MGMT_flags; /* options data flags */} TR_optmgmt_req_t;/* * TR_OPTMGMT_ACK. This primitive consists of one M_PCPROTO message block. */typedef struct TR_optmgmt_ack { t_uscalar_t PRIM_type; /* Always T_OPTMGMT_ACK */ t_uscalar_t OPT_length; /* options length */ t_uscalar_t OPT_offset; /* options offset */ t_uscalar_t MGMT_flags; /* options data flags */} TR_optmgmt_ack_t;/* * TR_OK_ACK. This primitive consists of one M_PCPROTO message block. */typedef struct TR_ok_ack { t_uscalar_t PRIM_type; /* Always T_OK_ACK */ t_uscalar_t CORRECT_prim; /* correct primitive */} TR_ok_ack_t;/* * TR_ERROR_ACK. This primitive consists of one M_PCPROTO message block. */typedef struct TR_error_ack { t_uscalar_t PRIM_type; /* Always T_ERROR_ACK */ t_uscalar_t ERROR_prim; /* primitive in error */ t_uscalar_t TRPI_error; /* TRPI error code */ t_uscalar_t UNIX_error; /* UNIX error code */ t_uscalar_t TRANS_id; /* Transaction id */} TR_error_ack_t;/* * TR_UNI_REQ. This primitive consists of one M_PROTO message block followed * by one or more M_DATA blocks. */typedef struct TR_uni_req { t_uscalar_t PRIM_type; /* Always TR_UNI_REQ */ t_uscalar_t DEST_length; /* Destination address length */ t_uscalar_t DEST_offset; /* Destination address offset */ t_uscalar_t ORIG_length; /* Originating address length */ t_uscalar_t ORIG_offset; /* Originating address offset */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_uni_req_t;/* * TR_UNI_IND. This primitive consists of one M_PROTO message block followed * by one or more M_DATA blocks. */typedef struct TR_uni_ind { t_uscalar_t PRIM_type; /* Always TR_UNI_REQ */ t_uscalar_t DEST_length; /* Destination address length */ t_uscalar_t DEST_offset; /* Destination address offset */ t_uscalar_t ORIG_length; /* Originating address length */ t_uscalar_t ORIG_offset; /* Originating address offset */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_uni_ind_t;/* * TR_BEGIN_REQ. */typedef struct TR_begin_req { t_uscalar_t PRIM_type; /* Always TR_BEGIN_REQ */ t_uscalar_t CORR_id; /* Correlation id */ t_uscalar_t ASSOC_flags; /* Association flags */ t_uscalar_t DEST_length; /* Destination address length */ t_uscalar_t DEST_offset; /* Destination address offset */ t_uscalar_t ORIG_length; /* Originating address length */ t_uscalar_t ORIG_offset; /* Originating address offset */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_begin_req_t;/* * TR_BEGIN_IND. */typedef struct TR_begin_ind { t_uscalar_t PRIM_type; /* Always TR_BEGIN_IND */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t ASSOC_flags; /* Association flags */ t_uscalar_t DEST_length; /* Destination address length */ t_uscalar_t DEST_offset; /* Destination address offset */ t_uscalar_t ORIG_length; /* Originating address length */ t_uscalar_t ORIG_offset; /* Originating address offset */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_begin_ind_t;/* * TR_BEGIN_RES. * * This primitive represents the first TR-CONTINUE response to a TR-BEGIN * indication. */typedef struct TR_begin_res { t_uscalar_t PRIM_type; /* Always TR_BEGIN_RES */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t ASSOC_flags; /* Association flags */ t_uscalar_t ORIG_length; /* Originating address length */ t_uscalar_t ORIG_offset; /* Originating address offset */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_begin_res_t;/* * TR_BEGIN_CON. * * This primitive represents the first TR-CONTINUE configuration of a * TR-BEGIN request. */typedef struct TR_begin_con { t_uscalar_t PRIM_type; /* Always TR_BEGIN_CON */ t_uscalar_t CORR_id; /* Correlation Id */ t_uscalar_t ASSOC_flags; /* Association flags */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t ORIG_length; /* Originating address length */ t_uscalar_t ORIG_offset; /* Originating address offset */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_begin_con_t;/* * TR_CONT_REQ. */typedef struct TR_cont_req { t_uscalar_t PRIM_type; /* Always TR_CONT_REQ */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t ASSOC_flags; /* Association flags */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_cont_req_t;/* * TR_CONT_IND. */typedef struct TR_cont_ind { t_uscalar_t PRIM_type; /* Always TR_CONT_IND */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t ASSOC_flags; /* Association flags */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_cont_ind_t;/* * TR_END_REQ. */typedef struct TR_end_req { t_uscalar_t PRIM_type; /* Always TR_END_REQ */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t TERM_scenario; /* Termination scenario */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_end_req_t;/* * TR_END_IND. */typedef struct TR_end_ind { t_uscalar_t PRIM_type; /* Always TR_END_IND */ t_uscalar_t CORR_id; /* Correlation id */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_end_ind_t;/* * TR_ABORT_REQ. */typedef struct TR_abort_req { t_uscalar_t PRIM_type; /* Always TR_ABORT_REQ */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t ABORT_cause; /* Cause of the abort */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */} TR_abort_req_t;/* * TR_ABORT_IND. */typedef struct TR_abort_ind { t_uscalar_t PRIM_type; /* Always TR_ABORT_IND */ t_uscalar_t CORR_id; /* Correlation id */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t OPT_length; /* Options structure length */ t_uscalar_t OPT_offset; /* Options structure offset */ t_uscalar_t ABORT_cause; /* Cause of the abort */ t_uscalar_t ORIGINATOR; /* Originator P or U */} TR_abort_ind_t;/* * TR_NOTICE_IND. */typedef struct TR_notice_ind { t_uscalar_t PRIM_type; /* Always TR_NOTICE_IND */ t_uscalar_t CORR_id; /* Correlation id */ t_uscalar_t TRANS_id; /* Transaction id */ t_uscalar_t REPORT_cause; /* SCCP return cause */} TR_notice_ind_t;#endif /* __SS7_TR_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -