FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
A entry in the ARP termination table of a Bridge Domain. More...
Public Types | |
typedef std::pair< bridge_domain::key_t, boost::asio::ip::address > | key_t |
The key for a bridge_domain ARP entry; the BD, IP address and MAC address. More... | |
Public Member Functions | |
bridge_domain_arp_entry (const bridge_domain &bd, const boost::asio::ip::address &ip_addr, const mac_address_t &mac) | |
Construct a bridge domain ARP Entry in the given bridge domain. More... | |
bridge_domain_arp_entry (const boost::asio::ip::address &ip_addr, const mac_address_t &mac) | |
Construct a bridge domain ARP entry in the default table. More... | |
bridge_domain_arp_entry (const bridge_domain_arp_entry &r) | |
Copy Construct. More... | |
~bridge_domain_arp_entry () | |
Destructor. More... | |
const key_t | key () const |
Return the object's key. More... | |
bool | operator== (const bridge_domain_arp_entry &bdae) const |
comparison operator More... | |
std::shared_ptr< bridge_domain_arp_entry > | singular () const |
Return the matching 'singular instance'. More... | |
void | replay (void) |
replay the object to create it in hardware More... | |
std::string | to_string () const |
Convert to string for debugging. More... | |
Static Public Member Functions | |
static std::shared_ptr< bridge_domain_arp_entry > | find (const key_t &k) |
Find the instnace of the bridge_domain domain in the OM. More... | |
static void | dump (std::ostream &os) |
Dump all bridge_domain-doamin into the stream provided. More... | |
Friends | |
class | OM |
class | singular_db< key_t, bridge_domain_arp_entry > |
It's the singular_db class that calls replay() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::object_base | |
object_base ()=default | |
Constructable by derived classes only. More... | |
virtual | ~object_base ()=default |
Destructor. More... | |
A entry in the ARP termination table of a Bridge Domain.
Definition at line 28 of file bridge_domain_arp_entry.hpp.
typedef std::pair<bridge_domain::key_t, boost::asio::ip::address> VOM::bridge_domain_arp_entry::key_t |
The key for a bridge_domain ARP entry; the BD, IP address and MAC address.
Definition at line 35 of file bridge_domain_arp_entry.hpp.
VOM::bridge_domain_arp_entry::bridge_domain_arp_entry | ( | const bridge_domain & | bd, |
const boost::asio::ip::address & | ip_addr, | ||
const mac_address_t & | mac | ||
) |
Construct a bridge domain ARP Entry in the given bridge domain.
Definition at line 27 of file bridge_domain_arp_entry.cpp.
VOM::bridge_domain_arp_entry::bridge_domain_arp_entry | ( | const boost::asio::ip::address & | ip_addr, |
const mac_address_t & | mac | ||
) |
Construct a bridge domain ARP entry in the default table.
Definition at line 38 of file bridge_domain_arp_entry.cpp.
VOM::bridge_domain_arp_entry::bridge_domain_arp_entry | ( | const bridge_domain_arp_entry & | r | ) |
Copy Construct.
Definition at line 54 of file bridge_domain_arp_entry.cpp.
VOM::bridge_domain_arp_entry::~bridge_domain_arp_entry | ( | ) |
Destructor.
Definition at line 63 of file bridge_domain_arp_entry.cpp.
|
static |
Dump all bridge_domain-doamin into the stream provided.
Definition at line 143 of file bridge_domain_arp_entry.cpp.
|
static |
Find the instnace of the bridge_domain domain in the OM.
Definition at line 131 of file bridge_domain_arp_entry.cpp.
const bridge_domain_arp_entry::key_t VOM::bridge_domain_arp_entry::key | ( | ) | const |
Return the object's key.
Definition at line 72 of file bridge_domain_arp_entry.cpp.
bool VOM::bridge_domain_arp_entry::operator== | ( | const bridge_domain_arp_entry & | bdae | ) | const |
comparison operator
Definition at line 78 of file bridge_domain_arp_entry.cpp.
|
virtual |
replay the object to create it in hardware
Implements VOM::object_base.
Definition at line 94 of file bridge_domain_arp_entry.cpp.
std::shared_ptr< bridge_domain_arp_entry > VOM::bridge_domain_arp_entry::singular | ( | ) | const |
Return the matching 'singular instance'.
Definition at line 137 of file bridge_domain_arp_entry.cpp.
|
virtual |
Convert to string for debugging.
Implements VOM::object_base.
Definition at line 103 of file bridge_domain_arp_entry.cpp.
|
friend |
Definition at line 145 of file bridge_domain_arp_entry.hpp.
|
friend |
It's the singular_db class that calls replay()
Definition at line 150 of file bridge_domain_arp_entry.hpp.