| #include "module_msg_range.h" |
| |
| #ifndef _IPSEC_MSGID_H |
| #define _IPSEC_MSGID_H |
| |
| |
| MODULE_MSG_BEGIN( MSG_ID_IPSEC_CODE_BEGIN ) |
| MSG_ID_IPSEC_MSG_ID_BEGIN = MSG_ID_IPSEC_CODE_BEGIN, |
| |
| /******************************Data Plane User*******************************/ |
| /* TCPIP --> IPSEC */ |
| MSG_ID_TCPIP_IPSEC_ENCAP_REQ, |
| MSG_ID_TCPIP_IPSEC_DECAP_REQ, |
| |
| /* IPSEC --> TCPIP */ |
| MSG_ID_TCPIP_IPSEC_ENCAP_RSP, |
| MSG_ID_TCPIP_IPSEC_DECAP_RSP, |
| MSG_ID_TCPIP_IPSEC_SA_CREATION_IND, |
| MSG_ID_TCPIP_IPSEC_SA_DELETION_IND, |
| MSG_ID_TCPIP_IPSEC_MULTI_SA_DELETION_IND, |
| |
| /* WTUNNEL --> IPSEC */ |
| MSG_ID_WTUNNEL_IPSEC_ENCAP_REQ, |
| MSG_ID_WTUNNEL_IPSEC_DECAP_REQ, |
| MSG_ID_IPSEC_WTUNNEL_PMTU_UPDATE_IND, |
| |
| /* IPSEC --> WTUNNEL */ |
| MSG_ID_WTUNNEL_IPSEC_ENCAP_RSP, |
| MSG_ID_WTUNNEL_IPSEC_DECAP_RSP, |
| MSG_ID_IPSEC_WTUNNEL_PMTU_REGISTER_REQ, |
| |
| /*******************************Control Plane User****************************/ |
| /* user --> IPSEC */ |
| MSG_ID_IPSEC_SA_ADD_REQ, |
| MSG_ID_IPSEC_SP_ADD_REQ, |
| MSG_ID_IPSEC_SA_DELETE_REQ, |
| MSG_ID_IPSEC_SP_DELETE_REQ, |
| MSG_ID_IPSEC_MULTI_SA_SP_DELETE_REQ, |
| MSG_ID_IPSEC_SP_SAID_UPDATE_REQ, |
| MSG_ID_IPSEC_SA_TUNNEL_UPDATE_REQ, |
| MSG_ID_IPSEC_SPI_ALLOC_REQ, |
| MSG_ID_IPSEC_SPI_FREE_REQ, |
| MSG_ID_IPSEC_MULTI_SPI_FREE_REQ, |
| |
| /* IPSEC --> user */ |
| MSG_ID_IPSEC_SA_ADD_CNF, |
| MSG_ID_IPSEC_SP_ADD_CNF, |
| MSG_ID_IPSEC_SA_DELETE_CNF, |
| MSG_ID_IPSEC_SP_DELETE_CNF, |
| MSG_ID_IPSEC_MULTI_SA_SP_DELETE_CNF, |
| MSG_ID_IPSEC_SP_SAID_UPDATE_CNF, |
| MSG_ID_IPSEC_SA_TUNNEL_UPDATE_CNF, |
| MSG_ID_IPSEC_REKEY_IND, |
| MSG_ID_IPSEC_SA_DEL_IND, |
| MSG_ID_IPSEC_SPI_ALLOC_CNF, |
| MSG_ID_IPSEC_SPI_FREE_CNF, |
| MSG_ID_IPSEC_MULTI_SPI_FREE_CNF, |
| MSG_ID_IPSEC_SPI_ALLOC_START_IND, |
| |
| /*********************************AP***************************************/ |
| /* IPSEC <-- ATP */ |
| MSG_ID_IPSEC_ATP_SPI_ALLOC_CNF, |
| MSG_ID_IPSEC_ATP_SPI_FREE_CNF, |
| MSG_ID_ATP_IPSEC_SPI_QUERY_REQ, |
| MSG_ID_IPSEC_ATP_MULTI_SPI_FREE_CNF, |
| |
| |
| //MSG_ID_TIMER_EXPIRY, |
| |
| MSG_ID_IPSEC_CODE_END, |
| |
| MODULE_MSG_END( MSG_ID_IPSEC_CODE_TAIL ) |
| |
| |
| #endif |