7#ifndef MINHTON_CORE_CONSTANTS_H_
8#define MINHTON_CORE_CONSTANTS_H_
12#include <unordered_map>
20const uint32_t kTreeMapperRootValue = 100;
22const uint16_t kFanoutMinimum = 2;
23const uint16_t kFanoutMaximum = 255;
24const uint16_t kFanoutDefault = 2;
35const uint16_t kDefaultIpPort = 2000;
38const uint16_t kDefaultTimeoutLength = 2500;
41enum class SearchExactTestEntryTypes : uint8_t { kStart = 0, kHop = 1, kSuccess = 2, kFailure = 3 };
44enum class MessageProcessingModes : uint8_t { kReceiving = 0, kSending = 1 };
47enum class NeighborRelationship : uint8_t {
52 kRoutingTableNeighbor = 4,
53 kRoutingTableNeighborChild = 5,
54 kUnknownRelationship = 6,
58enum class EventType : uint8_t {
62 kRequestCountdownStart = 4,
66enum class ContentStatus : uint8_t {
67 kContentInsertUpdate = 0,
72enum class SignalType : uint8_t {
79enum class TimeoutType : uint8_t {
80 kBootstrapResponseTimeout = 0,
81 kJoinAcceptResponseTimeout = 1,
82 kJoinAcceptAckResponseTimeout = 2,
83 kReplacementAckResponseTimeout = 3,
84 kReplacementOfferResponseTimeout = 4,
85 kDsnAggregationTimeout = 5,
86 kInquiryAggregationTimeout = 6,
87 kSelfDepartureRetry = 7,
94 kWaitForBootstrapResponse,
97 kConnectedAcceptingChild,
99 kWaitForReplacementOffer,
101 kConnectedWaitingParentResponse,
102 kSignOffFromInlevelNeighbors,
103 kConnectedWaitingParentResponseDirectLeaveWoReplacement,
104 kSignOffFromInlevelNeighborsDirectLeaveWoReplacement,
108enum class JoinAlgorithms {
112enum class LeaveAlgorithms {
116enum class SearchExactAlgorithms {
120enum class ResponseAlgorithms {
124enum class BootstrapAlgorithms {
Definition minhton_watchdog_ns3.cpp:24
const std::string kMulticastAddress
UDP Multicast Bootstrap Address.
Definition constants.h:33
const int kBootstrapRepeats
Bootstrap UDP Multicast Settings.
Definition constants.h:27
const int kMulticastPort
UDP Multicast Bootstrap Port.
Definition constants.h:30