OverSim
CommonMessages_m.h File Reference
#include <omnetpp.h>
#include <OverlayKey.h>
#include <NodeHandle.h>
#include <IPvXAddress.h>
#include <TransportAddress.h>
#include <BinaryValue.h>
#include <Vector2D.h>
#include <OverSimMessage.h>

Go to the source code of this file.

Classes

class  AuthBlock
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BaseOverlayMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BaseRouteMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BaseAppDataMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BaseRpcMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BaseCallMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BaseResponseMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  RpcTimeoutMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  FindNodeCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  FindNodeResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  FailedNodeCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  FailedNodeResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  PingCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  PingResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  CompReadyMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BootstrapLookupMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  NextHopCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  NextHopResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  SingleHostUnderlayPacketNotification
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  TcpDataMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  CommonAPIMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  KBRroute
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  KBRforward
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  KBRdeliver
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  KBRupdate
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  DhtDumpEntry
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  DHTputCAPICall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  DHTgetCAPICall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  DHTputCAPIResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  DHTgetCAPIResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  DHTdumpCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  DHTdumpResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  LookupCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  LookupResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  P2pnsRegisterCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  P2pnsRegisterResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  P2pnsResolveCall
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  P2pnsResolveResponse
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  OverlayCtrlInfo
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  BinaryValueArray
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  ALMMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  ALMCreateMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  ALMDeleteMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  ALMSubscribeMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  ALMLeaveMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  ALMMulticastMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  ALMAnycastMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  GameAPIMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  GameAPIListMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  GameAPIPositionMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  GameAPIResizeAOIMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  GameAPIChatMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  GameAPISnowMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...
class  GameAPIFrozenMessage
 Class generated from common/CommonMessages.msg by opp_msgc. More...

Macros

#define MSGC_VERSION   0x0402
#define KEY_L   OverlayKey::getLength()
#define NODEHANDLE_L   (IPADDR_L + UDPPORT_L + KEY_L)
#define TRANSPORTADDRESS_L   (IPADDR_L + UDPPORT_L)
#define AUTHBLOCK_L   (overlay->getMeasureAuthBlock() ? (SIGNATURE_L + CERT_L + PUBKEY_L) : 0)
#define BASEOVERLAY_L(msg)   TYPE_L
#define BASEROUTE_L(msg)
#define BASEAPPDATA_L(msg)   (BASEOVERLAY_L(msg) + 2*COMP_L)
#define BASERPC_L(msg)
#define BASECALL_L(msg)   BASERPC_L(msg)
#define BASERESPONSE_L(msg)
#define FINDNODECALL_L(msg)
#define FINDNODERESPONSE_L(msg)
#define FAILEDNODECALL_L(msg)   (BASECALL_L(msg) + IPADDR_L + UDPPORT_L)
#define FAILEDNODERESPONSE_L(msg)   (BASERESPONSE_L(msg) + TRYAGAINFLAG_L)
#define PINGCALL_L(msg)   BASECALL_L(msg)
#define PINGRESPONSE_L(msg)   BASERESPONSE_L(msg)
#define BOOTSTRAPPINGCALL_L(msg)   BASECALL_L(msg)
#define BOOTSTRAPPINGRESPONSE_L(msg)   BASERESPONSE_L(msg)
#define NEXTHOPCALL_L(msg)   BASECALL_L(msg)
#define NEXTHOPRESPONSE_L(msg)   BASERESPONSE_L(msg)

Enumerations

enum  BaseOverlayMessageType { OVERLAYSIGNALING = 0, RPC = 1, APPDATA = 2, OVERLAYROUTE = 3 }
 Enum generated from common/CommonMessages.msg by opp_msgc. More...
enum  CompType {
  INVALID_COMP = 0, OVERLAY_COMP = 1, TIER1_COMP = 2, TIER2_COMP = 3,
  TIER3_COMP = 4, BOOTSTRAPLIST_COMP = 5, NEIGHBORCACHE_COMP = 6
}
 Enum generated from common/CommonMessages.msg by opp_msgc. More...
enum  RoutingType {
  NO_OVERLAY_ROUTING = 0, DEFAULT_ROUTING = 1, ITERATIVE_ROUTING = 2, EXHAUSTIVE_ITERATIVE_ROUTING = 3,
  SEMI_RECURSIVE_ROUTING = 4, FULL_RECURSIVE_ROUTING = 5, RECURSIVE_SOURCE_ROUTING = 6, PROX_AWARE_ITERATIVE_ROUTING = 7
}
 Enum generated from common/CommonMessages.msg by opp_msgc. More...
enum  TransportType { INVALID_TRANSPORT = 0, INTERNAL_TRANSPORT = 1, UDP_TRANSPORT = 2, ROUTE_TRANSPORT = 3 }
 Enum generated from common/CommonMessages.msg by opp_msgc. More...
enum  CommonAPIMessageType {
  COMMON_API_UNDEFINED = 0, KBR_ROUTE = 1, KBR_DELIVER = 2, KBR_FORWARD = 3,
  KBR_FORWARD_RESPONSE = 4, KBR_UPDATE = 5
}
 Enum generated from common/CommonMessages.msg by opp_msgc. More...
enum  StatType { MAINTENANCE_STAT = 0, APP_DATA_STAT = 1, APP_LOOKUP_STAT = 2 }
 Enum generated from common/CommonMessages.msg by opp_msgc. More...
enum  GameAPIMessageCommand {
  MOVEMENT_INDICATION = 0, MOVEMENT_REQUEST = 1, NEIGHBOR_UPDATE = 2, RESIZE_AOI = 3,
  GAMEEVENT_CHAT = 4, GAMEEVENT_SNOW = 5, GAMEEVENT_FROZEN = 6
}
 Enum generated from common/CommonMessages.msg by opp_msgc. More...

Functions

void doPacking (cCommBuffer *b, AuthBlock &obj)
void doUnpacking (cCommBuffer *b, AuthBlock &obj)
void doPacking (cCommBuffer *b, BaseOverlayMessage &obj)
void doUnpacking (cCommBuffer *b, BaseOverlayMessage &obj)
void doPacking (cCommBuffer *b, BaseRouteMessage &obj)
void doUnpacking (cCommBuffer *b, BaseRouteMessage &obj)
void doPacking (cCommBuffer *b, BaseAppDataMessage &obj)
void doUnpacking (cCommBuffer *b, BaseAppDataMessage &obj)
void doPacking (cCommBuffer *b, BaseRpcMessage &obj)
void doUnpacking (cCommBuffer *b, BaseRpcMessage &obj)
void doPacking (cCommBuffer *b, BaseCallMessage &obj)
void doUnpacking (cCommBuffer *b, BaseCallMessage &obj)
void doPacking (cCommBuffer *b, BaseResponseMessage &obj)
void doUnpacking (cCommBuffer *b, BaseResponseMessage &obj)
void doPacking (cCommBuffer *b, RpcTimeoutMessage &obj)
void doUnpacking (cCommBuffer *b, RpcTimeoutMessage &obj)
void doPacking (cCommBuffer *b, FindNodeCall &obj)
void doUnpacking (cCommBuffer *b, FindNodeCall &obj)
void doPacking (cCommBuffer *b, FindNodeResponse &obj)
void doUnpacking (cCommBuffer *b, FindNodeResponse &obj)
void doPacking (cCommBuffer *b, FailedNodeCall &obj)
void doUnpacking (cCommBuffer *b, FailedNodeCall &obj)
void doPacking (cCommBuffer *b, FailedNodeResponse &obj)
void doUnpacking (cCommBuffer *b, FailedNodeResponse &obj)
void doPacking (cCommBuffer *b, PingCall &obj)
void doUnpacking (cCommBuffer *b, PingCall &obj)
void doPacking (cCommBuffer *b, PingResponse &obj)
void doUnpacking (cCommBuffer *b, PingResponse &obj)
void doPacking (cCommBuffer *b, CompReadyMessage &obj)
void doUnpacking (cCommBuffer *b, CompReadyMessage &obj)
void doPacking (cCommBuffer *b, BootstrapLookupMessage &obj)
void doUnpacking (cCommBuffer *b, BootstrapLookupMessage &obj)
void doPacking (cCommBuffer *b, NextHopCall &obj)
void doUnpacking (cCommBuffer *b, NextHopCall &obj)
void doPacking (cCommBuffer *b, NextHopResponse &obj)
void doUnpacking (cCommBuffer *b, NextHopResponse &obj)
void doPacking (cCommBuffer *b, SingleHostUnderlayPacketNotification &obj)
void doUnpacking (cCommBuffer *b, SingleHostUnderlayPacketNotification &obj)
void doPacking (cCommBuffer *b, TcpDataMessage &obj)
void doUnpacking (cCommBuffer *b, TcpDataMessage &obj)
void doPacking (cCommBuffer *b, CommonAPIMessage &obj)
void doUnpacking (cCommBuffer *b, CommonAPIMessage &obj)
void doPacking (cCommBuffer *b, KBRroute &obj)
void doUnpacking (cCommBuffer *b, KBRroute &obj)
void doPacking (cCommBuffer *b, KBRforward &obj)
void doUnpacking (cCommBuffer *b, KBRforward &obj)
void doPacking (cCommBuffer *b, KBRdeliver &obj)
void doUnpacking (cCommBuffer *b, KBRdeliver &obj)
void doPacking (cCommBuffer *b, KBRupdate &obj)
void doUnpacking (cCommBuffer *b, KBRupdate &obj)
void doPacking (cCommBuffer *b, DhtDumpEntry &obj)
void doUnpacking (cCommBuffer *b, DhtDumpEntry &obj)
void doPacking (cCommBuffer *b, DHTputCAPICall &obj)
void doUnpacking (cCommBuffer *b, DHTputCAPICall &obj)
void doPacking (cCommBuffer *b, DHTgetCAPICall &obj)
void doUnpacking (cCommBuffer *b, DHTgetCAPICall &obj)
void doPacking (cCommBuffer *b, DHTputCAPIResponse &obj)
void doUnpacking (cCommBuffer *b, DHTputCAPIResponse &obj)
void doPacking (cCommBuffer *b, DHTgetCAPIResponse &obj)
void doUnpacking (cCommBuffer *b, DHTgetCAPIResponse &obj)
void doPacking (cCommBuffer *b, DHTdumpCall &obj)
void doUnpacking (cCommBuffer *b, DHTdumpCall &obj)
void doPacking (cCommBuffer *b, DHTdumpResponse &obj)
void doUnpacking (cCommBuffer *b, DHTdumpResponse &obj)
void doPacking (cCommBuffer *b, LookupCall &obj)
void doUnpacking (cCommBuffer *b, LookupCall &obj)
void doPacking (cCommBuffer *b, LookupResponse &obj)
void doUnpacking (cCommBuffer *b, LookupResponse &obj)
void doPacking (cCommBuffer *b, P2pnsRegisterCall &obj)
void doUnpacking (cCommBuffer *b, P2pnsRegisterCall &obj)
void doPacking (cCommBuffer *b, P2pnsRegisterResponse &obj)
void doUnpacking (cCommBuffer *b, P2pnsRegisterResponse &obj)
void doPacking (cCommBuffer *b, P2pnsResolveCall &obj)
void doUnpacking (cCommBuffer *b, P2pnsResolveCall &obj)
void doPacking (cCommBuffer *b, P2pnsResolveResponse &obj)
void doUnpacking (cCommBuffer *b, P2pnsResolveResponse &obj)
void doPacking (cCommBuffer *b, OverlayCtrlInfo &obj)
void doUnpacking (cCommBuffer *b, OverlayCtrlInfo &obj)
void doPacking (cCommBuffer *b, BinaryValueArray &obj)
void doUnpacking (cCommBuffer *b, BinaryValueArray &obj)
void doPacking (cCommBuffer *b, ALMMessage &obj)
void doUnpacking (cCommBuffer *b, ALMMessage &obj)
void doPacking (cCommBuffer *b, ALMCreateMessage &obj)
void doUnpacking (cCommBuffer *b, ALMCreateMessage &obj)
void doPacking (cCommBuffer *b, ALMDeleteMessage &obj)
void doUnpacking (cCommBuffer *b, ALMDeleteMessage &obj)
void doPacking (cCommBuffer *b, ALMSubscribeMessage &obj)
void doUnpacking (cCommBuffer *b, ALMSubscribeMessage &obj)
void doPacking (cCommBuffer *b, ALMLeaveMessage &obj)
void doUnpacking (cCommBuffer *b, ALMLeaveMessage &obj)
void doPacking (cCommBuffer *b, ALMMulticastMessage &obj)
void doUnpacking (cCommBuffer *b, ALMMulticastMessage &obj)
void doPacking (cCommBuffer *b, ALMAnycastMessage &obj)
void doUnpacking (cCommBuffer *b, ALMAnycastMessage &obj)
void doPacking (cCommBuffer *b, GameAPIMessage &obj)
void doUnpacking (cCommBuffer *b, GameAPIMessage &obj)
void doPacking (cCommBuffer *b, GameAPIListMessage &obj)
void doUnpacking (cCommBuffer *b, GameAPIListMessage &obj)
void doPacking (cCommBuffer *b, GameAPIPositionMessage &obj)
void doUnpacking (cCommBuffer *b, GameAPIPositionMessage &obj)
void doPacking (cCommBuffer *b, GameAPIResizeAOIMessage &obj)
void doUnpacking (cCommBuffer *b, GameAPIResizeAOIMessage &obj)
void doPacking (cCommBuffer *b, GameAPIChatMessage &obj)
void doUnpacking (cCommBuffer *b, GameAPIChatMessage &obj)
void doPacking (cCommBuffer *b, GameAPISnowMessage &obj)
void doUnpacking (cCommBuffer *b, GameAPISnowMessage &obj)
void doPacking (cCommBuffer *b, GameAPIFrozenMessage &obj)
void doUnpacking (cCommBuffer *b, GameAPIFrozenMessage &obj)

