FD.io VPP  v20.05.1-5-g09f167997
Vector Packet Processing
VOM::dhcp_client::lease_t Struct Reference

A DHCP lease data. More...

+ Collaboration diagram for VOM::dhcp_client::lease_t:

Public Member Functions

 lease_t ()
 
 lease_t (const state_t &state, std::shared_ptr< interface > itf, const boost::asio::ip::address &router_address, const route::prefix_t &host_prefix, const std::string &hostname, const mac_address_t &mac)
 
std::string to_string () const
 

Data Fields

const state_tstate
 
std::shared_ptr< interfaceitf
 
boost::asio::ip::address router_address
 
route::prefix_t host_prefix
 
std::string hostname
 
mac_address_t mac
 

Detailed Description

A DHCP lease data.

Definition at line 60 of file dhcp_client.hpp.

Constructor & Destructor Documentation

◆ lease_t() [1/2]

VOM::dhcp_client::lease_t::lease_t ( )

Definition at line 202 of file dhcp_client.cpp.

◆ lease_t() [2/2]

VOM::dhcp_client::lease_t::lease_t ( const state_t state,
std::shared_ptr< interface itf,
const boost::asio::ip::address router_address,
const route::prefix_t host_prefix,
const std::string &  hostname,
const mac_address_t mac 
)

Definition at line 208 of file dhcp_client.cpp.

Member Function Documentation

◆ to_string()

std::string VOM::dhcp_client::lease_t::to_string ( void  ) const

Definition at line 224 of file dhcp_client.cpp.

+ Here is the call graph for this function:

Field Documentation

◆ host_prefix

route::prefix_t VOM::dhcp_client::lease_t::host_prefix

Definition at line 75 of file dhcp_client.hpp.

◆ hostname

std::string VOM::dhcp_client::lease_t::hostname

Definition at line 76 of file dhcp_client.hpp.

◆ itf

std::shared_ptr<interface> VOM::dhcp_client::lease_t::itf

Definition at line 73 of file dhcp_client.hpp.

◆ mac

mac_address_t VOM::dhcp_client::lease_t::mac

Definition at line 77 of file dhcp_client.hpp.

◆ router_address

boost::asio::ip::address VOM::dhcp_client::lease_t::router_address

Definition at line 74 of file dhcp_client.hpp.

◆ state

const state_t& VOM::dhcp_client::lease_t::state

Definition at line 72 of file dhcp_client.hpp.


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