FD.io VPP  v18.07.1-19-g511ce25
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

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

Definition at line 195 of file dhcp_client.cpp.

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 201 of file dhcp_client.cpp.

Member Function Documentation

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

Definition at line 217 of file dhcp_client.cpp.

+ Here is the call graph for this function:

Field Documentation

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

Definition at line 75 of file dhcp_client.hpp.

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

Definition at line 76 of file dhcp_client.hpp.

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

Definition at line 73 of file dhcp_client.hpp.

mac_address_t VOM::dhcp_client::lease_t::mac

Definition at line 77 of file dhcp_client.hpp.

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

Definition at line 74 of file dhcp_client.hpp.

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: