Go to the source code of this file.
|
static u8 * | format_wg_handoff_trace (u8 *s, va_list *args) |
|
static_always_inline uword | wg_handoff (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u32 fq_index, wg_handoff_mode_t mode) |
|
VLIB_NODE_FN() | wg_handshake_handoff (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
VLIB_NODE_FN() | wg_input_data_handoff (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
VLIB_NODE_FN() | wg_output_tun_handoff (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
◆ foreach_wg_handoff_error
#define foreach_wg_handoff_error _(CONGESTION_DROP, "congestion drop") |
◆ wg_handoff_trace_t
◆ ipsec_handoff_error_t
◆ wg_handoff_mode_t
Enumerator |
---|
WG_HANDOFF_HANDSHAKE | |
WG_HANDOFF_INP_DATA | |
WG_HANDOFF_OUT_TUN | |
Definition at line 37 of file wireguard_handoff.c.
◆ format_wg_handoff_trace()
static u8* format_wg_handoff_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ wg_handoff()
◆ wg_handshake_handoff()
◆ wg_input_data_handoff()
◆ wg_output_tun_handoff()
◆ wg_handoff_error_strings
char* wg_handoff_error_strings[] |
|
static |
◆ wg_handshake_handoff
Initial value:=
{
.name = "wg-handshake-handoff",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
(constructor) VLIB_REGISTER_NODE (wg_handshake_handoff)
Definition at line 163 of file wireguard_handoff.c.
◆ wg_input_data_handoff
Initial value:=
{
.name = "wg-input-data-handoff",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
(constructor) VLIB_REGISTER_NODE (wg_input_data_handoff)
Definition at line 177 of file wireguard_handoff.c.
◆ wg_output_tun_handoff
Initial value:=
{
.name = "wg-output-tun-handoff",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
(constructor) VLIB_REGISTER_NODE (wg_output_tun_handoff)
Definition at line 191 of file wireguard_handoff.c.