ls.h File Reference

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

Include dependency graph for ls.h:

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

Go to the source code of this file.

Data Structures

struct  LsRouting::IdMsgPtr
struct  LsEqualPaths
struct  LsIdSeq
struct  LsLinkState
class  LsList< _Tp >
class  LsMap< Key, T >
struct  LsMessage
class  LsMessageCenter
class  LsMessageHistory
struct  LsMessageInfo
class  LsNode
class  LsNodeIdList
struct  LsPath
class  LsPaths
class  LsPathsTentative
class  LsRetransmissionManager
class  LsRetransTimer
class  LsRouting
class  LsTopoMap
struct  LsUnackPeer

Typedefs

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

Enumerations

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
}
enum  ls_status_t { LS_STATUS_DOWN = 0, LS_STATUS_UP = 1 }

Variables

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


Typedef Documentation

typedef less<int> less_node_id
 

Definition at line 458 of file ls.h.

typedef LsMap< int, double > LsDelayMap
 

Definition at line 507 of file ls.h.

typedef LsMap< int, LsEqualPaths > LsEqualPathsMap
 

Definition at line 275 of file ls.h.

typedef LsList<LsLinkState> LsLinkStateList
 

Definition at line 179 of file ls.h.

typedef LsMap<int, LsLinkStateList> LsLinkStateListMap
 

Definition at line 187 of file ls.h.

typedef LsList<u_int32_t> LsMessageIdList
 

Definition at line 457 of file ls.h.

typedef LsTopoMap LsTopology
 

Definition at line 214 of file ls.h.

typedef LsTopoMap* LsTopoMapPtr
 

Definition at line 215 of file ls.h.


Enumeration Type Documentation

enum ls_message_type_t
 

Enumerator:
LS_MSG_INVALID 
LS_MSG_LSA 
LS_MSG_TPM 
LS_MSG_LSAACK 
LS_MSG_TPMACK 
LS_MSG_LSM 

Definition at line 98 of file ls.h.

00098                        { 
00099     LS_MSG_INVALID = 0, 
00100     LS_MSG_LSA = 1,     // Link state advertisement
00101     LS_MSG_TPM = 2,     // Topology map message
00102     LS_MSG_LSAACK = 3,  // Link state advertisement ACK
00103     LS_MSG_TPMACK = 4, 
00104     LS_MSG_LSM = 5, 
00105 };

enum ls_status_t
 

Enumerator:
LS_STATUS_DOWN 
LS_STATUS_UP 

Definition at line 93 of file ls.h.

00093                  { 
00094     LS_STATUS_DOWN = 0, 
00095     LS_STATUS_UP = 1
00096 };


Variable Documentation

const int LS_ACK_MESSAGE_SIZE = 20
 

Definition at line 87 of file ls.h.

const unsigned int LS_BIG_NUMBER = 1048576
 

Definition at line 89 of file ls.h.

const int LS_DEFAULT_MESSAGE_SIZE = 100
 

Definition at line 81 of file ls.h.

const int LS_INIT_ACCESS_COUNT = 3
 

Definition at line 75 of file ls.h.

const int LS_INVALID_COST = 65535
 

Definition at line 77 of file ls.h.

Referenced by LsPath::isValid().

const int LS_INVALID_COUNT = -1
 

Definition at line 74 of file ls.h.

const unsigned int LS_INVALID_MESSAGE_ID = 0
 

Definition at line 88 of file ls.h.

Referenced by LsMessageCenter::isLSA().

const int LS_INVALID_NODE_ID = 65535
 

Definition at line 76 of file ls.h.

Referenced by LsPath::isValid().

const int LS_LSA_MESSAGE_SIZE = 100
 

Definition at line 82 of file ls.h.

const int LS_MAX_COST = 65534
 

Definition at line 79 of file ls.h.

Referenced by LsPaths::lookupCost().

const int LS_MESSAGE_CENTER_SIZE_FACTOR = 4
 

Definition at line 80 of file ls.h.

Referenced by LsMessageCenter::setNodeNumber().

const unsigned int LS_MESSAGE_TYPES = 6
 

Definition at line 91 of file ls.h.

const int LS_MIN_COST = 0
 

Definition at line 78 of file ls.h.

const double LS_RTX_TIMEOUT = 0.002
 

Definition at line 83 of file ls.h.

const int LS_TIMEOUT_FACTOR = 3
 

Definition at line 84 of file ls.h.

const int LS_TOPO_MESSAGE_SIZE = 200
 

Definition at line 86 of file ls.h.

const unsigned int LS_WRAPAROUND_THRESHOLD = 1073741824
 

Definition at line 90 of file ls.h.


Generated on Tue Mar 6 16:54:32 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6