Helper Reference Manual  1.7.1
ipsec.h File Reference

ODP IPSec headers. More...

#include <odp_api.h>
Include dependency graph for ipsec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ODP_PACKED
 Ethernet MAC address. More...
 

Macros

#define ODPH_ESPHDR_LEN   8
 IPSec ESP header length.
 
#define ODPH_ESPTRL_LEN   2
 IPSec ESP trailer length.
 
#define ODPH_AHHDR_LEN   12
 IPSec AH header length.
 

Typedefs

typedef struct ODP_PACKED odph_esphdr_t
 IPSec ESP header.
 
typedef struct ODP_PACKED odph_esptrl_t
 IPSec ESP trailer.
 
typedef struct ODP_PACKED odph_ahhdr_t
 IPSec AH header.
 

Functions

int odph_ipsec_alg_check (const odp_ipsec_capability_t *capa, odp_cipher_alg_t cipher_alg, uint32_t cipher_key_len, odp_auth_alg_t auth_alg, uint32_t auth_key_len)
 Check IPSEC algorithm support. More...
 
uint32_t odph_ipsec_auth_icv_len_default (odp_auth_alg_t auth_alg)
 Return the default ICV length of an algorithm. More...
 

Detailed Description

ODP IPSec headers.

Definition in file ipsec.h.