VlanInterface

Package: inet.linklayer.vlan

VlanInterface

compound module

(no description)

VlanTunnel

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
InterfaceEntry compound module (no description)

Parameters

Name Type Default value Description
displayStringTextFormat string "%a (%i)\n%m"
interfaceTableModule string

Properties

Name Value Description
display i=block/tunnel
class InterfaceEntry

Gates

Name Direction Size Description
upperLayerIn input
upperLayerOut output

Unassigned submodule parameters

Name Type Default value Description
tunnel.interfaceTableModule string
tunnel.address string "copy"
tunnel.vlanId int
tunnel.realInterfaceName string

Source code

module VlanInterface extends InterfaceEntry like IVlanInterface
{
    parameters:
        string interfaceTableModule;
        *.interfaceTableModule = default(absPath(interfaceTableModule));
        @display("i=block/tunnel");
        @class(InterfaceEntry);
    gates:
        input upperLayerIn;
        output upperLayerOut;
    submodules:
        tunnel: VlanTunnel {
            @display("p=100,100");
        }
    connections:
        upperLayerIn --> tunnel.upperLayerIn;
        upperLayerOut <-- tunnel.upperLayerOut;
}
File: src/inet/linklayer/vlan/VlanInterface.ned