class LinkStateUpdatePacket

Link State Update Packet More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Link State Update Packet

 LinkStateUpdatePacket (OspfTypes::Version version, LsaDecoder& lsa_decoder)

LinkStateUpdatePacket

OspfTypes::Type  get_type ()

get_type

[const]

Reimplemented from Packet.

Packetdecode (uint8_t *ptr, size_t len)
throw(BadPacket)

decode

[const]

Reimplemented from Packet.

bool  encode (vector<uint8_t>& pkt)

encode

Encode the packet.

Parameters:

pktvector into which the packet should be placed.

Returns: true if the encoding succeeded.

Reimplemented from Packet.

bool  encode (vector<uint8_t>& pkt, uint16_t inftransdelay)

encode

Encode the packet.

Parameters:

pktvector into which the packet should be placed.
inftransdelayadd this delay to the age field of each LSA.

Returns: true if the encoding succeeded.

Reimplemented from Packet.

list<Lsa::LsaRef>&  get_lsas ()

get_lsas

string  str ()

str

[const]

Generate a printable representation of the packet.

Reimplemented from Packet.


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:38 2006, using kdoc $.