UnknownLsa (OspfTypes::Version version)
| UnknownLsa |
UnknownLsa (OspfTypes::Version version, uint8_t *buf, size_t len)
| UnknownLsa |
size_t min_length ()
| min_length |
[const]
Returns: the minimum length of a Router-LSA.
Reimplemented from Lsa.
uint16_t get_ls_type ()
| get_ls_type |
[const]
Reimplemented from Lsa.
bool known ()
| known |
[const]
OSPFv3 only is this a known LSA, of course not this is the unknown LSA.
Returns: false.
Reimplemented from Lsa.
LsaRef decode (uint8_t *buf, size_t& len)
throw(InvalidPacket) | decode |
[const]
Decode an LSA.
Parameters:
buf | pointer to buffer. |
len | length 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.
const char * name ()
| name |
[const]
Printable name of this LSA.
Reimplemented from Lsa.
string str ()
| str |
[const]
Generate a printable representation.
Reimplemented from Lsa.