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(InvalidPacket)

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 kobe.xorp.net on Wed Jan 7 19:11:07 2009, using kdoc 2.0a54+XORP.