Variables

static const int TYPE_L = 8
static const int IPADDR_L = 32
static const int UDPPORT_L = 16
static const int HOPCOUNT_L = 16
static const int NONCE_L = 32
static const int COMP_L = 16
static const int NUMSIBLINGS_L = 8
static const int NUMREDNODES_L = 8
static const int EXHAUSTIVEFLAG_L = 8
static const int NEIGHBORSFLAG_L = 8
static const int RESPONSEFLAG_L = 8
static const int TRYAGAINFLAG_L = 8
static const int TIER_L = 8
static const int ARRAYSIZE_L = 8
static const int ROUTINGTYPE_L = 8
static const int SIGNATURE_L = 40*8
static const int CERT_L = 40*8
static const int PUBKEY_L = 20*8
static const int NCSINFO_L = 32

Macro Definition Documentation

#define AUTHBLOCK_L   (overlay->getMeasureAuthBlock() ? (SIGNATURE_L + CERT_L + PUBKEY_L) : 0)

Definition at line 52 of file CommonMessages_m.h.

Referenced by BaseOverlay::sendMessageToUDP().

#define BASEAPPDATA_L (   msg)    (BASEOVERLAY_L(msg) + 2*COMP_L)

Definition at line 62 of file CommonMessages_m.h.

Referenced by BaseOverlay::handleMessage(), and BaseOverlay::route().

#define BASECALL_L (   msg)    BASERPC_L(msg)

Definition at line 65 of file CommonMessages_m.h.

#define BASEOVERLAY_L (   msg)    TYPE_L

Definition at line 54 of file CommonMessages_m.h.

#define BASERESPONSE_L (   msg)
Value:
((msg->getNcsInfoArraySize()) ? \
(msg->getNcsInfoArraySize() * NCSINFO_L + 8) : \
0))

Definition at line 67 of file CommonMessages_m.h.

#define BASEROUTE_L (   msg)
Value:
HOPCOUNT_L + ROUTINGTYPE_L +\
ARRAYSIZE_L + (msg->getVisitedHopsArraySize() *\
TRANSPORTADDRESS_L) +\
ARRAYSIZE_L + (msg->getNextHopsArraySize() *\
TRANSPORTADDRESS_L) +\

Definition at line 55 of file CommonMessages_m.h.

Referenced by BaseOverlay::handleMessage(), and BaseOverlay::sendToKey().

