INET Framework for OMNeT++/OMNEST
EtherApp_m.h File Reference
#include <omnetpp.h>
#include "INETDefs.h"

Go to the source code of this file.

Classes

class  EtherAppReq
class  EtherAppResp

Defines

#define MSGC_VERSION   0x0402
#define ETHERAPP_CLI_SAP   0xf0
#define ETHERAPP_SRV_SAP   0xf1

Functions

void doPacking (cCommBuffer *b, EtherAppReq &obj)
void doUnpacking (cCommBuffer *b, EtherAppReq &obj)
void doPacking (cCommBuffer *b, EtherAppResp &obj)
void doUnpacking (cCommBuffer *b, EtherAppResp &obj)

Define Documentation

#define ETHERAPP_CLI_SAP   0xf0

Definition at line 18 of file EtherApp_m.h.

Referenced by EtherAppSrv::initialize(), and EtherAppCli::initialize().

#define ETHERAPP_SRV_SAP   0xf1

Definition at line 19 of file EtherApp_m.h.

Referenced by EtherAppSrv::initialize(), and EtherAppCli::initialize().

#define MSGC_VERSION   0x0402

Definition at line 11 of file EtherApp_m.h.


Function Documentation

void doPacking ( cCommBuffer *  b,
EtherAppReq obj 
) [inline]

Definition at line 63 of file EtherApp_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
EtherAppResp obj 
) [inline]

Definition at line 105 of file EtherApp_m.h.

{obj.parsimPack(b);}
void doUnpacking ( cCommBuffer *  b,
EtherAppReq obj 
) [inline]

Definition at line 64 of file EtherApp_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
EtherAppResp obj 
) [inline]

Definition at line 106 of file EtherApp_m.h.

{obj.parsimUnpack(b);}