FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
VOM::vxlan_tunnel::endpoint_t Struct Reference

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...
 

Detailed Description

Combaintion of attributes that are a unique key for a VXLAN tunnel.

Definition at line 39 of file vxlan_tunnel.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

+ Here is the caller graph for this function:

Field Documentation

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.


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