API Reference Manual  1.45.0
odp_ipsec_in_param_t Struct Reference

IPSEC inbound operation parameters. More...

#include <ipsec_types.h>

Collaboration diagram for odp_ipsec_in_param_t:
[legend]

Data Fields

int num_sa
 Number of SAs. More...
 
const odp_ipsec_sa_tsa
 Pointer to an array of IPSEC SAs. More...
 

Detailed Description

IPSEC inbound operation parameters.

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

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

Field Documentation

◆ num_sa

int odp_ipsec_in_param_t::num_sa

Number of SAs.

Inbound IPSEC operation processes a packet using the SA provided by the application. If the application does not provide an SA, the operation searches for the SA by matching the input packet with all inbound SAs according to the lookup mode (odp_ipsec_lookup_mode_t) configured in each SA. When passing SAs, use either single SA for all packets, or a SA per packet.

Valid values are:

  • 0: No SAs. SA lookup is done for all packets.
  • 1: Single SA for all packets
  • N: A SA per packet. N must match the number of packets.
Examples
ipsec_api/odp_ipsec.c, and odp_ipsecfwd.c.

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

◆ sa

const odp_ipsec_sa_t* odp_ipsec_in_param_t::sa

Pointer to an array of IPSEC SAs.

May be NULL when num_sa is zero.

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

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


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