Simple Module EtherAppSrv

File: Applications/Ethernet/EtherAppSrv.ned

C++ definition: click here

Server side of the EtherCli model -- generates EtherAppResp packets with the number of bytes requested by the client in EtherAppReq. It should be connected directly to EtherLLC or a Ieee802NicXXX module.

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Parameters:

Name Type Description
registerSAP bool

whether to sent IEEE802CTRL_REGISTER_DSAP on startup

writeScalars bool

enable/disable recording statistics in omnetpp.sca

Gates:

Name Direction Description
in input
out output

Source code:

simple EtherAppSrv
    parameters:
        registerSAP : bool, // whether to sent IEEE802CTRL_REGISTER_DSAP on startup
        writeScalars: bool; // enable/disable recording statistics in omnetpp.sca
    gates:
        in: in;
        out: out;
endsimple