#define BASERPC_L (   msg)
Value:
TIER_L)

Definition at line 63 of file CommonMessages_m.h.

#define BOOTSTRAPPINGCALL_L (   msg)    BASECALL_L(msg)

Definition at line 80 of file CommonMessages_m.h.

#define BOOTSTRAPPINGRESPONSE_L (   msg)    BASERESPONSE_L(msg)

Definition at line 81 of file CommonMessages_m.h.

#define FAILEDNODECALL_L (   msg)    (BASECALL_L(msg) + IPADDR_L + UDPPORT_L)
#define FAILEDNODERESPONSE_L (   msg)    (BASERESPONSE_L(msg) + TRYAGAINFLAG_L)

Definition at line 77 of file CommonMessages_m.h.

Referenced by BaseOverlay::failedNodeRpc().

#define FINDNODECALL_L (   msg)
#define FINDNODERESPONSE_L (   msg)
Value:
(msg->getClosestNodesArraySize() * NODEHANDLE_L))

Definition at line 74 of file CommonMessages_m.h.

Referenced by BaseOverlay::findNodeRpc().

#define KEY_L   OverlayKey::getLength()
#define MSGC_VERSION   0x0402

Definition at line 11 of file CommonMessages_m.h.

#define NEXTHOPCALL_L (   msg)    BASECALL_L(msg)

Definition at line 82 of file CommonMessages_m.h.

Referenced by BaseOverlay::sendRouteMessage().

#define NEXTHOPRESPONSE_L (   msg)    BASERESPONSE_L(msg)

Definition at line 83 of file CommonMessages_m.h.

Referenced by BaseOverlay::nextHopRpc().

#define NODEHANDLE_L   (IPADDR_L + UDPPORT_L + KEY_L)

Definition at line 47 of file CommonMessages_m.h.

Referenced by LoginCache::getLoginNode(), and LoginCache::registerPos().

#define PINGCALL_L (   msg)    BASECALL_L(msg)

Definition at line 78 of file CommonMessages_m.h.

Referenced by BaseRpc::pingNode().

#define PINGRESPONSE_L (   msg)    BASERESPONSE_L(msg)

Definition at line 79 of file CommonMessages_m.h.

Referenced by BaseRpc::pingRpcCall().

#define TRANSPORTADDRESS_L   (IPADDR_L + UDPPORT_L)

Definition at line 50 of file CommonMessages_m.h.

Enumeration Type Documentation

Enum generated from common/CommonMessages.msg by opp_msgc.

enum BaseOverlayMessageType
{

OVERLAYSIGNALING = 0;
RPC = 1;
APPDATA = 2;
OVERLAYROUTE = 3;

}

Enumerator:
OVERLAYSIGNALING 
RPC 
APPDATA 
OVERLAYROUTE 

Definition at line 101 of file CommonMessages_m.h.

{
RPC = 1,
APPDATA = 2,
};

Enum generated from common/CommonMessages.msg by opp_msgc.

enum CommonAPIMessageType
{

COMMON_API_UNDEFINED = 0;
KBR_ROUTE = 1;
KBR_DELIVER = 2;
KBR_FORWARD = 3;
KBR_FORWARD_RESPONSE = 4;
KBR_UPDATE = 5;

}

Enumerator:
COMMON_API_UNDEFINED 
KBR_ROUTE 
KBR_DELIVER 
KBR_FORWARD 
KBR_FORWARD_RESPONSE 
KBR_UPDATE 

Definition at line 197 of file CommonMessages_m.h.

enum CompType

Enum generated from common/CommonMessages.msg by opp_msgc.

enum CompType
{

INVALID_COMP = 0;
OVERLAY_COMP = 1;
TIER1_COMP = 2;
TIER2_COMP = 3;
TIER3_COMP = 4;
BOOTSTRAPLIST_COMP = 5;
NEIGHBORCACHE_COMP = 6;

}

Enumerator:
INVALID_COMP 
OVERLAY_COMP 
TIER1_COMP 
TIER2_COMP 
TIER3_COMP 
BOOTSTRAPLIST_COMP 
NEIGHBORCACHE_COMP 

Definition at line 124 of file CommonMessages_m.h.

