1 /******************************************************************************
2 ###############################################################################
3 # Copyright (c) [2017-2020] [ICT/CAS] #
4 # Licensed under the ORAN Software License v1.0 (License) #
5 ###############################################################################
6 ******************************************************************************/
12 #ifndef __VOS_SYSMSG_H__
13 #define __VOS_SYSMSG_H__
21 USHORT usMessageType; /*用于指示发送或接收*/
22 USHORT usPririty; /*优先级(用户自己定义),支持4个优先级 */
23 ULONG ulSrcModuleID; /*源模块号*/
24 ULONG ulDstModuleID; /*目标模块号*/
25 ULONG ulSequence; /*发送序号,RPC专用*/
27 ULONG ulSrcSlotID; /*源槽位号*/
28 ULONG ulDstSlotID; /*目的槽位号*/
29 UCHAR ucMsgType; /*消息类型,如PDU, TIMER, REQUEST, NOTIFY... */
30 UCHAR ucMsgBodyStyle; /*用于指明消息头和消息体是否是一体的*/
31 USHORT usMsgCode; /*消息码,具体消息类型的细分*/
32 LONG ulUserCode; /* usertask user code */
34 USHORT usResponseType; /*是否要求接收方用户应答:ACK/ NOACK/NEGACK*/
35 USHORT usFrameLen; /*frame content 的长度 ,用户数据区长度*/
36 VOID * ptrMsgBody; /*消息体指针*/
37 USHORT usAppSeqNum; /*应用层系列号,用于发送方和接收方请求应答之间建立关联*/
38 USHORT usReserved; /*保留 ,以后扩充使用*/
46 #endif /*__SYSDEF_H__*/