Go to the source code of this file.
|
static void | tuntap_punt_frame (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static void | tuntap_nopunt_frame (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | tuntap_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | tuntap_rx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | tuntap_read_ready (unix_file_t *uf) |
|
static clib_error_t * | tuntap_exit (vlib_main_t *vm) |
|
static clib_error_t * | tuntap_config (vlib_main_t *vm, unformat_input_t *input) |
|
void | tuntap_ip4_add_del_interface_address (ip4_main_t *im, uword opaque, u32 sw_if_index, ip4_address_t *address, u32 address_length, u32 if_address_index, u32 is_delete) |
|
void | tuntap_ip6_add_del_interface_address (ip6_main_t *im, uword opaque, u32 sw_if_index, ip6_address_t *address, u32 address_length, u32 if_address_index, u32 is_delete) |
|
| VNET_HW_INTERFACE_CLASS (tuntap_interface_class, static) |
|
static u8 * | format_tuntap_interface_name (u8 *s, va_list *args) |
|
static uword | tuntap_intfc_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_DEVICE_CLASS (tuntap_dev_class, static) |
|
static clib_error_t * | tuntap_init (vlib_main_t *vm) |
|
Enumerator |
---|
TUNTAP_RX_NEXT_IP4_INPUT |
|
TUNTAP_RX_NEXT_IP6_INPUT |
|
TUNTAP_RX_NEXT_ETHERNET_INPUT |
|
TUNTAP_RX_NEXT_DROP |
|
TUNTAP_RX_N_NEXT |
|
Definition at line 187 of file tuntap.c.
static u8* format_tuntap_interface_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Initial value:= {
.tun_name = "vnet",
.mtu_bytes = 4096 + 256,
}
Definition at line 108 of file tuntap.c.
char* tuntap_rx_error_strings[] |
|
static |
Initial value:= {
"unknown packet type",
}
Definition at line 364 of file tuntap.c.
Initial value:= {
.name = "tuntap-rx",
.state = VLIB_NODE_STATE_INTERRUPT,
.vector_size = 4,
.n_errors = 1,
.next_nodes = {
},
}
static uword tuntap_rx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * tuntap_rx_error_strings[]
(constructor) VLIB_REGISTER_NODE (tuntap_rx_node)
Definition at line 368 of file tuntap.c.
Initial value:= {
.name = "tuntap-tx",
.vector_size = 4,
}
static uword tuntap_tx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (tuntap_tx_node)
Definition at line 180 of file tuntap.c.