|
|
LinkStateUpdatePacket (OspfTypes::Version version, LsaDecoder& lsa_decoder)
| LinkStateUpdatePacket |
OspfTypes::Type get_type ()
| get_type |
[const]
Reimplemented from Packet.
Packet * decode (uint8_t *ptr, size_t len)
throw(InvalidPacket) | decode |
[const]
Reimplemented from Packet.
bool encode (vector<uint8_t>& pkt)
| encode |
Encode the packet.
Parameters:
pkt | vector 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:
pkt | vector into which the packet should be placed. |
inftransdelay | add 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.