FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
ipsec_tun.c File Reference
+ Include dependency graph for ipsec_tun.c:

Go to the source code of this file.

Data Structures

struct  ipsec_protect_db_t_
 DB of protected tunnels. More...
 

Typedefs

typedef struct ipsec_protect_db_t_ ipsec_protect_db_t
 DB of protected tunnels. More...
 

Functions

static int ipsec_tun_protect_feature_set (ipsec_tun_protect_t *itp, u8 enable)
 
static void ipsec_tun_protect_db_add (ipsec_main_t *im, const ipsec_tun_protect_t *itp)
 
static void ipsec_tun_protect_db_remove (ipsec_main_t *im, const ipsec_tun_protect_t *itp)
 
static void ipsec_tun_protect_config (ipsec_main_t *im, ipsec_tun_protect_t *itp, u32 sa_out, u32 *sas_in)
 
static void ipsec_tun_protect_unconfig (ipsec_main_t *im, ipsec_tun_protect_t *itp)
 
index_t ipsec_tun_protect_find (u32 sw_if_index)
 
int ipsec_tun_protect_update (u32 sw_if_index, u32 sa_out, u32 *sas_in)
 
int ipsec_tun_protect_del (u32 sw_if_index)
 
void ipsec_tun_protect_walk (ipsec_tun_protect_walk_cb_t fn, void *ctx)
 
clib_error_tipsec_tunnel_protect_init (vlib_main_t *vm)
 

Variables

ipsec_tun_protect_tipsec_protect_pool
 Pool of tunnel protection objects. More...
 
static ipsec_protect_db_t ipsec_protect_db
 

Typedef Documentation

◆ ipsec_protect_db_t

DB of protected tunnels.

Function Documentation

◆ ipsec_tun_protect_config()

static void ipsec_tun_protect_config ( ipsec_main_t im,
ipsec_tun_protect_t itp,
u32  sa_out,
u32 sas_in 
)
static

Definition at line 147 of file ipsec_tun.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_tun_protect_db_add()

static void ipsec_tun_protect_db_add ( ipsec_main_t im,
const ipsec_tun_protect_t itp 
)
static

Definition at line 70 of file ipsec_tun.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_tun_protect_db_remove()

static void ipsec_tun_protect_db_remove ( ipsec_main_t im,
const ipsec_tun_protect_t itp 
)
static

Definition at line 114 of file ipsec_tun.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_tun_protect_del()

int ipsec_tun_protect_del ( u32  sw_if_index)

Definition at line 339 of file ipsec_tun.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_tun_protect_feature_set()

static int ipsec_tun_protect_feature_set ( ipsec_tun_protect_t itp,
u8  enable 
)
static

Definition at line 39 of file ipsec_tun.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_tun_protect_find()

index_t ipsec_tun_protect_find ( u32  sw_if_index)

Definition at line 215 of file ipsec_tun.c.

+ Here is the caller graph for this function:

◆ ipsec_tun_protect_unconfig()

static void ipsec_tun_protect_unconfig ( ipsec_main_t im,
ipsec_tun_protect_t itp 
)
static

Definition at line 190 of file ipsec_tun.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_tun_protect_update()

int ipsec_tun_protect_update ( u32  sw_if_index,
u32  sa_out,
u32 sas_in 
)

Definition at line 224 of file ipsec_tun.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_tun_protect_walk()

void ipsec_tun_protect_walk ( ipsec_tun_protect_walk_cb_t  fn,
void *  ctx 
)

Definition at line 370 of file ipsec_tun.c.

+ Here is the caller graph for this function:

◆ ipsec_tunnel_protect_init()

clib_error_t* ipsec_tunnel_protect_init ( vlib_main_t vm)

Definition at line 383 of file ipsec_tun.c.

Variable Documentation

◆ ipsec_protect_db

ipsec_protect_db_t ipsec_protect_db
static

Definition at line 36 of file ipsec_tun.c.

◆ ipsec_protect_pool

ipsec_tun_protect_t* ipsec_protect_pool

Pool of tunnel protection objects.

Definition at line 25 of file ipsec_tun.c.