API Reference Manual 1.51.0
Loading...
Searching...
No Matches
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.
 
struct { 
 
   odp_ipsec_ipv4_param_t   ipv4 
 IPv4 header parameters. More...
 
   odp_ipsec_ipv6_param_t   ipv6 
 IPv6 header parameters. More...
 
};  
 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 696 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 698 of file api/spec/ipsec_types.h.

◆ ipv4

odp_ipsec_ipv4_param_t odp_ipsec_tunnel_param_t::ipv4

IPv4 header parameters.

Examples
odp_ipsec.c.

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

◆ ipv6

odp_ipsec_ipv6_param_t odp_ipsec_tunnel_param_t::ipv6

IPv6 header parameters.

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


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