class AsSegment


Contains pure virtuals
Definition#include <aspath.hh>
Inherited byAsSequence, AsSet
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

 AsSegment ()

AsSegment

 AsSegment (const AsSegment& asseg)

AsSegment

 ~AsSegment ()

~AsSegment

[virtual]

const char *  get_data ()

get_data

[const]

void  set_size (size_t s)

set_size

size_t  get_as_path_length ()

get_as_path_length

[const pure virtual]

size_t  get_as_size ()

get_as_size

[const]

size_t  get_as_byte_size ()

get_as_byte_size

[const]

void  add_as (const AsNum& n)

add_as

void  prepend_as (const AsNum& n)

prepend_as

bool  contains (const AsNum& as_num)

contains

[const]

const AsNum&  first_asnum ()

first_asnum

[const]

void  decode ()

decode

[pure virtual]

void  encode ()

encode

[const pure virtual]

void  encode (ASPathSegType type)

encode

[const]

ASPathSegType  type ()

type

[const pure virtual]

string  str ()

str

[const pure virtual]

bool  operator== (const AsSegment& him)

operator==

[const]

bool  operator< (const AsSegment& him)

operator<

[const]

size_t _num_as_entries

_num_as_entries

[protected]

mutable size_t _num_bytes_in_aspath

_num_bytes_in_aspath

[protected]

mutable const uint8_t* _data

_data

[protected]

list <AsNum> _aslist

_aslist

[protected]


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:58 2002, using kdoc 2.0a54+XORP.