Simple Module EtherAppSrv

Package: inet.applications.ethernet
File: src/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.

EtherAppSrv

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

EtherHost (compound module)

Example host model with one Ethernet port and several traffic generators to create traffic in the test network.

EtherHost2 (compound module)

Example host model with one Ethernet port and several traffic generators to create traffic in the test network.

Parameters:

Name Type Default value Description
registerSAP bool

whether to sent IEEE802CTRL_REGISTER_DSAP on startup

Gates:

Name Direction Size Description
in input
out output

Source code:

//
// 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.
//
simple EtherAppSrv
{
    parameters:
        bool registerSAP; // whether to sent IEEE802CTRL_REGISTER_DSAP on startup
    gates:
        input in;
        output out;
}