OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BFD::SessionKey Struct Reference

#include <bfd_common.h>

Collaboration diagram for BFD::SessionKey:

Public Member Functions

 SessionKey (const boost::asio::ip::address &remote_address, const SessionIndex &session_index=SessionIndex(), uint16_t remote_port=kSingleHop, const boost::asio::ip::address &local_address=boost::asio::ip::address())
 
 SessionKey ()
 
bool operator< (const SessionKey &other) const
 
const std::string to_string () const
 

Public Attributes

boost::asio::ip::address local_address
 
boost::asio::ip::address remote_address
 
SessionIndex index
 
uint16_t remote_port
 

Detailed Description

Definition at line 85 of file bfd_common.h.

Constructor & Destructor Documentation

BFD::SessionKey::SessionKey ( const boost::asio::ip::address &  remote_address,
const SessionIndex session_index = SessionIndex(),
uint16_t  remote_port = kSingleHop,
const boost::asio::ip::address &  local_address = boost::asio::ip::address() 
)
inline

Definition at line 87 of file bfd_common.h.

BFD::SessionKey::SessionKey ( )
inline

Definition at line 97 of file bfd_common.h.

Member Function Documentation

bool BFD::SessionKey::operator< ( const SessionKey other) const
inline

Definition at line 99 of file bfd_common.h.

const std::string BFD::SessionKey::to_string ( ) const
inline

Definition at line 107 of file bfd_common.h.

Here is the call graph for this function:

Member Data Documentation

SessionIndex BFD::SessionKey::index

Definition at line 116 of file bfd_common.h.

boost::asio::ip::address BFD::SessionKey::local_address

Definition at line 114 of file bfd_common.h.

boost::asio::ip::address BFD::SessionKey::remote_address

Definition at line 115 of file bfd_common.h.

uint16_t BFD::SessionKey::remote_port

Definition at line 117 of file bfd_common.h.


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