class RouterLsa


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 RouterLsa (OspfTypes::Version version)

RouterLsa

 RouterLsa (OspfTypes::Version version, uint8_t *buf, size_t len)

RouterLsa

size_t  min_length ()

min_length

[const]

Returns: the minimum length of a Router-LSA.

Reimplemented from Lsa.

uint16_t  get_ls_type ()

get_ls_type

[const]

Reimplemented from Lsa.

LsaRef  decode (uint8_t *buf, size_t& len)
throw(InvalidPacket)

decode

[const]

Decode an LSA.

Parameters:

bufpointer to buffer.
lenlength of the buffer on input set to the number of bytes consumed on output.

Returns: A reference to an LSA that manages its own memory.

Reimplemented from Lsa.

bool  encode ()

encode

Reimplemented from Lsa.

void  set_nt_bit (bool bit)

set_nt_bit

bool  get_nt_bit ()

get_nt_bit

[const]

void  set_w_bit (bool bit)

set_w_bit

bool  get_w_bit ()

get_w_bit

[const]

void  set_v_bit (bool bit)

set_v_bit

bool  get_v_bit ()

get_v_bit

[const]

void  set_e_bit (bool bit)

set_e_bit

bool  get_e_bit ()

get_e_bit

[const]

void  set_b_bit (bool bit)

set_b_bit

bool  get_b_bit ()

get_b_bit

[const]

void  set_options (uint32_t options)

set_options

uint32_t  get_options ()

get_options

[const]

list<RouterLink>&  get_router_links ()

get_router_links

const char * name ()

name

[const]

Printable name of this LSA.

Reimplemented from Lsa.

string  str ()

str

[const]

Generate a printable representation.

Reimplemented from Lsa.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:05 2008, using kdoc 2.0a54+XORP.