| #ifndef __D2UM_STRUCT_H__ |
| #define __D2UM_STRUCT_H__ |
| |
| #include "kal_public_defs.h" |
| |
| // Type definition |
| typedef struct d2um_hdr d2um_hdr_t; |
| typedef struct d2um_hdr* d2um_hdr_ptr_t; |
| |
| // Macro |
| #define D2UM_REQ_LOCAL_PARA_HDR \ |
| LOCAL_PARA_HDR \ |
| kal_uint16 src_id; |
| |
| #define D2UM_CNF_LOCAL_PARA_HDR \ |
| LOCAL_PARA_HDR \ |
| kal_uint16 src_id; |
| |
| #define D2UM_IND_LOCAL_PARA_HDR \ |
| LOCAL_PARA_HDR \ |
| kal_uint16 src_id; |
| |
| #define D2UM_RSP_LOCAL_PARA_HDR \ |
| LOCAL_PARA_HDR \ |
| kal_uint16 src_id; |
| |
| // Interface |
| // N/A |
| |
| // Implementation |
| struct d2um_hdr |
| { |
| LOCAL_PARA_HDR |
| kal_uint16 src_id; |
| }; |
| |
| /******************************************************************************* |
| * User to D2 REQ * |
| *******************************************************************************/ |
| |
| |
| /******************************************************************************* |
| * D2 to User CNF * |
| *******************************************************************************/ |
| |
| |
| /******************************************************************************* |
| * D2 to User IND * |
| *******************************************************************************/ |
| |
| |
| /******************************************************************************* |
| * User to D2 RSP * |
| *******************************************************************************/ |
| |
| #endif |