Package: inet.linklayer.vlan
VlanPolicyLayer
compound module(no description)
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.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
interfaceTableModule | string |
Properties
Name | Value | Description |
---|---|---|
display | i=block/layer |
Gates
Name | Direction | Size | Description |
---|---|---|---|
upperLayerIn | input | ||
upperLayerOut | output | ||
lowerLayerIn | input | ||
lowerLayerOut | output |
Source code
module VlanPolicyLayer like IProtocolLayer { parameters: @display("i=block/layer"); string interfaceTableModule; *.interfaceTableModule = default(absPath(this.interfaceTableModule)); gates: input upperLayerIn; output upperLayerOut; input lowerLayerIn; output lowerLayerOut; submodules: outboundMapper: <default("VlanReqMapper")> like IPacketFlow { @display("p=200,150"); } outboundFilter: <default("VlanReqFilter")> like IPacketFilter { @display("p=200,300"); } inboundMapper: <default("")> like IPacketFlow { @display("p=500,150"); } inboundFilter: <default("VlanIndFilter")> like IPacketFilter { @display("p=500,300"); } connections: upperLayerIn --> { @display("m=n"); } --> outboundMapper.in; outboundMapper.out --> outboundFilter.in; outboundFilter.out --> { @display("m=s"); } --> lowerLayerOut; lowerLayerIn --> { @display("m=s"); } --> inboundFilter.in; inboundFilter.out --> inboundMapper.in; inboundMapper.out --> { @display("m=n"); } --> upperLayerOut; }File: src/inet/linklayer/vlan/VlanPolicyLayer.ned