Link State Acknowledgement Packet.
More...
#include <packet.hh>
List of all members.
Public Member Functions |
|
| LinkStateAcknowledgementPacket (OspfTypes::Version version) |
| OspfTypes::Type | get_type () const |
| | It is the responsibilty of the derived type to return this information.
|
| Packet * | decode (uint8_t *ptr, size_t len) const throw (InvalidPacket) |
| | Decode the packet.
|
| bool | encode (vector< uint8_t > &pkt) |
| | Encode the packet.
|
|
list< Lsa_header > & | get_lsa_headers () |
|
string | str () const |
| | Generate a printable representation of the packet.
|
Private Attributes |
|
list< Lsa_header > | _lsa_headers |
Detailed Description
Link State Acknowledgement Packet.
Member Function Documentation
| Packet * LinkStateAcknowledgementPacket::decode |
( |
uint8_t * |
ptr, |
|
|
size_t |
len |
|
) |
| const throw (InvalidPacket) [virtual] |
Decode the packet.
The returned packet must be free'd.
Implements Packet.
| bool LinkStateAcknowledgementPacket::encode |
( |
vector< uint8_t > & |
pkt | ) |
|
Encode the packet.
- Parameters:
-
| pkt | vector into which the packet should be placed. |
- Returns:
- true if the encoding succeeded.
Reimplemented from Packet.
| OspfTypes::Type LinkStateAcknowledgementPacket::get_type |
( |
| ) |
const [inline, virtual] |
It is the responsibilty of the derived type to return this information.
- Returns:
- The type this packet represents.
Implements Packet.
The documentation for this class was generated from the following files:
- /home/greearb/git/xorp.ct.github/xorp/ospf/packet.hh
- /home/greearb/git/xorp.ct.github/xorp/ospf/packet.cc