FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | DHCP_DBG(...) vlib_log_debug (dhcp_logger, __VA_ARGS__) |
#define | DHCP_INFO(...) vlib_log_notice (dhcp_logger, __VA_ARGS__) |
#define | foreach_dhcp_sent_packet_stat |
#define | foreach_dhcp_error_counter |
Enumerations | |
enum | sample_error_t { SAMPLE_N_ERROR, DHCP_STAT_UNKNOWN, DHCP_STAT_N_STAT } |
Variables | |
vlib_log_class_t | dhcp_logger |
dhcp_client_main_t | dhcp_client_main |
static vlib_node_registration_t | dhcp_client_process_node |
(constructor) VLIB_REGISTER_NODE (dhcp_client_process_node) More... | |
static char * | dhcp_client_process_stat_strings [] |
static vlib_cli_command_t | show_dhcp_client_command |
(constructor) VLIB_CLI_COMMAND (show_dhcp_client_command) More... | |
static vlib_cli_command_t | dhcp_client_set_command |
(constructor) VLIB_CLI_COMMAND (dhcp_client_set_command) More... | |
#define DHCP_DBG | ( | ... | ) | vlib_log_debug (dhcp_logger, __VA_ARGS__) |
#define DHCP_INFO | ( | ... | ) | vlib_log_notice (dhcp_logger, __VA_ARGS__) |
#define foreach_dhcp_error_counter |
#define foreach_dhcp_sent_packet_stat |
enum sample_error_t |
|
static |
|
static |
int dhcp_client_add_del | ( | dhcp_client_add_del_args_t * | a | ) |
|
static |
int dhcp_client_config | ( | u32 | is_add, |
u32 | client_index, | ||
vlib_main_t * | vm, | ||
u32 | sw_if_index, | ||
u8 * | hostname, | ||
u8 * | client_id, | ||
dhcp_event_cb_t | event_callback, | ||
u8 | set_broadcast_flag, | ||
ip_dscp_t | dscp, | ||
u32 | pid | ||
) |
int dhcp_client_for_us | ( | u32 | bi, |
vlib_buffer_t * | b, | ||
ip4_header_t * | ip, | ||
udp_header_t * | udp, | ||
dhcp_header_t * | dhcp | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void dhcp_client_walk | ( | dhcp_client_walk_cb_t | cb, |
void * | ctx | ||
) |
|
static |
|
static |
|
static |
|
static |
dhcp_client_main_t dhcp_client_main |
|
static |
(constructor) VLIB_REGISTER_NODE (dhcp_client_process_node)
|
static |
|
static |
(constructor) VLIB_CLI_COMMAND (dhcp_client_set_command)
vlib_log_class_t dhcp_logger |
|
static |
(constructor) VLIB_CLI_COMMAND (show_dhcp_client_command)