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

Simple structure to hold <S,G>. Source as "0.0.0.0" can be used to encode <*,G> as well. More...

#include <bgp_evpn.h>

Collaboration diagram for EvpnState::SG:

Public Member Functions

 SG (const Ip4Address &source, const Ip4Address &group)
 
 SG (const IpAddress &source, const IpAddress &group)
 
 SG (const ErmVpnRoute *route)
 
 SG (const EvpnRoute *route)
 
bool operator< (const SG &other) const
 

Public Attributes

IpAddress source
 
IpAddress group
 

Detailed Description

Simple structure to hold <S,G>. Source as "0.0.0.0" can be used to encode <*,G> as well.

Definition at line 354 of file bgp_evpn.h.

Constructor & Destructor Documentation

EvpnState::SG::SG ( const Ip4Address source,
const Ip4Address group 
)

Definition at line 1722 of file bgp_evpn.cc.

EvpnState::SG::SG ( const IpAddress source,
const IpAddress group 
)

Definition at line 1735 of file bgp_evpn.cc.

EvpnState::SG::SG ( const ErmVpnRoute route)
explicit

Definition at line 1726 of file bgp_evpn.cc.

EvpnState::SG::SG ( const EvpnRoute route)
explicit

Definition at line 1731 of file bgp_evpn.cc.

Member Function Documentation

bool EvpnState::SG::operator< ( const SG other) const

Definition at line 1739 of file bgp_evpn.cc.

Member Data Documentation

IpAddress EvpnState::SG::group

Definition at line 362 of file bgp_evpn.h.

IpAddress EvpnState::SG::source

Definition at line 361 of file bgp_evpn.h.


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