FD.io VPP  v21.01.1
Vector Packet Processing
cnat_snat.h File Reference
+ Include dependency graph for cnat_snat.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void cnat_set_snat (ip4_address_t *ip4, ip6_address_t *ip6, u32 sw_if_index)
 
int cnat_add_snat_prefix (ip_prefix_t *pfx)
 
int cnat_del_snat_prefix (ip_prefix_t *pfx)
 
int cnat_search_snat_prefix (ip46_address_t *addr, ip_address_family_t af)
 

Function Documentation

◆ cnat_add_snat_prefix()

int cnat_add_snat_prefix ( ip_prefix_t pfx)

Definition at line 37 of file cnat_snat.c.

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

◆ cnat_del_snat_prefix()

int cnat_del_snat_prefix ( ip_prefix_t pfx)

Definition at line 68 of file cnat_snat.c.

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

◆ cnat_search_snat_prefix()

int cnat_search_snat_prefix ( ip46_address_t *  addr,
ip_address_family_t  af 
)

Definition at line 106 of file cnat_snat.c.

+ Here is the caller graph for this function:

◆ cnat_set_snat()

void cnat_set_snat ( ip4_address_t ip4,
ip6_address_t *  ip6,
u32  sw_if_index 
)

Definition at line 162 of file cnat_snat.c.

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