[
libArts |
Source |
Keywords |
Summary | Ancestors | All Members | Descendants ]
DESCRIPTION
Class Summary
class ArtsBgp4AsPathSegment
{
public:
- uint8_t Type() const;
- uint8_t Type(uint8_t type);
- uint8_t Length() const;
- uint8_t Length(uint8_t length);
- vector<uint16_t> & AS() const;
protected:
}; // ArtsBgp4AsPathSegment
Back to the top of ArtsBgp4AsPathSegment
DESCRIPTION
---------------------------------------------------------------------------
class ArtsBgp4AsPathSegment
---------------------------------------------------------------------------
This class abstracts an AS path segement in a BGP AS path attribute. An AS path segment may be of type SET or SEQUENCE; a SET segment is unordered while a SEQUENCE segment is ordered. See RFC 1771 for more details.
---------------------------------------------------------------------------
Back to the top of ArtsBgp4AsPathSegment
-------------------------------------------------------------------------
uint8_t Type() const
.........................................................................
Returns the type of the segment (1 == SET, 2 == SEQUENCE).
-------------------------------------------------------------------------
uint8_t Type() const;
Back to the top of ArtsBgp4AsPathSegment
-------------------------------------------------------------------------
uint8_t Type(uint8_t type)
.........................................................................
Sets and returns the type of the segment (1 == SET, 2 == SEQUENCE).
-------------------------------------------------------------------------
uint8_t Type(uint8_t type);
Back to the top of ArtsBgp4AsPathSegment
-------------------------------------------------------------------------
uint8_t Length() const
.........................................................................
Returns the length of the segment. This represents the number of AS numbers in the segment.
-------------------------------------------------------------------------
uint8_t Length() const;
Back to the top of ArtsBgp4AsPathSegment
-------------------------------------------------------------------------
uint8_t Length(uint8_t length)
.........................................................................
Sets and returns the length of the segment.
-------------------------------------------------------------------------
uint8_t Length(uint8_t length);
Back to the top of ArtsBgp4AsPathSegment
-------------------------------------------------------------------------
vector<uint16_t> & AS() const
.........................................................................
Returns a reference to the vector of AS numbers in the segment. Note that this member can be called on a const object though we don't return a const reference; the vector of AS numbers is mutable.
-------------------------------------------------------------------------
vector<uint16_t> & AS() const;
Back to the top of ArtsBgp4AsPathSegment
All Members
- public:
- uint8_t Type() const;
- uint8_t Type(uint8_t type);
- uint8_t Length() const;
- uint8_t Length(uint8_t length);
- vector<uint16_t> & AS() const;
- protected:
Back to the top of ArtsBgp4AsPathSegment
Ancestors
Class does not inherit from any other class.
Back to the top of ArtsBgp4AsPathSegment
Descendants
Class is not inherited by any others.
Back to the top of ArtsBgp4AsPathSegment
Generated from source by the Cocoon utilities on Sat Oct 17 14:39:52 1998
.
Report problems to jkotula@unimax.com