![]() |
FD.io VPP
v19.01-18-gcbd68cb
Vector Packet Processing
|
Include dependency graph for gbp_endpoint.c:Go to the source code of this file.
Data Structures | |
| struct | gbp_endpoint_flush_ctx_t_ |
Macros | |
| #define | GBP_ENDPOINT_DBG(...) vlib_log_debug (gbp_ep_logger, __VA_ARGS__); |
| #define | GBP_ENDPOINT_INFO(...) vlib_log_notice (gbp_ep_logger, __VA_ARGS__); |
| #define | FOR_EACH_GBP_ENDPOINT_ATTR(_item) |
| #define | GBP_EP_HASH_NUM_BUCKETS (2 * 1024) |
| #define | GBP_EP_HASH_MEMORY_SIZE (1 << 20) |
Typedefs | |
| typedef struct gbp_endpoint_flush_ctx_t_ | gbp_endpoint_flush_ctx_t |
Variables | |
| static const char * | gbp_endpoint_attr_names [] = GBP_ENDPOINT_ATTR_NAMES |
| gbp_ep_db_t | gbp_ep_db |
| EP DBs. More... | |
| fib_node_type_t | gbp_endpoint_fib_type |
| vlib_log_class_t | gbp_ep_logger |
| static u32 | GBP_ENDPOINT_INACTIVE_TIME = 30 |
| GBP Endpoint inactive timeout (in seconds) If a dynamically learned Endpoint has not been heard from in this amount of time it is considered inactive and discarded. More... | |
| gbp_endpoint_t * | gbp_endpoint_pool |
| Pool of GBP endpoints. More... | |
| static u32 | gbp_n_learnt_endpoints |
| A count of the number of dynamic entries. More... | |
| static vlib_cli_command_t | gbp_endpoint_cli_node |
| (constructor) VLIB_CLI_COMMAND (gbp_endpoint_cli_node) More... | |
| static vlib_cli_command_t | gbp_endpoint_show_node |
| (constructor) VLIB_CLI_COMMAND (gbp_endpoint_show_node) More... | |
| static const fib_node_vft_t | gbp_endpoint_vft |
| #define FOR_EACH_GBP_ENDPOINT_ATTR | ( | _item | ) |
Definition at line 70 of file gbp_endpoint.c.
| #define GBP_ENDPOINT_DBG | ( | ... | ) | vlib_log_debug (gbp_ep_logger, __VA_ARGS__); |
Definition at line 47 of file gbp_endpoint.c.
| #define GBP_ENDPOINT_INFO | ( | ... | ) | vlib_log_notice (gbp_ep_logger, __VA_ARGS__); |
Definition at line 50 of file gbp_endpoint.c.
| #define GBP_EP_HASH_MEMORY_SIZE (1 << 20) |
| #define GBP_EP_HASH_NUM_BUCKETS (2 * 1024) |
| typedef struct gbp_endpoint_flush_ctx_t_ gbp_endpoint_flush_ctx_t |
Definition at line 1220 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 76 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1158 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1173 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1192 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1143 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 603 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 550 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 167 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 152 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 250 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1530 of file gbp_endpoint.c.
Definition at line 1341 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 gbp_endpoint_child_add | ( | index_t | gei, |
| fib_node_type_t | type, | ||
| fib_node_index_t | index | ||
| ) |
Definition at line 979 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 986 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 191 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 181 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 111 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Find an EP inthe DBs and check that if we find it in the L2 DB it has the same IPs as this update.
Definition at line 383 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| gbp_endpoint_t* gbp_endpoint_find_ip | ( | const ip46_address_t * | ip, |
| u32 | fib_index | ||
| ) |
Definition at line 128 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void gbp_endpoint_flush | ( | gbp_endpoint_src_t | src, |
| u32 | sw_if_index | ||
| ) |
remove all learnt endpoints using the interface
Definition at line 1020 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 999 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 219 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int gbp_endpoint_is_external | ( | const gbp_endpoint_t * | ge | ) |
| int gbp_endpoint_is_local | ( | const gbp_endpoint_t * | ge | ) |
| int gbp_endpoint_is_remote | ( | const gbp_endpoint_t * | ge | ) |
|
static |
|
static |
|
static |
Definition at line 331 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 290 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 342 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 307 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 482 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 463 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void gbp_endpoint_scan | ( | vlib_main_t * | vm | ) |
Definition at line 1461 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1357 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1409 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| f64 gbp_endpoint_scan_threshold | ( | void | ) |
|
static |
Definition at line 1241 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void gbp_endpoint_unlock | ( | gbp_endpoint_src_t | src, |
| index_t | gei | ||
| ) |
Definition at line 898 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int gbp_endpoint_update_and_lock | ( | gbp_endpoint_src_t | src, |
| u32 | sw_if_index, | ||
| const ip46_address_t * | ips, | ||
| const mac_address_t * | mac, | ||
| index_t | gbdi, | ||
| index_t | grdi, | ||
| epg_id_t | epg_id, | ||
| gbp_endpoint_flags_t | flags, | ||
| const ip46_address_t * | tun_src, | ||
| const ip46_address_t * | tun_dst, | ||
| u32 * | handle | ||
| ) |
Definition at line 804 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void gbp_endpoint_walk | ( | gbp_endpoint_cb_t | cb, |
| void * | ctx | ||
| ) |
|
static |
Definition at line 1252 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1269 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void gbp_learn_set_inactive_threshold | ( | u32 | threshold | ) |
Definition at line 1468 of file gbp_endpoint.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 36 of file gbp_endpoint.c.
|
static |
(constructor) VLIB_CLI_COMMAND (gbp_endpoint_cli_node)
Definition at line 1135 of file gbp_endpoint.c.
| fib_node_type_t gbp_endpoint_fib_type |
Definition at line 43 of file gbp_endpoint.c.
|
static |
GBP Endpoint inactive timeout (in seconds) If a dynamically learned Endpoint has not been heard from in this amount of time it is considered inactive and discarded.
Definition at line 58 of file gbp_endpoint.c.
| gbp_endpoint_t* gbp_endpoint_pool |
Pool of GBP endpoints.
Definition at line 63 of file gbp_endpoint.c.
|
static |
(constructor) VLIB_CLI_COMMAND (gbp_endpoint_show_node)
Definition at line 1333 of file gbp_endpoint.c.
|
static |
Definition at line 1541 of file gbp_endpoint.c.
| gbp_ep_db_t gbp_ep_db |
| vlib_log_class_t gbp_ep_logger |
Definition at line 45 of file gbp_endpoint.c.
|
static |
A count of the number of dynamic entries.
Definition at line 68 of file gbp_endpoint.c.