INET Framework for OMNeT++/OMNEST
ISIStypes.h File Reference
#include "MACAddress.h"
#include "InterfaceEntry.h"
#include "ISISTimer_m.h"
#include "ISISMessage_m.h"

Go to the source code of this file.

Classes

struct  ISISinterface
struct  ISISadj
struct  metrics_t
struct  LSPneighbour
struct  LSPrecord
struct  LSPRecord
struct  FlagRecord
struct  ISISNeighbour
struct  ISISPath
struct  ISISCon

Defines

#define ISIS_DIS_PRIORITY   64
#define ISIS_METRIC   10
#define ISIS_HELLO_INTERVAL   10
#define ISIS_HELLO_MULTIPLIER   3
#define ISIS_SYSTEM_ID   6
#define ISIS_MAX_AREAS   3
#define ISIS_AREA_ID   3
#define ISIS_LSP_INTERVAL   33
#define ISIS_LSP_REFRESH_INTERVAL   150
#define ISIS_LSP_MAX_LIFETIME   200
#define ISIS_LSP_GEN_INTERVAL   5
#define ISIS_LSP_INIT_WAIT   50
#define ISIS_CSNP_INTERVAL   10
#define ISIS_PSNP_INTERVAL   2
#define ISIS_LSP_MAX_SIZE   1492
#define ISIS_LSP_SEND_INTERVAL   5
#define ISIS_SPF_FULL_INTERVAL   50

Typedefs

typedef std::vector< LSPRecord * > LSPRecQ_t
typedef std::vector< FlagRecord * > FlagRecQ_t
typedef std::vector
< std::vector< FlagRecord * > * > 
FlagRecQQ_t
typedef std::vector
< ISISNeighbour * > 
ISISNeighbours_t
typedef std::vector< ISISPath * > ISISPaths_t
typedef std::vector< LSPRecord * > ISISLspDb_t
typedef std::vector< ISISCon * > ISISCons_t

Enumerations

enum  PTP_HELLO_ADJ_STATE { PTP_UP = 1, PTP_INIT = 2, PTP_DOWN = 3 }

Define Documentation

#define ISIS_CSNP_INTERVAL   10

Interval in seconds between generating CSNP message.

Definition at line 41 of file ISIStypes.h.

Referenced by ISIS::initialize(), and ISIS::insertIft().

#define ISIS_DIS_PRIORITY   64

Default priority to become DIS

Definition at line 29 of file ISIStypes.h.

Referenced by ISIS::insertIft().

#define ISIS_HELLO_INTERVAL   10

Default hello interval in seconds

Definition at line 31 of file ISIStypes.h.

Referenced by ISIS::initialize().

#define ISIS_HELLO_MULTIPLIER   3

Default hello multiplier value.

Definition at line 32 of file ISIStypes.h.

Referenced by ISIS::initialize().

#define ISIS_LSP_GEN_INTERVAL   5

Interval in seconds at which LSPs (with SRMflag set) are transmitted.

Definition at line 39 of file ISIStypes.h.

Referenced by ISIS::initialize().

#define ISIS_LSP_INIT_WAIT   50

Initial wait interval in ms before generating first LSP.

Definition at line 40 of file ISIStypes.h.

Referenced by ISIS::initialize().

#define ISIS_LSP_INTERVAL   33

Minimum delay in ms between sending two successive LSPs.

Definition at line 36 of file ISIStypes.h.

Referenced by ISIS::initialize(), and ISIS::insertIft().

#define ISIS_LSP_MAX_LIFETIME   200

Interval in seconds during which is specified LSP valid. This value SHOULD be more than ISIS_LSP_REFRESH_INTERVAL

Definition at line 38 of file ISIStypes.h.

Referenced by ISIS::initialize().

#define ISIS_LSP_MAX_SIZE   1492

Definition at line 43 of file ISIStypes.h.

Referenced by ISIS::addTLV(), ISIS::genLSP(), ISIS::sendL1Csnp(), and ISIS::sendL1Psnp().

#define ISIS_LSP_REFRESH_INTERVAL   150

Interval in seconds at which LSPs are refreshed (1 to 65535). This value SHOULD be less than ISIS_LSP_MAX_LIFETIME

Definition at line 37 of file ISIStypes.h.

Referenced by ISIS::initialize().

#define ISIS_LSP_SEND_INTERVAL   5

Interval in seconds between periodic scanning LSP Database and checking SRM and SSN flags.

Definition at line 44 of file ISIStypes.h.

Referenced by ISIS::initialize().

#define ISIS_MAX_AREAS   3

Default value for Maximum Areas.

Definition at line 34 of file ISIStypes.h.

Referenced by ISIS::isMessageOK().

#define ISIS_METRIC   10

Default "default" metric value

Definition at line 30 of file ISIStypes.h.

Referenced by ISIS::insertIft().

#define ISIS_PSNP_INTERVAL   2

Interval in seconds between generating CSNP message.

Definition at line 42 of file ISIStypes.h.

#define ISIS_SPF_FULL_INTERVAL   50

Definition at line 45 of file ISIStypes.h.

Referenced by ISIS::initialize().


Typedef Documentation

typedef std::vector<FlagRecord*> FlagRecQ_t

Definition at line 221 of file ISIStypes.h.

typedef std::vector<std::vector<FlagRecord*> *> FlagRecQQ_t

Definition at line 222 of file ISIStypes.h.

typedef std::vector<ISISCon*> ISISCons_t

Definition at line 266 of file ISIStypes.h.

typedef std::vector<LSPRecord *> ISISLspDb_t

Definition at line 257 of file ISIStypes.h.

typedef std::vector<ISISNeighbour*> ISISNeighbours_t

Definition at line 232 of file ISIStypes.h.

typedef std::vector<ISISPath*> ISISPaths_t

Definition at line 256 of file ISIStypes.h.

typedef std::vector<LSPRecord *> LSPRecQ_t

Definition at line 210 of file ISIStypes.h.


Enumeration Type Documentation

Enumerator:
PTP_UP 
PTP_INIT 
PTP_DOWN 

Definition at line 271 of file ISIStypes.h.

{
    PTP_UP = 1,
    PTP_INIT = 2,
    PTP_DOWN = 3
};