Go to the source code of this file.
|
typedef | CLIB_PACKED (struct { union { struct { ip4_address_t remote_ip;u32 spi;};u64 as_u64;};}) ipsec4_tunnel_key_t |
|
typedef | CLIB_PACKED (struct { ip6_address_t remote_ip;u32 spi;}) ipsec6_tunnel_key_t |
|
u8 * | format_ipsec4_tunnel_key (u8 *s, va_list *args) |
|
u8 * | format_ipsec6_tunnel_key (u8 *s, va_list *args) |
|
int | ipsec_tun_protect_update_one (u32 sw_if_index, u32 sa_out, u32 sa_in) |
|
int | ipsec_tun_protect_update (u32 sw_if_index, u32 sa_out, u32 *sa_ins) |
|
int | ipsec_tun_protect_update_in (u32 sw_if_index, u32 sa_in) |
|
int | ipsec_tun_protect_update_out (u32 sw_if_index, u32 sa_out) |
|
int | ipsec_tun_protect_del (u32 sw_if_index) |
|
void | ipsec_tun_protect_walk (ipsec_tun_protect_walk_cb_t fn, void *cttx) |
|
index_t | ipsec_tun_protect_find (u32 sw_if_index) |
|
u8 * | format_ipsec_tun_protect (u8 *s, va_list *args) |
|
static ipsec_tun_protect_t * | ipsec_tun_protect_get (u32 index) |
|
◆ FOR_EACH_IPSEC_PROTECT_INPUT_SA
#define FOR_EACH_IPSEC_PROTECT_INPUT_SA |
( |
|
_itp, |
|
|
|
_sa, |
|
|
|
body |
|
) |
| |
Value:{ \
u32 __ii; \
for (__ii = 0; __ii < _itp->itp_n_sa_in; __ii++) { \
body; \
} \
}
static ipsec_sa_t * ipsec_sa_get(u32 sa_index)
Definition at line 90 of file ipsec_tun.h.
◆ FOR_EACH_IPSEC_PROTECT_INPUT_SAI
#define FOR_EACH_IPSEC_PROTECT_INPUT_SAI |
( |
|
_itp, |
|
|
|
_sai, |
|
|
|
body |
|
) |
| |
Value:{ \
u32 __ii; \
for (__ii = 0; __ii < _itp->itp_n_sa_in; __ii++) { \
_sai = itp->itp_in_sas[__ii]; \
body; \
} \
}
Definition at line 82 of file ipsec_tun.h.
◆ ipsec_ep_t
◆ ipsec_protect_flags_t
◆ ipsec_tun_lkup_result_t
◆ ipsec_tun_protect_t
◆ ipsec_tun_protect_walk_cb_t
◆ ipsec_protect_flags_t_
Enumerator |
---|
IPSEC_PROTECT_L2 | |
IPSEC_PROTECT_ENCAPED | |
Definition at line 50 of file ipsec_tun.h.
◆ CLIB_PACKED() [1/2]
◆ CLIB_PACKED() [2/2]
◆ format_ipsec4_tunnel_key()
u8* format_ipsec4_tunnel_key |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ipsec6_tunnel_key()
u8* format_ipsec6_tunnel_key |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_ipsec_tun_protect()
u8* format_ipsec_tun_protect |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ ipsec_tun_protect_del()
int ipsec_tun_protect_del |
( |
u32 |
sw_if_index | ) |
|
◆ ipsec_tun_protect_find()
◆ ipsec_tun_protect_get()
◆ ipsec_tun_protect_update()
int ipsec_tun_protect_update |
( |
u32 |
sw_if_index, |
|
|
u32 |
sa_out, |
|
|
u32 * |
sa_ins |
|
) |
| |
◆ ipsec_tun_protect_update_in()
int ipsec_tun_protect_update_in |
( |
u32 |
sw_if_index, |
|
|
u32 |
sa_in |
|
) |
| |
◆ ipsec_tun_protect_update_one()
int ipsec_tun_protect_update_one |
( |
u32 |
sw_if_index, |
|
|
u32 |
sa_out, |
|
|
u32 |
sa_in |
|
) |
| |
◆ ipsec_tun_protect_update_out()
int ipsec_tun_protect_update_out |
( |
u32 |
sw_if_index, |
|
|
u32 |
sa_out |
|
) |
| |
◆ ipsec_tun_protect_walk()
◆ ipsec4_tun_input_node
(constructor) VLIB_REGISTER_NODE (ipsec4_tun_input_node)
Definition at line 364 of file ipsec_tun_in.c.
◆ ipsec6_tun_input_node
(constructor) VLIB_REGISTER_NODE (ipsec6_tun_input_node)
Definition at line 387 of file ipsec_tun_in.c.
◆ ipsec_protect_pool
Pool of tunnel protection objects.
Definition at line 25 of file ipsec_tun.c.