1 /******************************************************************************
3 * Copyright (c) 2020 ICT/CAS.
5 * Licensed under the O-RAN Software License, Version 1.0 (the "Software License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * https://www.o-ran.org/software
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 *******************************************************************************/
24 #ifndef __VOS_SYSMSG_H__
25 #define __VOS_SYSMSG_H__
33 USHORT usMessageType; /*用于指示发送或接收*/
34 USHORT usPririty; /*优先级(用户自己定义),支持4个优先级 */
35 ULONG ulSrcModuleID; /*源模块号*/
36 ULONG ulDstModuleID; /*目标模块号*/
37 ULONG ulSequence; /*发送序号,RPC专用*/
39 ULONG ulSrcSlotID; /*源槽位号*/
40 ULONG ulDstSlotID; /*目的槽位号*/
41 UCHAR ucMsgType; /*消息类型,如PDU, TIMER, REQUEST, NOTIFY... */
42 UCHAR ucMsgBodyStyle; /*用于指明消息头和消息体是否是一体的*/
43 USHORT usMsgCode; /*消息码,具体消息类型的细分*/
44 LONG ulUserCode; /* usertask user code */
46 USHORT usResponseType; /*是否要求接收方用户应答:ACK/ NOACK/NEGACK*/
47 USHORT usFrameLen; /*frame content 的长度 ,用户数据区长度*/
48 VOID * ptrMsgBody; /*消息体指针*/
49 USHORT usAppSeqNum; /*应用层系列号,用于发送方和接收方请求应答之间建立关联*/
50 USHORT usReserved; /*保留 ,以后扩充使用*/
58 #endif /*__SYSDEF_H__*/