![]() |
FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Include dependency graph for cnat_bulk_port.c:Go to the source code of this file.
Macros | |
| #define | PORT_TO_CACHE(y, z) ((y)/(z)) |
| #define | CACHE_TO_PORT(x, z) (((x)& 0x7FFF) * (z)) |
| #define | IS_CACHE_ENTRY_FULL(x) ((x) & 0x8000) |
| #define | MARK_CACHE_ENTRY_AS_FULL(x) ((x) = ((x) | 0x8000)) |
| #define | UNMARK_CACHE_ENTRY_AS_FULL(x) ((x) = ((x) & 0x7FFF)) |
| #define | CACHE_ENTRY_WITHOUT_FULL_STAT(x) ((x) & 0x7FFF) |
| #define | NUM_BULK_CHECK |
| #define | HAVE_BULK_PORT_STATS 1 |
Variables | |
| static uword | bulk_cache_hit_count |
| static uword | bulk_port_use_count |
| static uword | bulk_port_alloc_count |
| static uword | mapped_port_alloc_count |
| static u32 | bulk_port_rand_across |
| #define CACHE_ENTRY_WITHOUT_FULL_STAT | ( | x | ) | ((x) & 0x7FFF) |
Definition at line 48 of file cnat_bulk_port.c.
| #define CACHE_TO_PORT | ( | x, | |
| z | |||
| ) | (((x)& 0x7FFF) * (z)) |
Definition at line 44 of file cnat_bulk_port.c.
| #define HAVE_BULK_PORT_STATS 1 |
Definition at line 57 of file cnat_bulk_port.c.
| #define IS_CACHE_ENTRY_FULL | ( | x | ) | ((x) & 0x8000) |
Definition at line 45 of file cnat_bulk_port.c.
| #define MARK_CACHE_ENTRY_AS_FULL | ( | x | ) | ((x) = ((x) | 0x8000)) |
Definition at line 46 of file cnat_bulk_port.c.
| #define NUM_BULK_CHECK |
Definition at line 51 of file cnat_bulk_port.c.
Definition at line 42 of file cnat_bulk_port.c.
| #define UNMARK_CACHE_ENTRY_AS_FULL | ( | x | ) | ((x) = ((x) & 0x7FFF)) |
Definition at line 47 of file cnat_bulk_port.c.
| void clear_bulk_port_stats | ( | ) |
| cnat_errno_t cnat_dynamic_port_alloc_rtsp_bulk | ( | cnat_portmap_v2_t * | pm, |
| port_alloc_t | atype, | ||
| port_pair_t | pair_type, | ||
| u16 | i_port, | ||
| u32 * | index, | ||
| u32 * | o_ipv4_address, | ||
| u16 * | o_port, | ||
| u16 | static_port_range, | ||
| cnat_user_db_entry_t * | udb, | ||
| bulk_alloc_size_t | bulk_size, | ||
| int * | nfv9_log_req, | ||
| u32 * | rseed_ip | ||
| ) |
Definition at line 775 of file cnat_bulk_port.c.
Here is the call graph for this function:
Here is the caller graph for this function:| cnat_errno_t cnat_dynamic_port_alloc_v2_bulk | ( | cnat_portmap_v2_t * | pm, |
| port_alloc_t | atype, | ||
| port_pair_t | pair_type, | ||
| u32 * | index, | ||
| u32 * | o_ipv4_address, | ||
| u16 * | o_port, | ||
| u16 | static_port_range, | ||
| cnat_user_db_entry_t * | udb, | ||
| bulk_alloc_size_t | bulk_size, | ||
| int * | nfv9_log_req, | ||
| u16 | ip_n_to_1, | ||
| u32 * | rseed_ip | ||
| ) |
Definition at line 477 of file cnat_bulk_port.c.
Here is the call graph for this function:
Here is the caller graph for this function:| cnat_errno_t cnat_mapped_static_port_alloc_v2_bulk | ( | cnat_portmap_v2_t * | pm, |
| port_alloc_t | atype, | ||
| u32 * | index, | ||
| u32 | ipv4_address, | ||
| u16 | port, | ||
| cnat_user_db_entry_t * | udb, | ||
| bulk_alloc_size_t | bulk_size, | ||
| int * | nfv9_log_req, | ||
| u16 | ip_n_to_1 | ||
| ) |
Definition at line 729 of file cnat_bulk_port.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void cnat_port_free_v2_bulk | ( | cnat_portmap_v2_t * | pm, |
| int | index, | ||
| port_pair_t | ptype, | ||
| u16 | base_port, | ||
| cnat_user_db_entry_t * | udb, | ||
| u16 | static_port_range, | ||
| bulk_alloc_size_t | bulk_size, | ||
| int * | nfv9_log_req | ||
| ) |
Definition at line 248 of file cnat_bulk_port.c.
Here is the call graph for this function:
Here is the caller graph for this function:| cnat_errno_t cnat_static_port_alloc_v2_bulk | ( | cnat_portmap_v2_t * | pm, |
| port_alloc_t | atype, | ||
| port_pair_t | pair_type, | ||
| u32 | i_ipv4_address, | ||
| u16 | i_port, | ||
| u32 * | index, | ||
| u32 * | o_ipv4_address, | ||
| u16 * | o_port, | ||
| u16 | static_port_range, | ||
| cnat_user_db_entry_t * | udb, | ||
| bulk_alloc_size_t | bulk_size, | ||
| int * | nfv9_log_req, | ||
| u16 | ip_n_to_1 | ||
| ) |
Definition at line 598 of file cnat_bulk_port.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void cnat_update_bulk_range_cache | ( | cnat_user_db_entry_t * | udb, |
| u16 | o_port, | ||
| bulk_alloc_size_t | bulk_size | ||
| ) |
|
static |
Definition at line 315 of file cnat_bulk_port.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void show_bulk_port_stats | ( | ) |
|
static |
Definition at line 376 of file cnat_bulk_port.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 60 of file cnat_bulk_port.c.
|
static |
Definition at line 62 of file cnat_bulk_port.c.
|
static |
Definition at line 66 of file cnat_bulk_port.c.
|
static |
Definition at line 61 of file cnat_bulk_port.c.
|
static |
Definition at line 63 of file cnat_bulk_port.c.