LinkLsa (OspfTypes::Version version)
| LinkLsa |
LinkLsa (OspfTypes::Version version, uint8_t *buf, size_t len)
| LinkLsa |
size_t min_length ()
| min_length |
[const]
Returns: the minimum length of a Link-LSA.
Reimplemented from Lsa.
uint16_t get_ls_type ()
| get_ls_type |
[const]
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.
void set_rtr_priority (uint8_t rtr_priority)
| set_rtr_priority |
uint8_t get_rtr_priority ()
| get_rtr_priority |
[const]
void set_options (uint32_t options)
| set_options |
uint32_t get_options ()
| get_options |
[const]
void set_link_local_address (IPv6 link_local_address)
| set_link_local_address |
IPv6 get_link_local_address ()
| get_link_local_address |
[const]
const list<IPv6Prefix>& get_prefixes ()
| get_prefixes |
[const]
list<IPv6Prefix>& get_prefixes ()
| get_prefixes |
const char * name ()
| name |
[const]
Printable name of this LSA.
Reimplemented from Lsa.
string str ()
| str |
[const]
Generate a printable representation.
Reimplemented from Lsa.