ASExternalLsa (OspfTypes::Version version)
| ASExternalLsa |
ASExternalLsa (OspfTypes::Version version, uint8_t *buf, size_t len)
| ASExternalLsa |
size_t min_length ()
| min_length |
[const]
Returns: the minimum length of an AS-external-LSA.
Reimplemented from Lsa.
uint16_t get_ls_type ()
| get_ls_type |
[const]
Reimplemented from Lsa.
bool external ()
| external |
[const]
Returns: True this is an AS-external-LSA.
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_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_e_bit (bool bit)
| set_e_bit |
bool get_e_bit ()
| get_e_bit |
[const]
void set_f_bit (bool bit)
| set_f_bit |
bool get_f_bit ()
| get_f_bit |
[const]
void set_t_bit (bool bit)
| set_t_bit |
bool get_t_bit ()
| get_t_bit |
[const]
void set_prefix_options (uint8_t prefix_options)
| set_prefix_options |
uint8_t get_prefix_options ()
| get_prefix_options |
[const]
void set_referenced_ls_type (uint16_t referenced_ls_type)
| set_referenced_ls_type |
uint16_t get_referenced_ls_type ()
| get_referenced_ls_type |
[const]
void set_forwarding_address_ipv6 (IPv6 forwarding_address_ipv6)
| set_forwarding_address_ipv6 |
IPv6 get_forwarding_address_ipv6 ()
| get_forwarding_address_ipv6 |
[const]
void set_metric (uint32_t metric)
| set_metric |
uint32_t get_metric ()
| get_metric |
[const]
void set_forwarding_address_ipv4 (IPv4 forwarding_address_ipv4)
| set_forwarding_address_ipv4 |
IPv4 get_forwarding_address_ipv4 ()
| get_forwarding_address_ipv4 |
[const]
template <typename A>
A get_forwarding_address (A)
| get_forwarding_address |
[const]
template <typename A>
IPv4 get_forwarding_address (IPv4)
| get_forwarding_address |
[const]
template <typename A>
IPv6 get_forwarding_address (IPv6)
| get_forwarding_address |
[const]
void set_external_route_tag (uint32_t external_route_tag)
| set_external_route_tag |
uint32_t get_external_route_tag ()
| get_external_route_tag |
[const]
void set_referenced_link_state_id (uint32_t referenced_link_state_id)
| set_referenced_link_state_id |
uint32_t get_referenced_link_state_id ()
| get_referenced_link_state_id |
[const]
ASExternalLsa * donew (OspfTypes::Version version, uint8_t *buf,
size_t len)
| donew |
[const virtual]
Create a new instance of this LSA, allows the decode routine to call either this or the Type7 donew.
string str_name ()
| str_name |
[const virtual]
Name used in the str() method.
const char * name ()
| name |
[const]
Printable name of this LSA.
Reimplemented from Lsa.
string str ()
| str |
[const]
Generate a printable representation.
Reimplemented from Lsa.