Enum generated from common/CommonMessages.msg by opp_msgc.

enum GameAPIMessageCommand
{

MOVEMENT_INDICATION = 0;
MOVEMENT_REQUEST = 1;
NEIGHBOR_UPDATE = 2;
RESIZE_AOI = 3;
GAMEEVENT_CHAT = 4;
GAMEEVENT_SNOW = 5;
GAMEEVENT_FROZEN = 6;

}

Enumerator:
MOVEMENT_INDICATION 
MOVEMENT_REQUEST 
NEIGHBOR_UPDATE 
RESIZE_AOI 
GAMEEVENT_CHAT 
GAMEEVENT_SNOW 
GAMEEVENT_FROZEN 

Definition at line 241 of file CommonMessages_m.h.

Enum generated from common/CommonMessages.msg by opp_msgc.

enum RoutingType
{

NO_OVERLAY_ROUTING = 0;
DEFAULT_ROUTING = 1;
ITERATIVE_ROUTING = 2;
EXHAUSTIVE_ITERATIVE_ROUTING = 3;
SEMI_RECURSIVE_ROUTING = 4;
FULL_RECURSIVE_ROUTING = 5;
RECURSIVE_SOURCE_ROUTING = 6;
PROX_AWARE_ITERATIVE_ROUTING = 7;

}

Enumerator:
NO_OVERLAY_ROUTING 
DEFAULT_ROUTING 
ITERATIVE_ROUTING 
EXHAUSTIVE_ITERATIVE_ROUTING 
SEMI_RECURSIVE_ROUTING 
FULL_RECURSIVE_ROUTING 
RECURSIVE_SOURCE_ROUTING 
PROX_AWARE_ITERATIVE_ROUTING 

Definition at line 151 of file CommonMessages_m.h.

enum StatType

Enum generated from common/CommonMessages.msg by opp_msgc.

enum StatType
{

MAINTENANCE_STAT = 0;
APP_DATA_STAT = 1;
APP_LOOKUP_STAT = 2;
}
Enumerator:
MAINTENANCE_STAT 
APP_DATA_STAT 
APP_LOOKUP_STAT 

Definition at line 219 of file CommonMessages_m.h.

Enum generated from common/CommonMessages.msg by opp_msgc.

enum TransportType
{

INVALID_TRANSPORT = 0;
INTERNAL_TRANSPORT = 1;
UDP_TRANSPORT = 2;
ROUTE_TRANSPORT = 3;

}

Enumerator:
INVALID_TRANSPORT 
INTERNAL_TRANSPORT 
UDP_TRANSPORT 
ROUTE_TRANSPORT 

Definition at line 175 of file CommonMessages_m.h.

Function Documentation

void doPacking ( cCommBuffer *  b,
AuthBlock obj 
)
inline

Definition at line 297 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BaseOverlayMessage obj 
)
inline

Definition at line 339 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BaseRouteMessage obj 
)
inline

Definition at line 418 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BaseAppDataMessage obj 
)
inline

Definition at line 460 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BaseRpcMessage obj 
)
inline

Definition at line 511 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BaseCallMessage obj 
)
inline

Definition at line 545 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BaseResponseMessage obj 
)
inline

Definition at line 590 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
RpcTimeoutMessage obj 
)
inline

Definition at line 624 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
FindNodeCall obj 
)
inline

Definition at line 675 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
FindNodeResponse obj 
)
inline

Definition at line 722 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
FailedNodeCall obj 
)
inline

Definition at line 761 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
FailedNodeResponse obj 
)
inline

Definition at line 799 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
PingCall obj 
)
inline

Definition at line 833 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
PingResponse obj 
)
inline

Definition at line 867 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
CompReadyMessage obj 
)
inline

Definition at line 914 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BootstrapLookupMessage obj 
)
inline

Definition at line 948 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
NextHopCall obj 
)
inline

Definition at line 982 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
NextHopResponse obj 
)
inline

Definition at line 1016 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
SingleHostUnderlayPacketNotification obj 
)
inline

Definition at line 1050 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
TcpDataMessage obj 
)
inline

Definition at line 1089 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
CommonAPIMessage obj 
)
inline

