Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

ls.h File Reference

#include <sys/types.h>
#include <list>
#include <map>
#include <utility>
#include "timer-handler.h"

Include dependency graph for ls.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  LsEqualPaths
struct  LsIdSeq
struct  LsLinkState
class  LsList
class  LsMap
struct  LsMessage
class  LsMessageCenter
class  LsMessageHistory
struct  LsMessageInfo
class  LsNode
class  LsNodeIdList
struct  LsPath
class  LsPaths
class  LsPathsTentative
class  LsRetransmissionManager
class  LsRetransTimer
class  LsRouting
struct  LsRouting.IdMsgPtr
class  LsTopoMap
struct  LsUnackPeer

Typedefs

typedef LsList< LsLinkStateLsLinkStateList
typedef LsMap< int, LsLinkStateListLsLinkStateListMap
typedef LsTopoMap LsTopology
typedef LsTopoMapLsTopoMapPtr
typedef LsMap< int, LsEqualPathsLsEqualPathsMap
typedef LsList< u_int32_tLsMessageIdList
typedef less< int > less_node_id
typedef LsMap< int, double > LsDelayMap

Enumerations

enum  ls_status_t { LS_STATUS_DOWN = 0, LS_STATUS_UP = 1 }
enum  ls_message_type_t {
  LS_MSG_INVALID = 0, LS_MSG_LSA = 1, LS_MSG_TPM = 2, LS_MSG_LSAACK = 3,
  LS_MSG_TPMACK = 4, LS_MSG_LSM = 5
}

Variables

const int LS_INVALID_COUNT = -1
const int LS_INIT_ACCESS_COUNT = 3
const int LS_INVALID_NODE_ID = 65535
const int LS_INVALID_COST = 65535
const int LS_MIN_COST = 0
const int LS_MAX_COST = 65534
const int LS_MESSAGE_CENTER_SIZE_FACTOR = 4
const int LS_DEFAULT_MESSAGE_SIZE = 100
const int LS_LSA_MESSAGE_SIZE = 100
const double LS_RTX_TIMEOUT = 0.002
const int LS_TIMEOUT_FACTOR = 3
const int LS_TOPO_MESSAGE_SIZE = 200
const int LS_ACK_MESSAGE_SIZE = 20
const unsigned int LS_INVALID_MESSAGE_ID = 0
const unsigned int LS_BIG_NUMBER = 1048576
const unsigned int LS_WRAPAROUND_THRESHOLD = 1073741824
const unsigned int LS_MESSAGE_TYPES = 6


Typedef Documentation

typedef less<int> less_node_id
 

Definition at line 433 of file ls.h.

typedef LsMap< int, double > LsDelayMap
 

Definition at line 482 of file ls.h.

typedef LsMap< int, LsEqualPaths > LsEqualPathsMap
 

Definition at line 250 of file ls.h.

Referenced by LsPaths::LsPaths().

typedef LsList<LsLinkState> LsLinkStateList
 

Definition at line 154 of file ls.h.

typedef LsMap<int, LsLinkStateList> LsLinkStateListMap
 

Definition at line 162 of file ls.h.

Referenced by LsTopoMap::LsTopoMap().

typedef LsList<u_int32_t> LsMessageIdList
 

Definition at line 432 of file ls.h.

typedef LsTopoMap LsTopology
 

Definition at line 189 of file ls.h.

typedef LsTopoMap* LsTopoMapPtr
 

Definition at line 190 of file ls.h.


Enumeration Type Documentation

enum ls_message_type_t
 

Enumeration values:
LS_MSG_INVALID 
LS_MSG_LSA 
LS_MSG_TPM 
LS_MSG_LSAACK 
LS_MSG_TPMACK 
LS_MSG_LSM 

Definition at line 73 of file ls.h.

00073                        { 
00074         LS_MSG_INVALID = 0, 
00075         LS_MSG_LSA = 1,         // Link state advertisement
00076         LS_MSG_TPM = 2,         // Topology map message
00077         LS_MSG_LSAACK = 3,      // Link state advertisement ACK
00078         LS_MSG_TPMACK = 4, 
00079         LS_MSG_LSM = 5, 
00080 };

enum ls_status_t
 

Enumeration values:
LS_STATUS_DOWN 
LS_STATUS_UP 

Definition at line 68 of file ls.h.

00068                  { 
00069         LS_STATUS_DOWN = 0, 
00070         LS_STATUS_UP = 1
00071 };


Variable Documentation

const int LS_ACK_MESSAGE_SIZE = 20
 

Definition at line 62 of file ls.h.

const unsigned int LS_BIG_NUMBER = 1048576
 

Definition at line 64 of file ls.h.

const int LS_DEFAULT_MESSAGE_SIZE = 100
 

Definition at line 56 of file ls.h.

const int LS_INIT_ACCESS_COUNT = 3
 

Definition at line 50 of file ls.h.

const int LS_INVALID_COST = 65535
 

Definition at line 52 of file ls.h.

Referenced by LsPath::isValid(), LsEqualPaths::LsEqualPaths(), and LsLinkState::LsLinkState().

const int LS_INVALID_COUNT = -1
 

Definition at line 49 of file ls.h.

const unsigned int LS_INVALID_MESSAGE_ID = 0
 

Definition at line 63 of file ls.h.

Referenced by LsMessageCenter::isLSA(), LsMessageCenter::LsMessageCenter(), and LsUnackPeer::LsUnackPeer().

const int LS_INVALID_NODE_ID = 65535
 

Definition at line 51 of file ls.h.

Referenced by LsPath::isValid(), LsLinkState::LsLinkState(), LsPath::LsPath(), and LsRouting::LsRouting().

const int LS_LSA_MESSAGE_SIZE = 100
 

Definition at line 57 of file ls.h.

const int LS_MAX_COST = 65534
 

Definition at line 54 of file ls.h.

Referenced by LsPaths::lookupCost(), and LsPathsTentative::LsPathsTentative().

const int LS_MESSAGE_CENTER_SIZE_FACTOR = 4
 

Definition at line 55 of file ls.h.

Referenced by LsMessageCenter::setNodeNumber().

const unsigned int LS_MESSAGE_TYPES = 6
 

Definition at line 66 of file ls.h.

const int LS_MIN_COST = 0
 

Definition at line 53 of file ls.h.

const double LS_RTX_TIMEOUT = 0.002
 

Definition at line 58 of file ls.h.

const int LS_TIMEOUT_FACTOR = 3
 

Definition at line 59 of file ls.h.

const int LS_TOPO_MESSAGE_SIZE = 200
 

Definition at line 61 of file ls.h.

const unsigned int LS_WRAPAROUND_THRESHOLD = 1073741824
 

Definition at line 65 of file ls.h.


Generated on Tue Apr 20 12:22:24 2004 for NS2.26SourcesOriginal by doxygen 1.3.3