FD.io VPP  v19.08-27-gf4dcae4
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

DB of protected tunnels.

Function Documentation

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 156 of file ipsec_tun.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 79 of file ipsec_tun.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 123 of file ipsec_tun.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ipsec_tun_protect_del ( u32  sw_if_index)

Definition at line 348 of file ipsec_tun.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

index_t ipsec_tun_protect_find ( u32  sw_if_index)

Definition at line 224 of file ipsec_tun.c.

+ Here is the caller graph for this function:

static void ipsec_tun_protect_unconfig ( ipsec_main_t im,
ipsec_tun_protect_t itp 
)
static

Definition at line 199 of file ipsec_tun.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 233 of file ipsec_tun.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ipsec_tun_protect_walk ( ipsec_tun_protect_walk_cb_t  fn,
void *  ctx 
)

Definition at line 379 of file ipsec_tun.c.

+ Here is the caller graph for this function:

clib_error_t* ipsec_tunnel_protect_init ( vlib_main_t vm)

Definition at line 392 of file ipsec_tun.c.

Variable Documentation

ipsec_protect_db_t ipsec_protect_db
static

Definition at line 36 of file ipsec_tun.c.

ipsec_tun_protect_t* ipsec_protect_pool

Pool of tunnel protection objects.

Definition at line 25 of file ipsec_tun.c.