QuISP
Loading...
Searching...
No Matches
quisp::modules::ospf Namespace Reference

Classes

struct  LinkStateAdvertisement
 Full link-state advertisement that holds info of neighbor_nodes. Element that makes up the LinkStateDatabase topology information. More...
 
class  LinkStateDatabase
 Represents the database that holds link-state advertisements of nodes. Effectively, link_state_database is the topology information of a network. This class holds several public methods that enable easy execution of OSPF. More...
 
struct  OspfNeighborInfo
 
struct  SummaryLinkStateAdvertisement
 This struct is used in DBD packet exchange for two nodes to communicate what link-state advertisements are missing from one or the other. More...
 

Typedefs

using NodeAddr = int
 
using RouterIds = std::vector<int>
 
using NeighborTable = std::map<NodeAddr, OspfNeighborInfo>
 
using LinkStateDatabaseSummary = std::vector<SummaryLinkStateAdvertisement>
 
using LinkStateUpdate = std::vector<LinkStateAdvertisement>
 

Enumerations

enum class  OspfState {
  DOWN = 0 , INIT = 1 , TWO_WAY = 2 , EXSTART = 3 ,
  EXCHANGE = 4 , LOADING = 5 , FULL = 6
}
 

Typedef Documentation

◆ LinkStateDatabaseSummary

◆ LinkStateUpdate

◆ NeighborTable

◆ NodeAddr

◆ RouterIds

using quisp::modules::ospf::RouterIds = std::vector<int>

Enumeration Type Documentation

◆ OspfState

Enumerator
DOWN 
INIT 
TWO_WAY 
EXSTART 
EXCHANGE 
LOADING 
FULL