![]() |
FD.io VPP
v17.04-9-g99c0734
Vector Packet Processing
|
deterministic NAT definitions More...
Go to the source code of this file.
Macros | |
#define | SNAT_DET_SES_PER_USER 1000 |
deterministic NAT definitions
Definition in file snat_det.h.
#define SNAT_DET_SES_PER_USER 1000 |
Definition at line 29 of file snat_det.h.
|
inlinestatic |
Definition at line 36 of file snat_det.h.
int snat_det_add_map | ( | snat_main_t * | sm, |
ip4_address_t * | in_addr, | ||
u8 | in_plen, | ||
ip4_address_t * | out_addr, | ||
u8 | out_plen, | ||
int | is_add | ||
) |
Add/delete deterministic NAT mapping.
Create bijective mapping of inside address to outside address and port range pairs, with the purpose of enabling deterministic NAT to reduce logging in CGN deployments.
sm | SNAT main. |
in_addr | Inside network address. |
in_plen | Inside network prefix length. |
out_addr | Outside network address. |
out_plen | Outside network prefix length. |
is_add | If 0 delete, otherwise add. |
Definition at line 40 of file snat_det.c.
|
inlinestatic |
Definition at line 128 of file snat_det.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 111 of file snat_det.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 145 of file snat_det.h.
|
inlinestatic |
Definition at line 104 of file snat_det.h.