OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CommunityType Class Reference

#include <community_type.h>

Public Types

enum  WellKnownCommunity {
  AcceptOwn = 0xFFFF0001, LlgrStale = 0xFFFF0006, NoLlgr = 0xFFFF0007, NoReOriginate = 0xFFFFF000,
  NoExport = 0xFFFFFF01, NoAdvertise = 0xFFFFFF02, NoExportSubconfed = 0xFFFFFF03, AcceptOwnNexthop = 0xFFFF0008
}
 

Public Member Functions

 CommunityType ()
 

Static Public Member Functions

static uint32_t CommunityFromString (const std::string &comm, boost::system::error_code *perr=NULL)
 
static const std::string CommunityToString (uint32_t comm)
 

Detailed Description

Definition at line 11 of file community_type.h.

Member Enumeration Documentation

Enumerator
AcceptOwn 
LlgrStale 
NoLlgr 
NoReOriginate 
NoExport 
NoAdvertise 
NoExportSubconfed 
AcceptOwnNexthop 

Definition at line 13 of file community_type.h.

Constructor & Destructor Documentation

CommunityType::CommunityType ( )

Definition at line 16 of file community_type.cc.

Member Function Documentation

uint32_t CommunityType::CommunityFromString ( const std::string &  comm,
boost::system::error_code *  perr = NULL 
)
static

Definition at line 41 of file community_type.cc.

const string CommunityType::CommunityToString ( uint32_t  comm)
static

Definition at line 77 of file community_type.cc.

Here is the call graph for this function:


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