FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
dhcp_proxy_t_ Struct Reference

A DHCP proxy represenation fpr per-client VRF config. More...

+ Collaboration diagram for dhcp_proxy_t_:

Data Fields

dhcp_server_tdhcp_servers
 The set of DHCP servers to which messages are relayed. More...
 
uworddhcp_pending
 Hash table of pending requets key'd on the clients MAC address. More...
 
int lock
 A lock for the pending request DB. More...
 
ip46_address_t dhcp_src_address
 The source address to use in relayed messaes. More...
 
u32 rx_fib_index
 The FIB index (not the external Table-ID) in which the client is resides. More...
 

Detailed Description

A DHCP proxy represenation fpr per-client VRF config.

Definition at line 95 of file dhcp_proxy.h.

Field Documentation

uword* dhcp_proxy_t_::dhcp_pending

Hash table of pending requets key'd on the clients MAC address.

Definition at line 110 of file dhcp_proxy.h.

dhcp_server_t* dhcp_proxy_t_::dhcp_servers

The set of DHCP servers to which messages are relayed.

If multiple servers are configured then discover/solict messages are relayed to each. A cookie is maintained for the relay, and only one message is replayed to the client, based on the presence of the cookie. The expectation is there are only 1 or 2 servers, hence no fancy DB.

Definition at line 105 of file dhcp_proxy.h.

ip46_address_t dhcp_proxy_t_::dhcp_src_address

The source address to use in relayed messaes.

Definition at line 120 of file dhcp_proxy.h.

int dhcp_proxy_t_::lock

A lock for the pending request DB.

Definition at line 115 of file dhcp_proxy.h.

u32 dhcp_proxy_t_::rx_fib_index

The FIB index (not the external Table-ID) in which the client is resides.

Definition at line 126 of file dhcp_proxy.h.


The documentation for this struct was generated from the following file: