#include <dhcp_proto.h>
Definition at line 23 of file dhcp_proto.h.
◆ LeaseManagerMap
◆ LeaseManagerPair
◆ DhcpMsgType
◆ DhcpProto()
DhcpProto::DhcpProto |
( |
Agent * |
agent, |
|
|
boost::asio::io_context & |
io, |
|
|
bool |
run_with_vrouter |
|
) |
| |
◆ ~DhcpProto()
DhcpProto::~DhcpProto |
( |
| ) |
|
|
virtual |
◆ AllocProtoHandler()
ProtoHandler * DhcpProto::AllocProtoHandler |
( |
boost::shared_ptr< PktInfo > |
info, |
|
|
boost::asio::io_context & |
io |
|
) |
| |
|
virtual |
◆ AsyncRead()
void DhcpProto::AsyncRead |
( |
| ) |
|
|
private |
◆ ClearStats()
void DhcpProto::ClearStats |
( |
| ) |
|
|
inline |
◆ CreateLeaseDb()
◆ DeleteLeaseDb()
◆ dhcp_relay_mode()
bool DhcpProto::dhcp_relay_mode |
( |
| ) |
const |
|
inline |
◆ DISALLOW_COPY_AND_ASSIGN()
DhcpProto::DISALLOW_COPY_AND_ASSIGN |
( |
DhcpProto |
| ) |
|
|
private |
◆ GetLeaseDb()
◆ GetLeaseFileName()
std::string DhcpProto::GetLeaseFileName |
( |
const VmInterface * |
vmi | ) |
|
|
private |
◆ GetStats()
const DhcpStats& DhcpProto::GetStats |
( |
| ) |
const |
|
inline |
◆ IncrDhcpDisabledDrops()
void DhcpProto::IncrDhcpDisabledDrops |
( |
| ) |
|
|
inline |
◆ IncrIncorrectMac()
void DhcpProto::IncrIncorrectMac |
( |
| ) |
|
|
inline |
◆ IncrStatsAcks()
void DhcpProto::IncrStatsAcks |
( |
| ) |
|
|
inline |
◆ IncrStatsDecline()
void DhcpProto::IncrStatsDecline |
( |
| ) |
|
|
inline |
◆ IncrStatsDiscover()
void DhcpProto::IncrStatsDiscover |
( |
| ) |
|
|
inline |
◆ IncrStatsErrors()
void DhcpProto::IncrStatsErrors |
( |
| ) |
|
|
inline |
◆ IncrStatsInform()
void DhcpProto::IncrStatsInform |
( |
| ) |
|
|
inline |
◆ IncrStatsNacks()
void DhcpProto::IncrStatsNacks |
( |
| ) |
|
|
inline |
◆ IncrStatsOffers()
void DhcpProto::IncrStatsOffers |
( |
| ) |
|
|
inline |
◆ IncrStatsOther()
void DhcpProto::IncrStatsOther |
( |
| ) |
|
|
inline |
◆ IncrStatsRelayReqs()
void DhcpProto::IncrStatsRelayReqs |
( |
| ) |
|
|
inline |
◆ IncrStatsRelayResps()
void DhcpProto::IncrStatsRelayResps |
( |
| ) |
|
|
inline |
◆ IncrStatsRelease()
void DhcpProto::IncrStatsRelease |
( |
| ) |
|
|
inline |
◆ IncrStatsRequest()
void DhcpProto::IncrStatsRequest |
( |
| ) |
|
|
inline |
◆ IncrUnknownMsgDrops()
void DhcpProto::IncrUnknownMsgDrops |
( |
| ) |
|
|
inline |
◆ ip_fabric_interface()
Interface* DhcpProto::ip_fabric_interface |
( |
| ) |
const |
|
inline |
◆ ip_fabric_interface_index()
uint32_t DhcpProto::ip_fabric_interface_index |
( |
| ) |
const |
|
inline |
◆ ip_fabric_interface_mac()
const MacAddress& DhcpProto::ip_fabric_interface_mac |
( |
| ) |
const |
|
inline |
◆ IsRunningWithVrouter()
bool DhcpProto::IsRunningWithVrouter |
( |
| ) |
const |
|
inline |
◆ ItfNotify()
◆ lease_manager()
◆ LeaseFileCleanupExpiry()
bool DhcpProto::LeaseFileCleanupExpiry |
( |
uint32_t |
seqno | ) |
|
|
private |
◆ pkt_interface_index()
uint32_t DhcpProto::pkt_interface_index |
( |
| ) |
const |
|
inline |
◆ ReadHandler()
void DhcpProto::ReadHandler |
( |
const boost::system::error_code & |
error, |
|
|
std::size_t |
len |
|
) |
| |
|
private |
◆ SendDhcpIpc()
void DhcpProto::SendDhcpIpc |
( |
uint8_t * |
dhcp, |
|
|
std::size_t |
len |
|
) |
| |
◆ set_dhcp_relay_mode()
void DhcpProto::set_dhcp_relay_mode |
( |
bool |
mode | ) |
|
|
inline |
◆ set_ip_fabric_interface()
void DhcpProto::set_ip_fabric_interface |
( |
Interface * |
itf | ) |
|
|
inline |
◆ set_ip_fabric_interface_index()
void DhcpProto::set_ip_fabric_interface_index |
( |
uint32_t |
ind | ) |
|
|
inline |
◆ set_ip_fabric_interface_mac()
void DhcpProto::set_ip_fabric_interface_mac |
( |
const MacAddress & |
mac | ) |
|
|
inline |
◆ set_pkt_interface_index()
void DhcpProto::set_pkt_interface_index |
( |
uint32_t |
ind | ) |
|
|
inline |
◆ Shutdown()
void DhcpProto::Shutdown |
( |
| ) |
|
◆ StartLeaseFileCleanupTimer()
void DhcpProto::StartLeaseFileCleanupTimer |
( |
| ) |
|
|
private |
◆ VnNotify()
◆ dhcp_relay_mode_
bool DhcpProto::dhcp_relay_mode_ |
|
private |
◆ dhcp_server_read_buf_
uint8_t* DhcpProto::dhcp_server_read_buf_ |
|
private |
◆ dhcp_server_socket_
boost::asio::ip::udp::socket DhcpProto::dhcp_server_socket_ |
|
private |
◆ gateway_delete_seqno_
uint32_t DhcpProto::gateway_delete_seqno_ |
|
private |
◆ gw_vmi_list_
◆ iid_
◆ ip_fabric_interface_
◆ ip_fabric_interface_index_
uint32_t DhcpProto::ip_fabric_interface_index_ |
|
private |
◆ ip_fabric_interface_mac_
◆ kDhcpLeaseFileDeleteTimeout
const uint32_t DhcpProto::kDhcpLeaseFileDeleteTimeout = 60 * 60 * 1000 |
|
static |
◆ kDhcpMaxPacketSize
const uint32_t DhcpProto::kDhcpMaxPacketSize = 1024 |
|
static |
◆ lease_file_cleanup_timer_
Timer* DhcpProto::lease_file_cleanup_timer_ |
|
private |
◆ lease_manager_
◆ pkt_interface_index_
uint32_t DhcpProto::pkt_interface_index_ |
|
private |
◆ remote_endpoint_
boost::asio::ip::udp::endpoint DhcpProto::remote_endpoint_ |
|
private |
◆ run_with_vrouter_
bool DhcpProto::run_with_vrouter_ |
|
private |
◆ stats_
◆ vnid_
The documentation for this class was generated from the following files: