(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 |
---|---|---|---|
macTablePath | string | "^.macTable" |
The path to the MACAddressTable module |
Name | Value | Description |
---|---|---|
display | i=block/switch |
Name | Direction | Size | Description |
---|---|---|---|
ifIn [ ] | input | ||
ifOut [ ] | output | ||
stpIn | input | ||
stpOut | output |
Name | Type | Unit |
---|---|---|
packetReceivedFromLower | cPacket | |
packetSentToLower | cPacket |
simple MACRelayUnit like IMACRelayUnit { parameters: string macTablePath = default("^.macTable"); // The path to the MACAddressTable module @display("i=block/switch"); @signal[packetSentToLower](type=cPacket); @signal[packetReceivedFromLower](type=cPacket); gates: input ifIn[] @labels(EtherFrame); output ifOut[] @labels(EtherFrame); input stpIn @loose; output stpOut @loose; }