| |
| #ifndef IPSEC_TCPIP_INTERFACE_H |
| #define IPSEC_TCPIP_INTERFACE_H |
| |
| #include "ipsec_common_interface.h" |
| |
| /******************************************************************************* |
| *FUNCTION |
| * |
| *DESCRIPTION |
| * |
| *PARAMETERS |
| * |
| *RETURNS |
| * |
| *******************************************************************************/ |
| kal_uint32 ipsec_tcpip_get_sa_id(kal_uint32 interface_id, ipsec_addr_family_enum addr_family, |
| const kal_uint8* p_src_addr, const kal_uint8* p_dst_addr, ipsec_proto_enum next_layer_protocol, |
| kal_uint16 src_port, kal_uint16 dst_port); |
| |
| kal_uint32 ipsec_tcpip_get_spi(kal_uint32 interface_id, ipsec_addr_family_enum addr_family, |
| const kal_uint8* p_src_addr, const kal_uint8* p_dst_addr, ipsec_proto_enum next_layer_protocol, |
| kal_uint16 src_port, kal_uint16 dst_port); |
| |
| kal_uint32 ipsec_tcpip_get_spi_list(kal_uint32 interface_id, ipsec_addr_family_enum addr_family, |
| const kal_uint8* p_dst_addr, ipsec_proto_enum next_layer_protocol, kal_uint16 dst_port, |
| kal_uint32* p_spi_list, kal_uint32 max_spi_cnt); |
| |
| |
| #endif |