Definition at line 1127 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
KBRroute obj 
)
inline

Definition at line 1186 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
KBRforward obj 
)
inline

Definition at line 1230 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
KBRdeliver obj 
)
inline

Definition at line 1269 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
KBRupdate obj 
)
inline

Definition at line 1312 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DhtDumpEntry obj 
)
inline

Definition at line 1381 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DHTputCAPICall obj 
)
inline

Definition at line 1441 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DHTgetCAPICall obj 
)
inline

Definition at line 1488 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DHTputCAPIResponse obj 
)
inline

Definition at line 1526 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DHTgetCAPIResponse obj 
)
inline

Definition at line 1572 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DHTdumpCall obj 
)
inline

Definition at line 1606 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
DHTdumpResponse obj 
)
inline

Definition at line 1648 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
LookupCall obj 
)
inline

Definition at line 1695 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
LookupResponse obj 
)
inline

Definition at line 1750 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
P2pnsRegisterCall obj 
)
inline

Definition at line 1806 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
P2pnsRegisterResponse obj 
)
inline

Definition at line 1854 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
P2pnsResolveCall obj 
)
inline

Definition at line 1901 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
P2pnsResolveResponse obj 
)
inline

Definition at line 1966 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
OverlayCtrlInfo obj 
)
inline

Definition at line 2043 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
BinaryValueArray obj 
)
inline

Definition at line 2085 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ALMMessage obj 
)
inline

Definition at line 2124 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ALMCreateMessage obj 
)
inline

Definition at line 2158 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ALMDeleteMessage obj 
)
inline

Definition at line 2192 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ALMSubscribeMessage obj 
)
inline

Definition at line 2226 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ALMLeaveMessage obj 
)
inline

Definition at line 2260 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ALMMulticastMessage obj 
)
inline

Definition at line 2294 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
ALMAnycastMessage obj 
)
inline

Definition at line 2328 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GameAPIMessage obj 
)
inline

Definition at line 2366 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GameAPIListMessage obj 
)
inline

Definition at line 2424 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GameAPIPositionMessage obj 
)
inline

Definition at line 2463 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GameAPIResizeAOIMessage obj 
)
inline

Definition at line 2501 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GameAPIChatMessage obj 
)
inline

Definition at line 2544 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GameAPISnowMessage obj 
)
inline

Definition at line 2601 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GameAPIFrozenMessage obj 
)
inline

Definition at line 2652 of file CommonMessages_m.h.

{obj.parsimPack(b);}
void doUnpacking ( cCommBuffer *  b,
AuthBlock obj 
)
inline

Definition at line 298 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BaseOverlayMessage obj 
)
inline

Definition at line 340 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BaseRouteMessage obj 
)
inline

Definition at line 419 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BaseAppDataMessage obj 
)
inline

Definition at line 461 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BaseRpcMessage obj 
)
inline

Definition at line 512 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BaseCallMessage obj 
)
inline

Definition at line 546 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BaseResponseMessage obj 
)
inline

Definition at line 591 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
RpcTimeoutMessage obj 
)
inline

Definition at line 625 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
FindNodeCall obj 
)
inline

Definition at line 676 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
FindNodeResponse obj 
)
inline

Definition at line 723 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
FailedNodeCall obj 
)
inline

Definition at line 762 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
FailedNodeResponse obj 
)
inline

Definition at line 800 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
PingCall obj 
)
inline

Definition at line 834 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
PingResponse obj 
)
inline

Definition at line 868 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
CompReadyMessage obj 
)
inline

Definition at line 915 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BootstrapLookupMessage obj 
)
inline

Definition at line 949 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
NextHopCall obj 
)
inline

Definition at line 983 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
NextHopResponse obj 
)
inline

Definition at line 1017 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
SingleHostUnderlayPacketNotification obj 
)
inline

Definition at line 1051 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
TcpDataMessage obj 
)
inline

Definition at line 1090 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
CommonAPIMessage obj 
)
inline

Definition at line 1128 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
KBRroute obj 
)
inline

Definition at line 1187 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
KBRforward obj 
)
inline

Definition at line 1231 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
KBRdeliver obj 
)
inline

Definition at line 1270 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
KBRupdate obj 
)
inline

