Go to the source code of this file.
|
u8 * | format_pppoe_session (u8 *s, va_list *args) |
|
static u8 * | format_pppoe_name (u8 *s, va_list *args) |
|
static uword | dummy_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | pppoe_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
| VNET_DEVICE_CLASS (pppoe_device_class, static) |
|
static u8 * | format_pppoe_header_with_length (u8 *s, va_list *args) |
|
static u8 * | pppoe_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address) |
|
static void | pppoe_fixup (vlib_main_t *vm, ip_adjacency_t *adj, vlib_buffer_t *b0) |
| Fixup the adj rewrite post encap. More...
|
|
static void | pppoe_update_adj (vnet_main_t *vnm, u32 sw_if_index, adj_index_t ai) |
|
| VNET_HW_INTERFACE_CLASS (pppoe_hw_class) |
|
static bool | pppoe_decap_next_is_valid (pppoe_main_t *pem, u32 is_ip6, u32 decap_fib_index) |
|
int | vnet_pppoe_add_del_session (vnet_pppoe_add_del_session_args_t *a, u32 *sw_if_indexp) |
|
static clib_error_t * | pppoe_add_del_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_pppoe_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_pppoe_fib_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Display the contents of the PPPoE Fib. More...
|
|
clib_error_t * | pppoe_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
#define foreach_copy_field |
Value:_(session_id) \
_(encap_if_index) \
_(decap_fib_index) \
_(client_ip)
Definition at line 231 of file pppoe.c.
static u8* format_pppoe_header_with_length |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_pppoe_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
u8* format_pppoe_session |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Fixup the adj rewrite post encap.
Insert the packet's length
Definition at line 149 of file pppoe.c.
Display the contents of the PPPoE Fib.
Definition at line 625 of file pppoe.c.
VNET_DEVICE_CLASS |
( |
pppoe_device_class |
, |
|
|
static |
|
|
) |
| |
VNET_HW_INTERFACE_CLASS |
( |
pppoe_hw_class |
| ) |
|
Initial value:= {
.path = "create pppoe session",
.short_help =
"create pppoe session client-ip <client-ip> session-id <nn>"
" client-mac <client-mac> [decap-vrf-id <nn>] [del]",
}
static clib_error_t * pppoe_add_del_session_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (create_pppoe_session_command)
Definition at line 575 of file pppoe.c.
Initial value:= {
.path = "show pppoe fib",
.short_help = "show pppoe fib",
}
static clib_error_t * show_pppoe_fib_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Display the contents of the PPPoE Fib.
(constructor) VLIB_CLI_COMMAND (show_pppoe_fib_command)
Definition at line 704 of file pppoe.c.
Initial value:= {
.path = "show pppoe session",
.short_help = "show pppoe session",
}
static clib_error_t * show_pppoe_session_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_pppoe_session_command)
Definition at line 616 of file pppoe.c.