EthernetSignalBase¶
Namespace: inet::physicallayer
packet EthernetSignalBase
Abstract base class for various Ethernet traffic types: EtherJam, EtherFilledIfg and EtherPhyFrame.
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
packet |
(no description) |
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
packet |
Represents a filled inter-frame gap in burst mode. Also used for calculating IFG times. |
|
packet |
Represents jam on the Ethernet. |
|
packet |
Represents dataframe on the Ethernet. |
Fields¶
Name |
Type |
Description |
|---|---|---|
srcMacFullDuplex |
bool |
meta-info, for detecting model misconfiguration |
bitrate |
double |
meta-info, for detecting model misconfiguration end signal delimiter (ESD) |
esd1 |
ESD or ESDBRS |
|
esd2 |
ESDOK, ESDERR or ESDJAB |
Properties¶
Name |
Value |
Description |
|---|---|---|
descriptor |
readonly |
|
existingClass |
Source code¶
//
// Abstract base class for various Ethernet traffic types:
// EtherJam, EtherFilledIfg and EtherPhyFrame.
//
packet EthernetSignalBase extends Signal
{
bool srcMacFullDuplex; // meta-info, for detecting model misconfiguration
double bitrate; // meta-info, for detecting model misconfiguration
// end signal delimiter (ESD)
EthernetEsdType esd1 = ESDNONE; // ESD or ESDBRS
EthernetEsdType esd2 = ESDNONE; // ESDOK, ESDERR or ESDJAB
}
File: src/inet/physicallayer/wired/ethernet/EthernetSignal.msg