API Reference Manual  1.45.0
odp_ipsec_out_param_t Struct Reference

IPSEC outbound operation parameters. More...

#include <ipsec_types.h>

Collaboration diagram for odp_ipsec_out_param_t:
[legend]

Data Fields

int num_sa
 Number of SAs. More...
 
int num_opt
 Number of outbound operation options. More...
 
const odp_ipsec_sa_tsa
 Pointer to an array of IPSEC SAs.
 
const odp_ipsec_out_opt_topt
 Pointer to an array of outbound operation options. More...
 

Detailed Description

IPSEC outbound operation parameters.

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

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

Field Documentation

◆ num_sa

int odp_ipsec_out_param_t::num_sa

Number of SAs.

Outbound IPSEC operation needs SA from application. Use either single SA for all packets, or a SA per packet.

Valid values are:

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

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

◆ num_opt

int odp_ipsec_out_param_t::num_opt

Number of outbound operation options.

Valid values are:

  • 0: No options
  • 1: Single option for all packets
  • N: An option per packet. N must match the number of packets.
Examples
ipsec_api/odp_ipsec.c, and odp_ipsec.c.

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

◆ opt

const odp_ipsec_out_opt_t* odp_ipsec_out_param_t::opt

Pointer to an array of outbound operation options.

May be NULL when num_opt is zero.

Examples
ipsec_api/odp_ipsec.c.

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


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