Go to the source code of this file.
|
static u8 * | format_dhcp_proxy_trace (u8 *s, va_list *args) |
|
static u8 * | format_dhcp_proxy_header_with_length (u8 *s, va_list *args) |
|
static uword | dhcp_proxy_to_server_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | dhcp_proxy_to_client_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static clib_error_t * | dhcp4_proxy_init (vlib_main_t *vm) |
|
int | dhcp4_proxy_set_server (ip46_address_t *addr, ip46_address_t *src_addr, u32 rx_table_id, u32 server_table_id, int is_del) |
|
static clib_error_t * | dhcp4_proxy_set_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_dhcp4_proxy_server (u8 *s, va_list *args) |
|
static int | dhcp4_proxy_show_walk (dhcp_proxy_t *server, void *ctx) |
|
static clib_error_t * | dhcp4_proxy_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | dhcp_option_82_vss_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | dhcp_vss_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | dhcp_option_82_address_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
#define dhcp_proxy_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
#define foreach_dhcp_proxy_to_server_input_next |
Value: _ (LOOKUP, "ip4-lookup") \
_ (SEND_TO_CLIENT, "dhcp-proxy-to-client")
Definition at line 30 of file dhcp4_proxy_node.c.
#define VPP_DHCP_OPTION82_SIZE |
Value:#define VPP_DHCP_OPTION82_SUB5_SIZE
#define VPP_DHCP_OPTION82_VSS_SIZE
#define VPP_DHCP_OPTION82_SUB1_SIZE
Definition at line 54 of file dhcp4_proxy_node.c.
#define VPP_DHCP_OPTION82_SUB1_SIZE 6 |
#define VPP_DHCP_OPTION82_SUB5_SIZE 6 |
#define VPP_DHCP_OPTION82_VSS_SIZE 12 |
int dhcp4_proxy_set_server |
( |
ip46_address_t * |
addr, |
|
|
ip46_address_t * |
src_addr, |
|
|
u32 |
rx_table_id, |
|
|
u32 |
server_table_id, |
|
|
int |
is_del |
|
) |
| |
static int dhcp4_proxy_show_walk |
( |
dhcp_proxy_t * |
server, |
|
|
void * |
ctx |
|
) |
| |
|
static |
static u8* format_dhcp4_proxy_server |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_dhcp_proxy_header_with_length |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_dhcp_proxy_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Initial value:= {
.path = "show dhcp option-82-address interface",
.short_help = "show dhcp option-82-address interface <interface>",
}
static clib_error_t * dhcp_option_82_address_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcp_proxy_address_show_command)
Definition at line 1063 of file dhcp4_proxy_node.c.
char* dhcp_proxy_error_strings[] |
|
static |
Initial value:= {
.path = "set dhcp proxy",
.short_help = "set dhcp proxy [del] server <ip-addr> src-address <ip-addr> [server-fib-id <n>] [rx-fib-id <n>]",
}
static clib_error_t * dhcp4_proxy_set_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcp_proxy_set_command)
Definition at line 881 of file dhcp4_proxy_node.c.
Initial value:= {
.path = "show dhcp proxy",
.short_help = "Display dhcp proxy server info",
}
static clib_error_t * dhcp4_proxy_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcp_proxy_show_command)
Definition at line 940 of file dhcp4_proxy_node.c.
Initial value:= {
.name = "dhcp-proxy-to-client",
.vector_size =
sizeof (
u32),
}
static uword dhcp_proxy_to_client_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static char * dhcp_proxy_error_strings[]
static u8 * format_dhcp_proxy_trace(u8 *s, va_list *args)
static u8 * format_dhcp_proxy_header_with_length(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (dhcp_proxy_to_client_node)
Definition at line 59 of file dhcp4_proxy_node.c.
Initial value:= {
.name = "dhcp-proxy-to-server",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static uword dhcp_proxy_to_server_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static char * dhcp_proxy_error_strings[]
static u8 * format_dhcp_proxy_trace(u8 *s, va_list *args)
#define foreach_dhcp_proxy_to_server_input_next
static u8 * format_dhcp_proxy_header_with_length(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (dhcp_proxy_to_server_node)
Definition at line 58 of file dhcp4_proxy_node.c.
Initial value:= {
.path = "set dhcp option-82 vss",
.short_help = "set dhcp option-82 vss [del] table <table id> oui <oui> vpn-id <vpn-id>",
}
static clib_error_t * dhcp_option_82_vss_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcp_proxy_vss_command)
Definition at line 996 of file dhcp4_proxy_node.c.
Initial value:= {
.path = "show dhcp vss",
.short_help = "show dhcp VSS",
}
static clib_error_t * dhcp_vss_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcp_proxy_vss_show_command)
Definition at line 1013 of file dhcp4_proxy_node.c.