EthernetSignalBase

Namespace inet::physicallayer

EthernetSignalBase

packet

C++ definition

Abstract base class for various Ethernet traffic types: EtherJam, EtherFilledIfg and EtherPhyFrame.

Extends

Name Type Description
Signal (unknown -- not in documented files)

Fields

Name Type Description
srcMacFullDuplex bool

meta-info, for detecting model misconfiguration

bitrate double

meta-info, for detecting model misconfiguration

esd1 EthernetEsdType

end signal delimiter (ESD)

esd2 EthernetEsdType

ESDOK, ESDERR or ESDJAB

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