Go to the source code of this file.
|
void | ipsec_tun_register_nodes (ip_address_family_t af) |
|
void | ipsec_tun_unregister_nodes (ip_address_family_t af) |
|
static const ipsec_tun_protect_t * | ipsec_tun_protect_from_const_base (const adj_delegate_t *ad) |
|
static u32 | ipsec_tun_protect_get_adj_next (vnet_link_t linkt, const ipsec_tun_protect_t *itp) |
|
static void | ipsec_tun_protect_add_adj (adj_index_t ai, const ipsec_tun_protect_t *itp) |
|
static index_t | ipsec_tun_protect_find (u32 sw_if_index, const ip_address_t *nh) |
|
static void | ipsec_tun_protect_rx_db_add (ipsec_main_t *im, const ipsec_tun_protect_t *itp) |
|
static adj_walk_rc_t | ipsec_tun_protect_adj_add (adj_index_t ai, void *arg) |
|
static void | ipsec_tun_protect_tx_db_add (ipsec_tun_protect_t *itp) |
|
static void | ipsec_tun_protect_rx_db_remove (ipsec_main_t *im, const ipsec_tun_protect_t *itp) |
|
static adj_walk_rc_t | ipsec_tun_protect_adj_remove (adj_index_t ai, void *arg) |
|
static void | ipsec_tun_protect_tx_db_remove (ipsec_tun_protect_t *itp) |
|
static void | ipsec_tun_protect_set_crypto_addr (ipsec_tun_protect_t *itp) |
|
static void | ipsec_tun_protect_config (ipsec_main_t *im, ipsec_tun_protect_t *itp, u32 sa_out, u32 *sas_in) |
|
static void | ipsec_tun_protect_unconfig (ipsec_main_t *im, ipsec_tun_protect_t *itp) |
|
static void | ipsec_tun_protect_update_from_teib (ipsec_tun_protect_t *itp, const teib_entry_t *ne) |
|
int | ipsec_tun_protect_update (u32 sw_if_index, const ip_address_t *nh, u32 sa_out, u32 *sas_in) |
|
int | ipsec_tun_protect_del (u32 sw_if_index, const ip_address_t *nh) |
|
void | ipsec_tun_protect_walk (ipsec_tun_protect_walk_cb_t fn, void *ctx) |
|
void | ipsec_tun_protect_walk_itf (u32 sw_if_index, ipsec_tun_protect_walk_cb_t fn, void *ctx) |
|
static void | ipsec_tun_feature_update (u32 sw_if_index, u8 arc_index, u8 is_enable, void *data) |
|
static void | ipsec_tun_protect_adj_delegate_adj_deleted (adj_delegate_t *ad) |
|
static void | ipsec_tun_protect_adj_delegate_adj_modified (adj_delegate_t *ad) |
|
static void | ipsec_tun_protect_adj_delegate_adj_created (adj_index_t ai) |
|
static u8 * | ipsec_tun_protect_adj_delegate_format (const adj_delegate_t *aed, u8 *s) |
|
static void | ipsec_tun_teib_entry_added (const teib_entry_t *ne) |
|
static void | ipsec_tun_teib_entry_deleted (const teib_entry_t *ne) |
|
void | ipsec_tun_table_init (ip_address_family_t af, uword table_size, u32 n_buckets) |
|
static clib_error_t * | ipsec_tunnel_protect_init (vlib_main_t *vm) |
|
◆ IPSEC_TUN_DEFAULT_HASH_MEMORY_SIZE
#define IPSEC_TUN_DEFAULT_HASH_MEMORY_SIZE 512 << 20 |
◆ IPSEC_TUN_DEFAULT_HASH_NUM_BUCKETS
#define IPSEC_TUN_DEFAULT_HASH_NUM_BUCKETS (64 * 1024) |
◆ ITP_DBG
#define ITP_DBG |
( |
|
_itp, |
|
|
|
_fmt, |
|
|
|
_args... |
|
) |
| |
Value:{ \
"[%U]: " _fmt, \
_itp, ##_args); \
}
Definition at line 81 of file ipsec_tun.c.
◆ ITP_DBG2
#define ITP_DBG2 |
( |
|
_fmt, |
|
|
|
_args... |
|
) |
| |
◆ ipsec_tun_protect_db_t
◆ ipsec_tun_protect_itf_db_t
The DB of all added per-nh tunnel protectiond.
◆ ipsec_tun_feature_update()
static void ipsec_tun_feature_update |
( |
u32 |
sw_if_index, |
|
|
u8 |
arc_index, |
|
|
u8 |
is_enable, |
|
|
void * |
data |
|
) |
| |
|
static |
◆ ipsec_tun_protect_add_adj()
◆ ipsec_tun_protect_adj_add()
◆ ipsec_tun_protect_adj_delegate_adj_created()
static void ipsec_tun_protect_adj_delegate_adj_created |
( |
adj_index_t |
ai | ) |
|
|
static |
◆ ipsec_tun_protect_adj_delegate_adj_deleted()
static void ipsec_tun_protect_adj_delegate_adj_deleted |
( |
adj_delegate_t * |
ad | ) |
|
|
static |
◆ ipsec_tun_protect_adj_delegate_adj_modified()
static void ipsec_tun_protect_adj_delegate_adj_modified |
( |
adj_delegate_t * |
ad | ) |
|
|
static |
◆ ipsec_tun_protect_adj_delegate_format()
◆ ipsec_tun_protect_adj_remove()
◆ ipsec_tun_protect_config()
◆ ipsec_tun_protect_del()
◆ ipsec_tun_protect_find()
◆ ipsec_tun_protect_from_const_base()
◆ ipsec_tun_protect_get_adj_next()
◆ ipsec_tun_protect_rx_db_add()
◆ ipsec_tun_protect_rx_db_remove()
◆ ipsec_tun_protect_set_crypto_addr()
◆ ipsec_tun_protect_tx_db_add()
◆ ipsec_tun_protect_tx_db_remove()
◆ ipsec_tun_protect_unconfig()
◆ ipsec_tun_protect_update()
◆ ipsec_tun_protect_update_from_teib()
◆ ipsec_tun_protect_walk()
◆ ipsec_tun_protect_walk_itf()
◆ ipsec_tun_register_nodes()
◆ ipsec_tun_table_init()
◆ ipsec_tun_teib_entry_added()
static void ipsec_tun_teib_entry_added |
( |
const teib_entry_t * |
ne | ) |
|
|
static |
◆ ipsec_tun_teib_entry_deleted()
static void ipsec_tun_teib_entry_deleted |
( |
const teib_entry_t * |
ne | ) |
|
|
static |
◆ ipsec_tun_unregister_nodes()
◆ ipsec_tunnel_protect_init()
◆ IP_ADDR_ALL_0
◆ ipsec_tun_adj_delegate_type
Adj delegate registered type.
Definition at line 48 of file ipsec_tun.c.
◆ ipsec_tun_adj_delegate_vft
Initial value:
VFT registered with the adjacency delegate.
Definition at line 916 of file ipsec_tun.c.
◆ ipsec_tun_node_regs
◆ IPSEC_TUN_PROTECT_DEFAULT_DB_ENTRY
◆ ipsec_tun_protect_logger
◆ ipsec_tun_protect_pool
Pool of tunnel protection objects.
Definition at line 43 of file ipsec_tun.c.
◆ ipsec_tun_protect_sa_by_adj_index
index_t* ipsec_tun_protect_sa_by_adj_index |
Adj index to TX SA mapping.
Definition at line 53 of file ipsec_tun.c.
◆ ipsec_tun_teib_vft
◆ itp_db