FD.io VPP  v20.05-21-gb1500e9ff
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)
 
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 221 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 118 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_set_aftr_ip4_addr()

int dslite_set_aftr_ip4_addr ( dslite_main_t dm,
ip4_address_t addr 
)

Definition at line 169 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 133 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 206 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 176 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 112 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 257 of file dslite.c.

+ Here is the call graph for this function:

◆ format_dslite_trace()

u8* format_dslite_trace ( u8 s,
va_list *  args 
)

Definition at line 244 of file dslite.c.

+ Here is the call graph for this function:

◆ 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.