ILinkLayer¶
Package: inet.linklayer.contract
module interface ILinkLayer
Interface for both upper and lower interfaces of different link layers.
Inheritance diagram¶
Implemented by¶
Name |
Type |
Description |
|---|---|---|
compound module |
Implements a trivial MAC protocol for use in AckingWirelessInterface. |
|
simple module |
Implements a simple shortcut to peer MAC protocol that completely bypasses the physical layer. Packets received from the upper layer protocols are never lost. The MAC protocol directly sends packets to the destination MAC protocol without any physical layer processing. Physical layer overhead is simply simulated by overhead bits, overhead transmission duration and a propagation delay. |
Extends¶
Name |
Type |
Description |
|---|---|---|
module interface |
Interface for the upper interface of different link layers. |
|
module interface |
Interface for the lower interface of different link layers. |
Properties¶
Name |
Value |
Description |
|---|---|---|
display |
i=block/rxtx |
Source code¶
//
// Interface for both upper and lower
// interfaces of different link layers.
//
moduleinterface ILinkLayer extends ILinkLayerUpper, ILinkLayerLower
{
parameters:
@display("i=block/rxtx");
}