FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
client.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dhcp_client_t
 
struct  dhcp_client_main_t
 
struct  dhcp_client_add_del_args_t
 

Macros

#define foreach_dhcp_client_state
 
#define EVENT_DHCP_CLIENT_WAKEUP   1
 

Enumerations

enum  dhcp_client_state_t { foreach_dhcp_client_state }
 

Functions

int dhcp_client_for_us (u32 bi0, vlib_buffer_t *b0, ip4_header_t *ip0, udp_header_t *u0, dhcp_header_t *dh0)
 
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)
 

Variables

dhcp_client_main_t dhcp_client_main
 

Macro Definition Documentation

#define EVENT_DHCP_CLIENT_WAKEUP   1

Definition at line 102 of file client.h.

#define foreach_dhcp_client_state
Value:
_(DHCP_DISCOVER) \
_(DHCP_REQUEST) \
_(DHCP_BOUND)

Definition at line 22 of file client.h.

Enumeration Type Documentation

Enumerator
foreach_dhcp_client_state 

Definition at line 27 of file client.h.

Function Documentation

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 
)

Definition at line 836 of file client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int dhcp_client_for_us ( u32  bi0,
vlib_buffer_t b0,
ip4_header_t ip0,
udp_header_t u0,
dhcp_header_t dh0 
)

Definition at line 65 of file client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

dhcp_client_main_t dhcp_client_main

Definition at line 100 of file client.h.