API Reference Manual
1.46.0
|
IPSEC SA information. More...
#include <ipsec_types.h>
Data Fields | |
odp_ipsec_sa_param_t | param |
IPsec SA parameters. More... | |
union { | |
struct { | |
struct { | |
uint8_t dst_addr [ODP_IPV6_ADDR_SIZE] | |
IP destination address (NETWORK ENDIAN) to be matched in addition to SPI value. | |
} lookup_param | |
Additional SA lookup parameters. | |
uint32_t antireplay_ws | |
Antireplay window size. More... | |
uint64_t antireplay_window_top | |
Antireplay window top. More... | |
} inbound | |
Inbound specific parameters. | |
struct { | |
uint64_t seq_num | |
Sequence number. More... | |
union { | |
struct { | |
uint8_t src_addr [ODP_IPV4_ADDR_SIZE] | |
IPv4 source address. | |
uint8_t dst_addr [ODP_IPV4_ADDR_SIZE] | |
IPv4 destination address. | |
} ipv4 | |
IPv4. | |
struct { | |
uint8_t src_addr [ODP_IPV6_ADDR_SIZE] | |
IPv6 source address. | |
uint8_t dst_addr [ODP_IPV6_ADDR_SIZE] | |
IPv6 destination address. | |
} ipv6 | |
IPv6. | |
} tunnel | |
Tunnel IP address. | |
} outbound | |
Outbound specific parameters. | |
}; | |
IPSEC SA direction dependent parameters. | |
IPSEC SA information.
Definition at line 1024 of file api/spec/ipsec_types.h.
odp_ipsec_sa_param_t odp_ipsec_sa_info_t::param |
IPsec SA parameters.
This is not necessarily an exact copy of the actual parameter structure used in SA creation. The fields that were relevant for the SA in the creation phase will have the same values, but other fields, such as tunnel parameters for a transport mode SA, will have undefined values.
Definition at line 1033 of file api/spec/ipsec_types.h.
uint8_t odp_ipsec_sa_info_t::dst_addr[ODP_IPV6_ADDR_SIZE] |
IP destination address (NETWORK ENDIAN) to be matched in addition to SPI value.
IPv6 destination address.
IPv4 destination address.
Definition at line 1043 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_sa_info_t::antireplay_ws |
Antireplay window size.
Antireplay window size configured for the SA. This value can be different from what application had requested.
Definition at line 1052 of file api/spec/ipsec_types.h.
uint64_t odp_ipsec_sa_info_t::antireplay_window_top |
Antireplay window top.
Sequence number representing a recent top of the anti-replay window. There may be a delay before the SA state is reflected in the value. The value will be zero if no packets have been processed or if the anti-replay service is not enabled.
Definition at line 1062 of file api/spec/ipsec_types.h.
uint64_t odp_ipsec_sa_info_t::seq_num |
Sequence number.
Sequence number used for a recently processed packet. There may be a delay before the SA state is reflected in the value. When no packets have been processed, the value will be zero.
Definition at line 1074 of file api/spec/ipsec_types.h.
uint8_t odp_ipsec_sa_info_t::src_addr[ODP_IPV6_ADDR_SIZE] |