Go to the source code of this file.
◆ foreach_wg_output_error
#define foreach_wg_output_error |
Value:_(NONE, "No error") \
_(PEER, "Peer error") \
_(KEYPAIR, "Keypair error") \
_(TOO_BIG, "packet too big") \
Definition at line 23 of file wireguard_output_tun.c.
◆ wg_output_error_t
◆ wg_output_next_t
Enumerator |
---|
WG_OUTPUT_NEXT_ERROR | |
WG_OUTPUT_NEXT_HANDOFF | |
WG_OUTPUT_NEXT_INTERFACE_OUTPUT | |
WG_OUTPUT_N_NEXT | |
Definition at line 43 of file wireguard_output_tun.c.
◆ format_ip4_udp_header()
u8* format_ip4_udp_header |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_wg_output_tun_trace()
static u8* format_wg_output_tun_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ wg_output_tun_node()
◆ wg_output_error_strings
char* wg_output_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_wg_output_error
Definition at line 37 of file wireguard_output_tun.c.
◆ wg_output_tun_node
Initial value:=
{
.name = "wg-output-tun",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * wg_output_error_strings[]
vl_api_fib_path_type_t type
static u8 * format_wg_output_tun_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (wg_output_tun_node)
Definition at line 217 of file wireguard_output_tun.c.