FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
dhcp_proxy_t_ Struct Reference

A DHCP proxy representation 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 representation fpr per-client VRF config.

Definition at line 101 of file dhcp_proxy.h.

Field Documentation

◆ dhcp_pending

uword* dhcp_proxy_t_::dhcp_pending

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

Definition at line 116 of file dhcp_proxy.h.

◆ dhcp_servers

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 111 of file dhcp_proxy.h.

◆ dhcp_src_address

ip46_address_t dhcp_proxy_t_::dhcp_src_address

The source address to use in relayed messaes.

Definition at line 126 of file dhcp_proxy.h.

◆ lock

int dhcp_proxy_t_::lock

A lock for the pending request DB.

Definition at line 121 of file dhcp_proxy.h.

◆ rx_fib_index

u32 dhcp_proxy_t_::rx_fib_index

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

Definition at line 132 of file dhcp_proxy.h.


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