FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
dslite.c File Reference
+ Include dependency graph for dslite.c:

Go to the source code of this file.

Functions

clib_error_tdslite_api_hookup (vlib_main_t *vm)
 
void add_del_dslite_pool_addr_cb (ip4_address_t addr, u8 is_add, void *opaque)
 
static clib_error_tdslite_init (vlib_main_t *vm)
 
static void dslite_init_datastructures (void)
 
void dslite_set_ce (dslite_main_t *dm, u8 set)
 
static clib_error_tdslite_config (vlib_main_t *vm, unformat_input_t *input)
 
int dslite_set_aftr_ip6_addr (dslite_main_t *dm, ip6_address_t *addr)
 
int dslite_set_aftr_ip4_addr (dslite_main_t *dm, ip4_address_t *addr)
 
int dslite_set_b4_ip6_addr (dslite_main_t *dm, ip6_address_t *addr)
 
int dslite_set_b4_ip4_addr (dslite_main_t *dm, ip4_address_t *addr)
 
u8format_dslite_trace (u8 *s, va_list *args)
 
u8format_dslite_ce_trace (u8 *s, va_list *args)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

dslite_main_t dslite_main
 
fib_source_t nat_fib_src_hi
 

Function Documentation

◆ add_del_dslite_pool_addr_cb()

void add_del_dslite_pool_addr_cb ( ip4_address_t  addr,
u8  is_add,
void *  opaque 
)

Definition at line 235 of file dslite.c.

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

◆ dslite_api_hookup()

clib_error_t* dslite_api_hookup ( vlib_main_t vm)

Definition at line 171 of file dslite_api.c.

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

◆ dslite_config()

static clib_error_t* dslite_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 126 of file dslite.c.

+ Here is the call graph for this function:

◆ dslite_init()

static clib_error_t* dslite_init ( vlib_main_t vm)
static

Definition at line 30 of file dslite.c.

+ Here is the call graph for this function:

◆ dslite_init_datastructures()

static void dslite_init_datastructures ( void  )
static

Definition at line 95 of file dslite.c.

+ Here is the caller graph for this function:

◆ dslite_set_aftr_ip4_addr()

int dslite_set_aftr_ip4_addr ( dslite_main_t dm,
ip4_address_t addr 
)

Definition at line 180 of file dslite.c.

+ Here is the caller graph for this function:

◆ dslite_set_aftr_ip6_addr()

int dslite_set_aftr_ip6_addr ( dslite_main_t dm,
ip6_address_t *  addr 
)

Definition at line 141 of file dslite.c.

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

◆ dslite_set_b4_ip4_addr()

int dslite_set_b4_ip4_addr ( dslite_main_t dm,
ip4_address_t addr 
)

Definition at line 220 of file dslite.c.

+ Here is the caller graph for this function:

◆ dslite_set_b4_ip6_addr()

int dslite_set_b4_ip6_addr ( dslite_main_t dm,
ip6_address_t *  addr 
)

Definition at line 187 of file dslite.c.

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

◆ dslite_set_ce()

void dslite_set_ce ( dslite_main_t dm,
u8  set 
)

Definition at line 120 of file dslite.c.

+ Here is the caller graph for this function:

◆ format_dslite_ce_trace()

u8* format_dslite_ce_trace ( u8 s,
va_list *  args 
)

Definition at line 271 of file dslite.c.

◆ format_dslite_trace()

u8* format_dslite_trace ( u8 s,
va_list *  args 
)

Definition at line 258 of file dslite.c.

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

◆ dslite_main

dslite_main_t dslite_main

Definition at line 21 of file dslite.c.

◆ nat_fib_src_hi

fib_source_t nat_fib_src_hi

Definition at line 22 of file dslite.c.