API Reference Manual
1.46.0
|
Configuration options for IPSEC outbound processing. More...
#include <ipsec_types.h>
Data Fields | |
union { | |
struct { | |
uint32_t inner_ipv4: 1 | |
Insert IPv4 header checksum on the payload packet before IPSEC transformation. More... | |
uint32_t inner_udp: 1 | |
Insert UDP header checksum on the payload packet before IPSEC transformation. More... | |
uint32_t inner_tcp: 1 | |
Insert TCP header checksum on the payload packet before IPSEC transformation. More... | |
uint32_t inner_sctp: 1 | |
Insert SCTP header checksum on the payload packet before IPSEC transformation. More... | |
} chksum | |
Mapping for individual bits. | |
uint32_t all_chksum | |
All bits of the bit field structure. More... | |
}; | |
Flags to control L3/L4 checksum insertion as part of outbound packet processing. More... | |
Configuration options for IPSEC outbound processing.
Definition at line 218 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_outbound_config_t::inner_ipv4 |
Insert IPv4 header checksum on the payload packet before IPSEC transformation.
Default value is 0.
Definition at line 232 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_outbound_config_t::inner_udp |
Insert UDP header checksum on the payload packet before IPSEC transformation.
Default value is 0.
Definition at line 236 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_outbound_config_t::inner_tcp |
Insert TCP header checksum on the payload packet before IPSEC transformation.
Default value is 0.
Definition at line 240 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_outbound_config_t::inner_sctp |
Insert SCTP header checksum on the payload packet before IPSEC transformation.
Default value is 0.
Definition at line 244 of file api/spec/ipsec_types.h.
uint32_t odp_ipsec_outbound_config_t::all_chksum |
All bits of the bit field structure.
This field can be used to set/clear all flags, or bitwise operations over the entire structure.
Definition at line 252 of file api/spec/ipsec_types.h.
union { ... } |
Flags to control L3/L4 checksum insertion as part of outbound packet processing.
These flags control checksum insertion (for the payload packet) in the same way as the checksum flags in odp_pktout_config_opt_t control checksum insertion when sending packets out through a pktio interface. Also packet checksum override functions (e.g. odp_packet_l4_chksum_insert()) can be used in the same way.