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

#include <bgp_aspath.h>

Inheritance diagram for AsPathSpec::PathSegment:
Collaboration diagram for AsPathSpec::PathSegment:

Public Types

enum  PathSegmentType { AS_SET = 1, AS_SEQUENCE = 2 }
 

Public Member Functions

int CompareTo (const PathSegment &rhs) const
 
- Public Member Functions inherited from ParseObject
virtual ~ParseObject ()
 

Public Attributes

int path_segment_type
 
std::vector< as2_tpath_segment
 

Detailed Description

Definition at line 46 of file bgp_aspath.h.

Member Enumeration Documentation

Enumerator
AS_SET 
AS_SEQUENCE 

Definition at line 53 of file bgp_aspath.h.

Member Function Documentation

int AsPathSpec::PathSegment::CompareTo ( const PathSegment rhs) const
inline

Definition at line 47 of file bgp_aspath.h.

Member Data Documentation

std::vector<as2_t> AsPathSpec::PathSegment::path_segment

Definition at line 58 of file bgp_aspath.h.

int AsPathSpec::PathSegment::path_segment_type

Definition at line 57 of file bgp_aspath.h.


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