static const size_t IPV6_PREFIX_OFFSET | IPV6_PREFIX_OFFSET |
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(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_network_mask (uint32_t network_mask)
| set_network_mask |
uint32_t get_network_mask ()
| get_network_mask |
[const]
void set_ipv6prefix (const IPv6Prefix& ipv6prefix)
| set_ipv6prefix |
IPv6Prefix get_ipv6prefix ()
| get_ipv6prefix |
[const]
template <typename A>
void set_network (IPNet<A>)
| set_network |
template <typename A>
IPNet<A> get_network (A)
| 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_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>
void set_forwarding_address (A)
| set_forwarding_address |
template <typename A>
A get_forwarding_address (A)
| 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.
void set_suppressed_lsa (Lsa::LsaRef lsar)
| set_suppressed_lsa |
Lsa::LsaRef get_suppressed_lsa ()
| get_suppressed_lsa |
[const]
void release_suppressed_lsa ()
| release_suppressed_lsa |
string str ()
| str |
[const]
Generate a printable representation.
Reimplemented from Lsa.