class NetworkLsa


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 NetworkLsa (OspfTypes::Version version)

NetworkLsa

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

NetworkLsa

size_t  min_length ()

min_length

[const]

Returns: the minimum length of a Network-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(BadPacket)

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_options (uint32_t options)

set_options

uint32_t  get_options ()

get_options

[const]

void  set_network_mask (uint32_t network_mask)

set_network_mask

uint32_t  get_network_mask ()

get_network_mask

[const]

list<OspfTypes::RouterID>&  get_attached_routers ()

get_attached_routers

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: pavlin on possum.icir.org on Wed Aug 2 15:36:38 2006, using kdoc $.