OverSim
P2pnsMessage_m.h File Reference
#include <omnetpp.h>
#include <IPvXAddress.h>
#include <NodeHandle.h>
#include <TransportAddress.h>
#include <CommonMessages_m.h>
#include <BinaryValue.h>

Go to the source code of this file.

Classes

class  P2pnsTunnelMessage
 Class generated from tier2/p2pns/P2pnsMessage.msg by opp_msgc. More...
class  P2pnsKeepaliveTimer
 Class generated from tier2/p2pns/P2pnsMessage.msg by opp_msgc. More...

Macros

#define MSGC_VERSION   0x0402
#define P2PNSTUNNELMESSAGE_L(msg)

Functions

void doPacking (cCommBuffer *b, P2pnsTunnelMessage &obj)
void doUnpacking (cCommBuffer *b, P2pnsTunnelMessage &obj)
void doPacking (cCommBuffer *b, P2pnsKeepaliveTimer &obj)
void doUnpacking (cCommBuffer *b, P2pnsKeepaliveTimer &obj)

Macro Definition Documentation

#define MSGC_VERSION   0x0402

Definition at line 11 of file P2pnsMessage_m.h.

#define P2PNSTUNNELMESSAGE_L (   msg)
Value:
(KEY_L + \
msg->getPayload().size() * sizeof(char))

Definition at line 23 of file P2pnsMessage_m.h.

Referenced by P2pns::sendTunnelMessage().

Function Documentation

void doPacking ( cCommBuffer *  b,
P2pnsTunnelMessage obj 
)
inline

Definition at line 70 of file P2pnsMessage_m.h.

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

Definition at line 109 of file P2pnsMessage_m.h.

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

Definition at line 71 of file P2pnsMessage_m.h.

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

Definition at line 110 of file P2pnsMessage_m.h.

{obj.parsimUnpack(b);}