Package: inet.linklayer.ieee8021q
Ieee8021qEncap
simple module(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
vlanTagType | string | "c" | |
inboundVlanIdFilter | string | "" | |
inboundVlanIdMap | string | "" | |
outboundVlanIdFilter | string | "" | |
outboundVlanIdMap | string | "" |
Properties
Name | Value | Description |
---|---|---|
display | i=block/cogwheel |
Gates
Name | Direction | Size | Description |
---|---|---|---|
upperLayerIn | input | ||
upperLayerOut | output | ||
lowerLayerIn | input | ||
lowerLayerOut | output |
Signals
Name | Type | Unit |
---|---|---|
packetDropped | inet::Packet |
Statistics
Name | Title | Source | Record | Unit | Interpolation Mode |
---|---|---|---|---|---|
packetDropped | packet dropped | packetDropped | count, sum(packetBytes), vector(packetBytes) | none |
Source code
simple Ieee8021qEncap like IIeee8021qEncap { parameters: string vlanTagType @enum("c","s") = default("c"); string inboundVlanIdFilter = default(""); string inboundVlanIdMap = default(""); string outboundVlanIdFilter = default(""); string outboundVlanIdMap = default(""); @display("i=block/cogwheel"); @signal[packetDropped](type=inet::Packet); @statistic[packetDropped](title="packet dropped"; source=packetDropped; record=count,sum(packetBytes),vector(packetBytes); interpolationmode=none); gates: input upperLayerIn; output upperLayerOut; input lowerLayerIn; output lowerLayerOut; }File: src/inet/linklayer/ieee8021q/Ieee8021qEncap.ned