Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
OspfNeighborTable Class Reference

OspfNeighborTable handles and manipulates OSPF neighbor tables. More...

Public Member Functions

OspfNeighbor getNeighborAt (int)
 Returns the neighbor at the specified index. More...
 
int getNeighborCount ()
 Returns the number of neighbors. More...
 
RouterPort getPort ()
 Returns the port of this neighbor table. More...
 
int getAdjNeighborCount ()
 Returns the number of adjacent neighbors. More...
 
ip getAdjNeighborAt (int)
 Returns the IP address of the adjacent neighbor at the specified index. More...
 
int getFloodLength ()
 Returns the flood length. More...
 
int getLastFloodLength ()
 Returns the last flood length. More...
 
int getMaxFloodLength ()
 Returns the maximum flood length. More...
 
int getLastFloodTime ()
 Returns the last flood time. More...
 
int getMaxFloodTime ()
 Returns the maximum flood time. More...
 

Detailed Description

OspfNeighborTable handles and manipulates OSPF neighbor tables.

Member Function Documentation

◆ getAdjNeighborAt()

ip OspfNeighborTable::getAdjNeighborAt ( int  )

Returns the IP address of the adjacent neighbor at the specified index.

Parameters
index,theindex of the adjacent neighbor of interest.
Returns
ip, the IP address of the adjacent neighbor at the specified index.

◆ getAdjNeighborCount()

int OspfNeighborTable::getAdjNeighborCount ( )

Returns the number of adjacent neighbors.

Returns
int, the number of adjacent neighbors.

◆ getFloodLength()

int OspfNeighborTable::getFloodLength ( )

Returns the flood length.

Returns
int, the flood length.

◆ getLastFloodLength()

int OspfNeighborTable::getLastFloodLength ( )

Returns the last flood length.

Returns
int, the last flood length.

◆ getLastFloodTime()

int OspfNeighborTable::getLastFloodTime ( )

Returns the last flood time.

Returns
int, the last flood time.

◆ getMaxFloodLength()

int OspfNeighborTable::getMaxFloodLength ( )

Returns the maximum flood length.

Returns
int, the maximum flood length.

◆ getMaxFloodTime()

int OspfNeighborTable::getMaxFloodTime ( )

Returns the maximum flood time.

Returns
int, the maximum flood time.

◆ getNeighborAt()

OspfNeighbor OspfNeighborTable::getNeighborAt ( int  )

Returns the neighbor at the specified index.

Parameters
index,theindex of the neighbor of interest.
Returns
OspfNeighbor, the OspfNeighbor object at the specified index.

◆ getNeighborCount()

int OspfNeighborTable::getNeighborCount ( )

Returns the number of neighbors.

Returns
int, the number of neighbors.

◆ getPort()

RouterPort OspfNeighborTable::getPort ( )

Returns the port of this neighbor table.

Returns
RouterPort, the RouterPort object of this neighbor table.

The documentation for this class was generated from the following file: