[Feature]Upload Modem source code
Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/interface/service/ipsec/ipsec_atp_msg.h b/mcu/interface/service/ipsec/ipsec_atp_msg.h
new file mode 100644
index 0000000..bba7764
--- /dev/null
+++ b/mcu/interface/service/ipsec/ipsec_atp_msg.h
@@ -0,0 +1,73 @@
+#ifndef IPSEC_ATP_MSG_H
+#define IPSEC_ATP_MSG_H
+
+#include "ipsec_common_interface.h"
+
+/* MSG_ID_IPSEC_ATP_SPI_ALLOC_REQ */
+typedef struct {
+ LOCAL_PARA_HDR
+
+ kal_uint32 trans_id;
+ kal_uint32 min_spi;
+ kal_uint32 max_spi;
+ kal_uint8 src_addr[MAX_IP_ADDR_SIZE];
+ kal_uint8 dst_addr[MAX_IP_ADDR_SIZE];
+ ipsec_addr_family_enum addr_family;
+ ipsec_proto_enum ipsec_proto;
+ ipsec_mode_enum ipsec_mode;
+} ipsec_atp_spi_alloc_req_struct;
+
+/* MSG_ID_IPSEC_ATP_SPI_ALLOC_CNF */
+typedef struct {
+ LOCAL_PARA_HDR
+
+ kal_uint32 trans_id;
+ kal_uint32 spi;
+ ipsec_status_enum status;
+} ipsec_atp_spi_alloc_cnf_struct;
+
+ /* MSG_ID_IPSEC_ATP_SPI_FREE_REQ */
+typedef struct {
+ LOCAL_PARA_HDR
+
+ kal_uint32 trans_id;
+ kal_uint32 spi;
+ kal_uint8 src_addr[MAX_IP_ADDR_SIZE];
+ kal_uint8 dst_addr[MAX_IP_ADDR_SIZE];
+ ipsec_addr_family_enum addr_family;
+ ipsec_proto_enum ipsec_proto;
+} ipsec_atp_spi_free_req_struct;
+
+ /* MSG_ID_IPSEC_ATP_MULTI_SPI_FREE_REQ */
+typedef struct {
+ LOCAL_PARA_HDR
+
+ kal_uint32 trans_id;
+ kal_uint32 spi_del_cnt;
+ kal_uint32 spi_del_list[IPSEC_MAX_SASP_DEL_NUM];
+ kal_uint8 src_addr[MAX_IP_ADDR_SIZE*IPSEC_MAX_SASP_DEL_NUM];
+ kal_uint8 dst_addr[MAX_IP_ADDR_SIZE*IPSEC_MAX_SASP_DEL_NUM];
+ ipsec_addr_family_enum addr_family_list[IPSEC_MAX_SASP_DEL_NUM];
+ ipsec_proto_enum ipsec_proto_list[IPSEC_MAX_SASP_DEL_NUM];
+} ipsec_atp_multi_spi_free_req_struct;
+
+ /*MSG_ID_IPSEC_ATP_MULTI_SPI_FREE_CNF*/
+
+ typedef struct {
+ LOCAL_PARA_HDR
+
+ kal_uint32 trans_id;
+ kal_uint32 spi_del_cnt;
+ kal_uint32 spi_list[IPSEC_MAX_SASP_DEL_NUM];
+ ipsec_status_enum status_list[IPSEC_MAX_SASP_DEL_NUM];
+ } ipsec_atp_multi_spi_free_cnf_struct;
+
+/* MSG_ID_IPSEC_ATP_SPI_FREE_CNF */
+typedef struct {
+ LOCAL_PARA_HDR
+
+ kal_uint32 trans_id;
+ ipsec_status_enum status;
+} ipsec_atp_spi_free_cnf_struct;
+
+#endif /* IPSEC_ATP_MSG_H */