FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
ipsec.c File Reference
+ Include dependency graph for ipsec.c:

Go to the source code of this file.

Macros

#define ESP_NODE   "esp-encrypt"
 

Functions

static int add_del_sa_sess (u32 sa_index, u8 is_add)
 
u32 ipsec_get_sa_index_by_sa_id (u32 sa_id)
 
int ipsec_set_interface_spd (vlib_main_t *vm, u32 sw_if_index, u32 spd_id, int is_add)
 
int ipsec_add_del_spd (vlib_main_t *vm, u32 spd_id, int is_add)
 
static int ipsec_spd_entry_sort (void *a1, void *a2)
 
int ipsec_add_del_policy (vlib_main_t *vm, ipsec_policy_t *policy, int is_add)
 
static u8 ipsec_is_sa_used (u32 sa_index)
 
int ipsec_add_del_sa (vlib_main_t *vm, ipsec_sa_t *new_sa, int is_add)
 
int ipsec_set_sa_key (vlib_main_t *vm, ipsec_sa_t *sa_update)
 
static void ipsec_rand_seed (void)
 
static clib_error_tipsec_init (vlib_main_t *vm)
 

Macro Definition Documentation

#define ESP_NODE   "esp-encrypt"

Definition at line 31 of file ipsec.c.

Function Documentation

static int add_del_sa_sess ( u32  sa_index,
u8  is_add 
)
static

Definition at line 37 of file ipsec.c.

+ Here is the caller graph for this function:

int ipsec_add_del_policy ( vlib_main_t vm,
ipsec_policy_t policy,
int  is_add 
)

Definition at line 168 of file ipsec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ipsec_add_del_sa ( vlib_main_t vm,
ipsec_sa_t new_sa,
int  is_add 
)

Definition at line 427 of file ipsec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ipsec_add_del_spd ( vlib_main_t vm,
u32  spd_id,
int  is_add 
)

Definition at line 102 of file ipsec.c.

+ Here is the caller graph for this function:

u32 ipsec_get_sa_index_by_sa_id ( u32  sa_id)

Definition at line 44 of file ipsec.c.

+ Here is the caller graph for this function:

static clib_error_t* ipsec_init ( vlib_main_t vm)
static

Definition at line 525 of file ipsec.c.

+ Here is the call graph for this function:

static u8 ipsec_is_sa_used ( u32  sa_index)
static

Definition at line 397 of file ipsec.c.

+ Here is the caller graph for this function:

static void ipsec_rand_seed ( void  )
static

Definition at line 508 of file ipsec.c.

+ Here is the caller graph for this function:

int ipsec_set_interface_spd ( vlib_main_t vm,
u32  sw_if_index,
u32  spd_id,
int  is_add 
)

Definition at line 55 of file ipsec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ipsec_set_sa_key ( vlib_main_t vm,
ipsec_sa_t sa_update 
)

Definition at line 468 of file ipsec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int ipsec_spd_entry_sort ( void *  a1,
void *  a2 
)
static

Definition at line 147 of file ipsec.c.

+ Here is the caller graph for this function: