(no description)
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Default value | Description |
---|---|---|---|
interfaceTableModule | string |
The path to the InterfaceTable module |
|
mtu | int | 1500B |
Name | Value | Description |
---|---|---|
display | i=block/tunnel |
Name | Direction | Size | Description |
---|---|---|---|
upperLayerIn | input |
from upper layers |
|
upperLayerOut | output |
to upper layers |
|
appIn | input |
from application |
|
appOut | output |
to application |
Name | Type | Unit |
---|---|---|
packetReceivedFromLower | cPacket | |
packetReceivedFromUpper | cPacket | |
packetSentToLower | cPacket | |
packetSentToUpper | cPacket |
simple TunInterface like ITunNic { parameters: string interfaceTableModule; // The path to the InterfaceTable module int mtu @unit("B") = default(1500B); @display("i=block/tunnel"); @signal[packetSentToLower](type=cPacket); @signal[packetReceivedFromLower](type=cPacket); @signal[packetSentToUpper](type=cPacket); @signal[packetReceivedFromUpper](type=cPacket); gates: input upperLayerIn; // from upper layers output upperLayerOut; // to upper layers input appIn; // from application output appOut; // to application }