FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
|
Combaintion of attributes that are a unique key for a VXLAN tunnel. More...
Public Member Functions | |
endpoint_t () | |
Default constructor. More... | |
endpoint_t (const boost::asio::ip::address &src, const boost::asio::ip::address &dst, uint32_t vni) | |
Constructor taking endpoint values. More... | |
bool | operator< (const endpoint_t &o) const |
less-than operator for map storage More... | |
bool | operator== (const endpoint_t &o) const |
Comparison operator. More... | |
std::string | to_string () const |
Debug print function. More... | |
Data Fields | |
boost::asio::ip::address | src |
The src IP address of the endpoint. More... | |
boost::asio::ip::address | dst |
The destination IP address of the endpoint. More... | |
uint32_t | vni |
The VNI of the endpoint. More... | |
Combaintion of attributes that are a unique key for a VXLAN tunnel.
Definition at line 39 of file vxlan_tunnel.hpp.
VOM::vxlan_tunnel::endpoint_t::endpoint_t | ( | ) |
Default constructor.
Definition at line 42 of file vxlan_tunnel.cpp.
VOM::vxlan_tunnel::endpoint_t::endpoint_t | ( | const boost::asio::ip::address & | src, |
const boost::asio::ip::address & | dst, | ||
uint32_t | vni | ||
) |
Constructor taking endpoint values.
Definition at line 33 of file vxlan_tunnel.cpp.
bool VOM::vxlan_tunnel::endpoint_t::operator< | ( | const endpoint_t & | o | ) | const |
less-than operator for map storage
Definition at line 56 of file vxlan_tunnel.cpp.
bool VOM::vxlan_tunnel::endpoint_t::operator== | ( | const endpoint_t & | o | ) | const |
Comparison operator.
Definition at line 50 of file vxlan_tunnel.cpp.
std::string VOM::vxlan_tunnel::endpoint_t::to_string | ( | void | ) | const |
Debug print function.
Definition at line 69 of file vxlan_tunnel.cpp.
boost::asio::ip::address VOM::vxlan_tunnel::endpoint_t::dst |
The destination IP address of the endpoint.
Definition at line 75 of file vxlan_tunnel.hpp.
boost::asio::ip::address VOM::vxlan_tunnel::endpoint_t::src |
The src IP address of the endpoint.
Definition at line 70 of file vxlan_tunnel.hpp.
uint32_t VOM::vxlan_tunnel::endpoint_t::vni |
The VNI of the endpoint.
Definition at line 80 of file vxlan_tunnel.hpp.