EthernetPhyHeader

EthernetPhyHeader

class

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

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
FieldsChunk class (no description)

Fields

Name Type Description
chunkLength b
mutable bool
complete bool
correct bool
properlyRepresented bool
rawBin string[]
rawHex string[]
tags RegionTagSet::cObjectRegionTag[]

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
//
class EthernetPhyHeader extends FieldsChunk
{
    chunkLength = PREAMBLE_BYTES + SFD_BYTES;
}

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