FD.io VPP  v20.05.1-6-gf53edbc3b
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
 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

◆ endpoint_t() [1/2]

VOM::vxlan_tunnel::endpoint_t::endpoint_t ( )

Default constructor.

Definition at line 46 of file vxlan_tunnel.cpp.

◆ endpoint_t() [2/2]

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 38 of file vxlan_tunnel.cpp.

Member Function Documentation

◆ operator==()

bool VOM::vxlan_tunnel::endpoint_t::operator== ( const endpoint_t o) const

Comparison operator.

Definition at line 53 of file vxlan_tunnel.cpp.

◆ to_string()

std::string VOM::vxlan_tunnel::endpoint_t::to_string ( void  ) const

Debug print function.

Definition at line 59 of file vxlan_tunnel.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ dst

boost::asio::ip::address VOM::vxlan_tunnel::endpoint_t::dst

The destination IP address of the endpoint.

Definition at line 70 of file vxlan_tunnel.hpp.

◆ src

boost::asio::ip::address VOM::vxlan_tunnel::endpoint_t::src

The src IP address of the endpoint.

Definition at line 65 of file vxlan_tunnel.hpp.

◆ vni

uint32_t VOM::vxlan_tunnel::endpoint_t::vni

The VNI of the endpoint.

Definition at line 75 of file vxlan_tunnel.hpp.


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