FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
client.h File Reference
+ Include dependency graph for client.h:
+ 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 105 of file client.h.

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

Definition at line 25 of file client.h.

Enumeration Type Documentation

Enumerator
foreach_dhcp_client_state 

Definition at line 30 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 66 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 103 of file client.h.