Simple Module EtherLLC

File: NetworkInterfaces/Ethernet/EtherLLC.ned

C++ definition: click here

Provides Ethernet 802.3 encapsulation/decapsulation and dispatching to the appropriate higher layer by DSAP values.

Expected environment:

Functionality:

Processes commands received from upper layers, as described in Communication between LLC and higher layers. The following commands are supported:

Processing of packets received from the lower layers:

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.

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

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

Parameters:

Name Type Description
writeScalars bool

enable/disable recording statistics in omnetpp.sca

Gates:

Name Direction Description
upperLayerIn [ ] input

higher layer protocols or applications

upperLayerOut [ ] output

higher layer protocols or applications

lowerLayerIn input

to Ethernet MAC

lowerLayerOut output

to Ethernet MAC

Source code:

simple EtherLLC
    parameters:
        writeScalars: bool;   // enable/disable recording statistics in omnetpp.sca

    gates:
        in: upperLayerIn[];   // higher layer protocols or applications
        out: upperLayerOut[]; // higher layer protocols or applications
        in: lowerLayerIn;     // to Ethernet MAC
        out: lowerLayerOut;   // to Ethernet MAC
endsimple