Go to the source code of this file.
|
u8 * | format_dhcpv6_proxy_trace (u8 *s, va_list *args) |
|
u8 * | format_dhcpv6_proxy_header_with_length (u8 *s, va_list *args) |
|
static ip6_address_t * | ip6_interface_first_global_or_site_address (ip6_main_t *im, u32 sw_if_index) |
|
static ip6_address_t * | ip6_interface_first_address (ip6_main_t *im, u32 sw_if_index) |
|
static void | copy_ip6_address (ip6_address_t *dst, ip6_address_t *src) |
|
static uword | dhcpv6_proxy_to_server_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
static uword | dhcpv6_proxy_to_client_input (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
clib_error_t * | dhcpv6_proxy_init (vlib_main_t *vm) |
|
int | dhcpv6_proxy_set_server (ip6_address_t *addr, ip6_address_t *src_address, u32 fib_id, int insert_vss, int is_del) |
|
static clib_error_t * | dhcpv6_proxy_set_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 * | format_dhcpv6_proxy_server (u8 *s, va_list *args) |
|
static clib_error_t * | dhcpv6_proxy_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | dhcpv6_proxy_set_vss (u32 tbl_id, u32 oui, u32 fib_id, int is_del) |
|
static clib_error_t * | dhcpv6_vss_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | dhcpv6_vss_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | dhcpv6_link_address_show_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
#define dhcpv6_proxy_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
#define foreach_dhcpv6_proxy_to_server_input_next |
Value: _ (LOOKUP, "ip6-lookup") \
_ (SEND_TO_CLIENT, "dhcpv6-proxy-to-client")
Definition at line 28 of file proxy_node.c.
Enumerator |
---|
DHCPV6_PROXY_TO_SERVER_INPUT_N_NEXT |
|
Definition at line 34 of file proxy_node.c.
int dhcpv6_proxy_set_vss |
( |
u32 |
tbl_id, |
|
|
u32 |
oui, |
|
|
u32 |
fib_id, |
|
|
int |
is_del |
|
) |
| |
u8* format_dhcpv6_proxy_header_with_length |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_dhcpv6_proxy_server |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_dhcpv6_proxy_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Initial value:= {
.path = "show dhcpv6 link-address interface",
.short_help = "show dhcpv6 link-address interface <interface>",
}
static clib_error_t * dhcpv6_link_address_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcpv6_proxy_address_show_command)
Definition at line 1044 of file proxy_node.c.
char* dhcpv6_proxy_error_strings[] |
|
static |
Initial value:= {
#define dhcpv6_proxy_error(n,s)
dhcpv6_proxy_error (NO_CIRCUIT_ID_OPTION, "DHCPv6 reply packets without circuit ID option")
dhcpv6_proxy_error (BAD_SVR_FIB_OR_ADDRESS, "DHCPv6 packets not from DHCPv6 server or server FIB.")
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
#define dhcpv6_proxy_error(n, s)
Definition at line 22 of file proxy_node.c.
Initial value:= {
.path = "set dhcpv6 proxy",
.short_help = "set dhcpv6 proxy server <ipv6-addr> fib-id <fib-id> src-address <ipv6-addr>",
}
static clib_error_t * dhcpv6_proxy_set_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcpv6_proxy_set_command)
Definition at line 815 of file proxy_node.c.
Initial value:= {
.path = "show dhcpv6 proxy",
.short_help = "Display dhcpv6 proxy info",
}
static clib_error_t * dhcpv6_proxy_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcpv6_proxy_show_command)
Definition at line 859 of file proxy_node.c.
Initial value:= {
.name = "dhcpv6-proxy-to-client",
.vector_size =
sizeof (
u32),
}
u8 * format_dhcpv6_proxy_header_with_length(u8 *s, va_list *args)
u8 * format_dhcpv6_proxy_trace(u8 *s, va_list *args)
static char * dhcpv6_proxy_error_strings[]
static uword dhcpv6_proxy_to_client_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
(constructor) VLIB_REGISTER_NODE (dhcpv6_proxy_to_client_node)
Definition at line 51 of file proxy_node.c.
Initial value:= {
.name = "dhcpv6-proxy-to-server",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static uword dhcpv6_proxy_to_server_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
u8 * format_dhcpv6_proxy_header_with_length(u8 *s, va_list *args)
u8 * format_dhcpv6_proxy_trace(u8 *s, va_list *args)
#define foreach_dhcpv6_proxy_to_server_input_next
static char * dhcpv6_proxy_error_strings[]
(constructor) VLIB_REGISTER_NODE (dhcpv6_proxy_to_server_node)
Definition at line 50 of file proxy_node.c.
Initial value:= {
.path = "set dhcpv6 vss",
.short_help = "set dhcpv6 vss table <table-id> oui <oui> vpn-idx <vpn-idx>",
}
static clib_error_t * dhcpv6_vss_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcpv6_proxy_vss_command)
Definition at line 967 of file proxy_node.c.
Initial value:= {
.path = "show dhcpv6 vss",
.short_help = "show dhcpv6 VSS",
}
static clib_error_t * dhcpv6_vss_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcpv6_proxy_vss_show_command)
Definition at line 999 of file proxy_node.c.