API Reference Manual  1.45.0
odp_ipsec_tunnel_param_t Struct Reference

IPSEC tunnel parameters. More...

#include <ipsec_types.h>

Collaboration diagram for odp_ipsec_tunnel_param_t:
[legend]

Data Fields

odp_ipsec_tunnel_type_t type
 Tunnel type: IPv4 or IPv6. More...
 
struct {
   odp_ipsec_ipv4_param_t   ipv4
 IPv4 header parameters.
 
   odp_ipsec_ipv6_param_t   ipv6
 IPv6 header parameters.
 
}; 
 Tunnel type specific parameters.
 

Detailed Description

IPSEC tunnel parameters.

These parameters are used to build outbound tunnel headers. All values are passed in CPU native byte / bit order if not specified otherwise. IP addresses must be in NETWORK byte order as those are passed in with pointers and copied byte-by-byte from memory to the packet.

Examples
odp_ipsec.c.

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

Field Documentation

◆ type

odp_ipsec_tunnel_type_t odp_ipsec_tunnel_param_t::type

Tunnel type: IPv4 or IPv6.

The default is IPv4.

Examples
odp_ipsec.c.

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


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