Go to the source code of this file.
|
static u8 * | format_dhcp_client_state (u8 *s, va_list *va) |
|
void | api_config_default_ip_route (u8 is_ipv6, u8 is_add, u32 vrf_id, u32 sw_if_index, u8 *next_hop_addr) |
|
static void | dhcp_client_acquire_address (dhcp_client_main_t *dcm, dhcp_client_t *c) |
|
static void | dhcp_client_release_address (dhcp_client_main_t *dcm, dhcp_client_t *c) |
|
static void | set_l2_rewrite (dhcp_client_main_t *dcm, dhcp_client_t *c) |
|
int | dhcp_client_for_us (u32 bi, vlib_buffer_t *b, ip4_header_t *ip, udp_header_t *udp, dhcp_header_t *dhcp) |
|
static void | send_dhcp_pkt (dhcp_client_main_t *dcm, dhcp_client_t *c, dhcp_packet_type_t type, int is_broadcast) |
|
static int | dhcp_discover_state (dhcp_client_main_t *dcm, dhcp_client_t *c, f64 now) |
|
static int | dhcp_request_state (dhcp_client_main_t *dcm, dhcp_client_t *c, f64 now) |
|
static int | dhcp_bound_state (dhcp_client_main_t *dcm, dhcp_client_t *c, f64 now) |
|
static f64 | dhcp_client_sm (f64 now, f64 timeout, uword pool_index) |
|
static uword | dhcp_client_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static u8 * | format_dhcp_client (u8 *s, va_list *va) |
|
static clib_error_t * | show_dhcp_client_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | dhcp_client_add_del (dhcp_client_add_del_args_t *a) |
|
int | dhcp_client_config (vlib_main_t *vm, u32 sw_if_index, u8 *hostname, u32 is_add, u32 client_index, void *event_callback, u32 pid) |
|
static clib_error_t * | dhcp_client_set_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | dhcp_client_init (vlib_main_t *vm) |
|
void api_config_default_ip_route |
( |
u8 |
is_ipv6, |
|
|
u8 |
is_add, |
|
|
u32 |
vrf_id, |
|
|
u32 |
sw_if_index, |
|
|
u8 * |
next_hop_addr |
|
) |
| |
static u8* format_dhcp_client |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
static u8 * format_dhcp_client_state |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
Initial value:= {
.name = "dhcp-client-process",
.process_log2_n_stack_bytes = 16,
}
static uword dhcp_client_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (dhcp_client_process_node)
Definition at line 20 of file client.c.
Initial value:= {
.path = "set dhcp client",
.short_help = "set dhcp client [del] intfc <interface> [hostname <name>]",
}
static clib_error_t * dhcp_client_set_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (dhcp_client_set_command)
Definition at line 943 of file client.c.
Initial value:= {
.path = "show dhcp client",
.short_help = "show dhcp client [intfc <intfc>][verbose]",
}
static clib_error_t * show_dhcp_client_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_dhcp_client_command)
Definition at line 705 of file client.c.