|
void | cnat_translation_watch_addr (index_t cti, u64 opaque, cnat_endpoint_t *ep, cnat_addr_resol_type_t type) |
| Add an address resolution request. More...
|
|
static void | cnat_resolve_ep_tuple (cnat_endpoint_tuple_t *path) |
|
void | cnat_translation_unwatch_addr (u32 cti, cnat_addr_resol_type_t type) |
| Cleanup matching addr resolution requests. More...
|
|
static void | cnat_tracker_release (cnat_ep_trk_t *trk) |
|
static void | cnat_tracker_track (index_t cti, cnat_ep_trk_t *trk) |
|
u8 * | format_cnat_lb_type (u8 *s, va_list *args) |
|
uword | unformat_cnat_lb_type (unformat_input_t *input, va_list *args) |
|
static void | cnat_add_translation_to_db (index_t cci, cnat_endpoint_t *vip, ip_protocol_t proto, index_t cti) |
| Add a translation to the bihash. More...
|
|
static void | cnat_remove_translation_from_db (index_t cci, cnat_endpoint_t *vip, ip_protocol_t proto) |
| Remove a translation from the bihash. More...
|
|
static int | cnat_maglev_entry_compare (void *_a, void *_b) |
|
static void | cnat_translation_init_maglev (cnat_translation_t *ct) |
|
static void | cnat_translation_stack (cnat_translation_t *ct) |
|
int | cnat_translation_delete (u32 id) |
| Delete a translation. More...
|
|
u32 | cnat_translation_update (cnat_endpoint_t *vip, ip_protocol_t proto, cnat_endpoint_tuple_t *paths, u8 flags, cnat_lb_type_t lb_type) |
| create or update a translation More...
|
|
void | cnat_translation_walk (cnat_translation_walk_cb_t cb, void *ctx) |
| Walk/visit each of the translations. More...
|
|
static u8 * | format_cnat_ep_trk (u8 *s, va_list *args) |
|
u8 * | format_cnat_translation (u8 *s, va_list *args) |
|
static clib_error_t * | cnat_translation_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | cnat_translation_purge (void) |
| Purge all the trahslations. More...
|
|
static fib_node_t * | cnat_translation_get_node (fib_node_index_t index) |
|
static cnat_translation_t * | cnat_translation_get_from_node (fib_node_t *node) |
|
static void | cnat_translation_last_lock_gone (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | cnat_translation_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
|
static clib_error_t * | cnat_translation_cli_add_del (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | cnat_if_addr_add_del_translation_cb (addr_resolution_t *ar, ip_address_t *address, u8 is_del) |
|
static void | cnat_if_addr_add_del_backend_cb (addr_resolution_t *ar, ip_address_t *address, u8 is_del) |
|
static void | cnat_if_addr_add_del_callback (u32 sw_if_index, ip_address_t *address, u8 is_del) |
|
static void | cnat_ip6_if_addr_add_del_callback (struct ip6_main_t *im, uword opaque, u32 sw_if_index, ip6_address_t *address, u32 address_length, u32 if_address_index, u32 is_del) |
|
static void | cnat_ip4_if_addr_add_del_callback (struct ip4_main_t *im, uword opaque, u32 sw_if_index, ip4_address_t *address, u32 address_length, u32 if_address_index, u32 is_del) |
|
void | cnat_translation_register_addr_add_cb (cnat_addr_resol_type_t typ, cnat_if_addr_add_cb_t fn) |
|
static clib_error_t * | cnat_translation_init (vlib_main_t *vm) |
|