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

Signal

packet

(no description)

Known subclasses

Name

Type

Description

EthernetFilledIfgSignal

packet

Represents a filled inter-frame gap in burst mode. Also used for calculating IFG times.

EthernetJamSignal

packet

Represents jam on the Ethernet.

EthernetSignal

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

EthernetEsdType

ESD or ESDBRS

esd2

EthernetEsdType

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