xorp

Type7Lsa Class Reference

Type-7 LSA used to convey external routing information in NSSAs. More...

#include <lsa.hh>

Inheritance diagram for Type7Lsa:
ASExternalLsa Lsa

List of all members.

Public Member Functions

 Type7Lsa (OspfTypes::Version version)
 Type7Lsa (OspfTypes::Version version, uint8_t *buf, size_t len)
uint16_t get_ls_type () const
 It is the responsibilty of the derived type to return this information.
bool external () const
bool type7 () const
virtual ASExternalLsadonew (OspfTypes::Version version, uint8_t *buf, size_t len) const
 Create a new instance of this LSA, allows the decode routine to call either this or the Type7 donew.
string str_name () const
 Name used in the str() method.
const char * name () const
 Printable name of this LSA.

Detailed Description

Type-7 LSA used to convey external routing information in NSSAs.


Member Function Documentation

bool Type7Lsa::external ( ) const [inline, virtual]
Returns:
True this is an AS-external-LSA.

Reimplemented from ASExternalLsa.

uint16_t Type7Lsa::get_ls_type ( ) const [inline, virtual]

It is the responsibilty of the derived type to return this information.

Returns:
The type this lsa represents.

Reimplemented from ASExternalLsa.

bool Type7Lsa::type7 ( ) const [inline, virtual]
Returns:
True if this LSA is a Type-7-LSA.

Reimplemented from Lsa.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations