|
|
OSPFv2: Summary-LSA Type 3 OSPFv3: Inter-Area-Prefix-LSA
SummaryNetworkLsa (OspfTypes::Version version)
| SummaryNetworkLsa |
SummaryNetworkLsa (OspfTypes::Version version, uint8_t *buf, size_t len)
| SummaryNetworkLsa |
size_t min_length ()
| min_length |
[const]
Returns: the minimum length of a RouterLSA.
Reimplemented from Lsa.
uint16_t get_ls_type ()
| get_ls_type |
[const]
Reimplemented from Lsa.
LsaRef decode (uint8_t *buf, size_t& len)
throw(BadPacket) | 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_metric (uint32_t metric)
| set_metric |
uint32_t get_metric ()
| get_metric |
[const]
void set_network_mask (uint32_t network_mask)
| set_network_mask |
uint32_t get_network_mask ()
| get_network_mask |
[const]
void set_network (IPNet<IPv6>& network)
| set_network |
IPNet<IPv6> get_network ()
| get_network |
[const]
void set_prefix_options (uint8_t prefix_options)
| set_prefix_options |
uint8_t get_prefix_options ()
| get_prefix_options |
[const]
const char * name ()
| name |
[const]
Printable name of this LSA.
Reimplemented from Lsa.
string str ()
| str |
[const]
Generate a printable representation.
Reimplemented from Lsa.