Definition at line 1313 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DhtDumpEntry obj 
)
inline

Definition at line 1382 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DHTputCAPICall obj 
)
inline

Definition at line 1442 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DHTgetCAPICall obj 
)
inline

Definition at line 1489 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DHTputCAPIResponse obj 
)
inline

Definition at line 1527 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DHTgetCAPIResponse obj 
)
inline

Definition at line 1573 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DHTdumpCall obj 
)
inline

Definition at line 1607 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
DHTdumpResponse obj 
)
inline

Definition at line 1649 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
LookupCall obj 
)
inline

Definition at line 1696 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
LookupResponse obj 
)
inline

Definition at line 1751 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
P2pnsRegisterCall obj 
)
inline

Definition at line 1807 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
P2pnsRegisterResponse obj 
)
inline

Definition at line 1855 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
P2pnsResolveCall obj 
)
inline

Definition at line 1902 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
P2pnsResolveResponse obj 
)
inline

Definition at line 1967 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
OverlayCtrlInfo obj 
)
inline

Definition at line 2044 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
BinaryValueArray obj 
)
inline

Definition at line 2086 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ALMMessage obj 
)
inline

Definition at line 2125 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ALMCreateMessage obj 
)
inline

Definition at line 2159 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ALMDeleteMessage obj 
)
inline

Definition at line 2193 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ALMSubscribeMessage obj 
)
inline

Definition at line 2227 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ALMLeaveMessage obj 
)
inline

Definition at line 2261 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ALMMulticastMessage obj 
)
inline

Definition at line 2295 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
ALMAnycastMessage obj 
)
inline

Definition at line 2329 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GameAPIMessage obj 
)
inline

Definition at line 2367 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GameAPIListMessage obj 
)
inline

Definition at line 2425 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GameAPIPositionMessage obj 
)
inline

Definition at line 2464 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GameAPIResizeAOIMessage obj 
)
inline

Definition at line 2502 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GameAPIChatMessage obj 
)
inline

Definition at line 2545 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GameAPISnowMessage obj 
)
inline

Definition at line 2602 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GameAPIFrozenMessage obj 
)
inline

Definition at line 2653 of file CommonMessages_m.h.

{obj.parsimUnpack(b);}

Variable Documentation

const int ARRAYSIZE_L = 8
static

Definition at line 40 of file CommonMessages_m.h.

const int CERT_L = 40*8
static

Definition at line 43 of file CommonMessages_m.h.

const int COMP_L = 16
static

Definition at line 32 of file CommonMessages_m.h.

const int EXHAUSTIVEFLAG_L = 8
static

Definition at line 35 of file CommonMessages_m.h.

const int HOPCOUNT_L = 16
static

Definition at line 30 of file CommonMessages_m.h.

const int IPADDR_L = 32
static

Definition at line 28 of file CommonMessages_m.h.

const int NCSINFO_L = 32
static

Definition at line 45 of file CommonMessages_m.h.

const int NEIGHBORSFLAG_L = 8
static

Definition at line 36 of file CommonMessages_m.h.

const int NONCE_L = 32
static

Definition at line 31 of file CommonMessages_m.h.

const int NUMREDNODES_L = 8
static

Definition at line 34 of file CommonMessages_m.h.

const int NUMSIBLINGS_L = 8
static

Definition at line 33 of file CommonMessages_m.h.

const int PUBKEY_L = 20*8
static

Definition at line 44 of file CommonMessages_m.h.

const int RESPONSEFLAG_L = 8
static

Definition at line 37 of file CommonMessages_m.h.

const int ROUTINGTYPE_L = 8
static

Definition at line 41 of file CommonMessages_m.h.

const int SIGNATURE_L = 40*8
static

Definition at line 42 of file CommonMessages_m.h.

const int TIER_L = 8
static

Definition at line 39 of file CommonMessages_m.h.

const int TRYAGAINFLAG_L = 8
static

Definition at line 38 of file CommonMessages_m.h.

const int TYPE_L = 8
static

Definition at line 27 of file CommonMessages_m.h.

const int UDPPORT_L = 16
static

Definition at line 29 of file CommonMessages_m.h.