OverSim
|
#include <omnetpp.h>
#include <IPvXAddress.h>
#include <NodeHandle.h>
#include <CommonMessages_m.h>
#include <OverlayKey.h>
Go to the source code of this file.
Classes | |
class | BucketCall |
Class generated from overlay/broose/BrooseMessage.msg by opp_msgc. More... | |
class | BucketResponse |
Class generated from overlay/broose/BrooseMessage.msg by opp_msgc. More... | |
class | BrooseFindNodeExtMessage |
Class generated from overlay/broose/BrooseMessage.msg by opp_msgc. More... |
Macros | |
#define | MSGC_VERSION 0x0402 |
#define | BUCKETCALL_L(msg) (BASECALL_L(msg) + INDEX_L + BUCKETTYPE_L + PROTOSTATE_L) |
#define | BUCKETRESPONSE_L(msg) |
#define | BROOSEFINDNODEEXTMESSAGE_L (KEY_L + STEP_L + RIGHTSHIFTING_L + NODEHANDLE_L) |
Enumerations | |
enum | BucketType { RIGHT = 0, LEFT = 1, BROTHER = 2 } |
Enum generated from overlay/broose/BrooseMessage.msg by opp_msgc. More... | |
enum | ProState { PINIT = 0, PRSET = 1, PBSET = 2, PREADY = 3 } |
Enum generated from overlay/broose/BrooseMessage.msg by opp_msgc. More... |
Functions | |
void | doPacking (cCommBuffer *b, BucketCall &obj) |
void | doUnpacking (cCommBuffer *b, BucketCall &obj) |
void | doPacking (cCommBuffer *b, BucketResponse &obj) |
void | doUnpacking (cCommBuffer *b, BucketResponse &obj) |
void | doPacking (cCommBuffer *b, BrooseFindNodeExtMessage &obj) |
void | doUnpacking (cCommBuffer *b, BrooseFindNodeExtMessage &obj) |
Variables | |
static const int | INDEX_L = 8 |
static const int | BUCKETTYPE_L = 2 |
static const int | PROTOSTATE_L = 2 |
static const int | STEP_L = 8 |
static const int | RIGHTSHIFTING_L = 1 |
static const int | NODENUM_L = 8 |
#define BROOSEFINDNODEEXTMESSAGE_L (KEY_L + STEP_L + RIGHTSHIFTING_L + NODEHANDLE_L) |
Definition at line 33 of file BrooseMessage_m.h.
Referenced by Broose::findNode().
#define BUCKETCALL_L | ( | msg | ) | (BASECALL_L(msg) + INDEX_L + BUCKETTYPE_L + PROTOSTATE_L) |
Definition at line 30 of file BrooseMessage_m.h.
Referenced by Broose::changeState(), and Broose::handleJoinTimerExpired().
#define BUCKETRESPONSE_L | ( | msg | ) |
Definition at line 31 of file BrooseMessage_m.h.
Referenced by Broose::handleBucketRequestRpc().
#define MSGC_VERSION 0x0402 |
Definition at line 11 of file BrooseMessage_m.h.
enum BucketType |
Enum generated from overlay/broose/BrooseMessage.msg
by opp_msgc.
enum BucketType {RIGHT = 0; LEFT = 1; BROTHER = 2;}
Definition at line 50 of file BrooseMessage_m.h.
enum ProState |
|
inline |
Definition at line 119 of file BrooseMessage_m.h.
|
inline |
Definition at line 161 of file BrooseMessage_m.h.
|
inline |
Definition at line 217 of file BrooseMessage_m.h.
|
inline |
Definition at line 120 of file BrooseMessage_m.h.
|
inline |
Definition at line 162 of file BrooseMessage_m.h.
|
inline |
Definition at line 218 of file BrooseMessage_m.h.
|
static |
Definition at line 24 of file BrooseMessage_m.h.
|
static |
Definition at line 23 of file BrooseMessage_m.h.
|
static |
Definition at line 28 of file BrooseMessage_m.h.
|
static |
Definition at line 25 of file BrooseMessage_m.h.
|
static |
Definition at line 27 of file BrooseMessage_m.h.
|
static |
Definition at line 26 of file BrooseMessage_m.h.