blob: ed127db79aa80e7f5f8ead3679243ea6be4d4069 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001#ifndef __D2UM_STRUCT_H__
2#define __D2UM_STRUCT_H__
3
4#include "kal_public_defs.h"
5
6// Type definition
7typedef struct d2um_hdr d2um_hdr_t;
8typedef struct d2um_hdr* d2um_hdr_ptr_t;
9
10// Macro
11#define D2UM_REQ_LOCAL_PARA_HDR \
12 LOCAL_PARA_HDR \
13 kal_uint16 src_id;
14
15#define D2UM_CNF_LOCAL_PARA_HDR \
16 LOCAL_PARA_HDR \
17 kal_uint16 src_id;
18
19#define D2UM_IND_LOCAL_PARA_HDR \
20 LOCAL_PARA_HDR \
21 kal_uint16 src_id;
22
23#define D2UM_RSP_LOCAL_PARA_HDR \
24 LOCAL_PARA_HDR \
25 kal_uint16 src_id;
26
27// Interface
28// N/A
29
30// Implementation
31struct d2um_hdr
32{
33 LOCAL_PARA_HDR
34 kal_uint16 src_id;
35};
36
37/*******************************************************************************
38* User to D2 REQ *
39*******************************************************************************/
40
41
42/*******************************************************************************
43* D2 to User CNF *
44*******************************************************************************/
45
46
47/*******************************************************************************
48* D2 to User IND *
49*******************************************************************************/
50
51
52/*******************************************************************************
53* User to D2 RSP *
54*******************************************************************************/
55
56#endif