API Reference Manual
1.46.0
|
IPSEC outbound operation options. More...
#include <ipsec_types.h>
Data Fields | |
union { | |
struct { | |
uint32_t frag_mode: 1 | |
Use fragmentation mode option. | |
uint32_t tfc_pad: 1 | |
Use TFC padding length option. | |
uint32_t tfc_dummy: 1 | |
Tunnel mode TFC dummy packet. More... | |
uint32_t ip_param: 1 | |
Use IP parameters option. | |
} flag | |
Option flags. More... | |
uint32_t all_flags | |
All flag bits. More... | |
}; | |
Union of all flag bits. | |
odp_ipsec_frag_mode_t | frag_mode |
Fragmentation mode. | |
uint32_t | tfc_pad_len |
TFC padding length. More... | |
union { | |
odp_ipsec_ipv4_param_t ipv4 | |
Override IPv4 parameters in outer header creation. More... | |
odp_ipsec_ipv6_param_t ipv6 | |
Override IPv6 parameters in outer header creation. More... | |
}; | |
Union of IP parameters. | |
IPSEC outbound operation options.
These may be used to override some SA level options
Definition at line 1213 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_out_opt_t::tfc_dummy |
Tunnel mode TFC dummy packet.
This can be used only in tunnel mode. When the flag is set, packet length and content is ignored and instead a TFC dummy packet is created during IPSEC operation. The dummy packet length is defined by 'tfc_pad_len' option. If the SA is configured to copy IP header fields from inner IP packet, those fields must be passed with IP parameters option.
Definition at line 1233 of file api/spec/ipsec_types.h.
struct { ... } odp_ipsec_out_opt_t::flag |
Option flags.
Set flag for those options that are used, all other options are ignored.
uint32_t odp_ipsec_out_opt_t::all_flags |
All flag bits.
This field can be used to set/clear all flags, or to perform bitwise operations over those.
Definition at line 1244 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_out_opt_t::tfc_pad_len |
TFC padding length.
Number of TFC padding bytes added to the packet during IPSEC processing. Resulting packet should not exceed the maximum packet length of the pool, otherwise IPSEC operation may fail. Implementation guarantees that the padding does not contain any confidential information.
Definition at line 1257 of file api/spec/ipsec_types.h.
odp_ipsec_ipv4_param_t odp_ipsec_out_opt_t::ipv4 |
Override IPv4 parameters in outer header creation.
IP addresses are ignored.
Definition at line 1263 of file api/spec/ipsec_types.h.
odp_ipsec_ipv6_param_t odp_ipsec_out_opt_t::ipv6 |
Override IPv6 parameters in outer header creation.
IP addresses are ignored.
Definition at line 1267 of file api/spec/ipsec_types.h.