API Reference Manual  1.45.0
odp_ipsec_config_t Struct Reference

IPSEC configuration options. More...

#include <ipsec_types.h>

Collaboration diagram for odp_ipsec_config_t:
[legend]

Data Fields

odp_ipsec_op_mode_t inbound_mode
 Inbound IPSEC operation mode. More...
 
odp_ipsec_op_mode_t outbound_mode
 Outbound IPSEC operation mode. More...
 
uint32_t max_num_sa
 Maximum number of IPSEC SAs that application will use simultaneously.
 
odp_ipsec_inbound_config_t inbound
 IPSEC inbound processing configuration.
 
odp_ipsec_outbound_config_t outbound
 IPSEC outbound processing configuration.
 
odp_bool_t stats_en
 Enable stats collection. More...
 
odp_pktin_vector_config_t vector
 Packet vector configuration for async and inline operations. More...
 

Detailed Description

IPSEC configuration options.

Examples
ipsec_api/odp_ipsec.c, odp_ipsec.c, and odp_ipsecfwd.c.

Definition at line 425 of file api/spec/ipsec_types.h.

Field Documentation

◆ inbound_mode

odp_ipsec_op_mode_t odp_ipsec_config_t::inbound_mode

Inbound IPSEC operation mode.

Application selects which mode will be used for inbound IPSEC operations.

See also
odp_ipsec_in(), odp_ipsec_in_enq()
Examples
ipsec_api/odp_ipsec.c, odp_ipsec.c, and odp_ipsecfwd.c.

Definition at line 431 of file api/spec/ipsec_types.h.

◆ outbound_mode

odp_ipsec_op_mode_t odp_ipsec_config_t::outbound_mode

Outbound IPSEC operation mode.

Application selects which mode will be used for outbound IPSEC operations.

See also
odp_ipsec_out(), odp_ipsec_out_enq(), odp_ipsec_out_inline()
Examples
ipsec_api/odp_ipsec.c, odp_ipsec.c, and odp_ipsecfwd.c.

Definition at line 438 of file api/spec/ipsec_types.h.

◆ stats_en

odp_bool_t odp_ipsec_config_t::stats_en

Enable stats collection.

Default value is false (stats collection disabled).

See also
odp_ipsec_stats(), odp_ipsec_stats_multi()

Definition at line 456 of file api/spec/ipsec_types.h.

◆ vector

odp_pktin_vector_config_t odp_ipsec_config_t::vector

Packet vector configuration for async and inline operations.

This packet vector configuration affects packets delivered to the application through the default queue and the SA destination queues. It does not affect packets delivered through pktio input queues.

Examples
odp_ipsec.c.

Definition at line 466 of file api/spec/ipsec_types.h.


The documentation for this struct was generated from the following file: