EtherPhyFrame

Namespace inet

EtherPhyFrame

packet

Represents an Ethernet PHY frame.

Contains:

  • preamble: not stored (only contributes to length)
  • SFD: not stored (only contributes to length)
  • encapsulated EtherFrame with padding and FCS

Extends

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

Fields

Name Type Description
byteLength
srcMacFullDuplex bool

meta-info, for detecting model misconfiguration

Source code

//
// Represents an Ethernet PHY frame.
//
// Contains:
//  - preamble: not stored (only contributes to length)
//  - SFD: not stored (only contributes to length)
//  - encapsulated EtherFrame with padding and FCS
//
packet EtherPhyFrame extends EtherTraffic
{
    @customize(true);
    byteLength = PREAMBLE_BYTES + SFD_BYTES;
    bool srcMacFullDuplex;  // meta-info, for detecting model misconfiguration 
}

File: src/inet/linklayer/ethernet/EtherFrame.msg