EthernetPhyHeader

Namespace inet::physicallayer

EthernetPhyHeader

class

This class represents an Ethernet PHY header as defined in the IEEE Std 802.3-2018, IEEE Standard for Ethernet.

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +---------------------------------------------------------------+ | Preamble (0x55) | + +---------------+ | | SFD | +-----------------------------------------------+---------------+

Extends

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

Packet operations (observed)

actionmodule
insertAtFrontEthernetCsmaMac, EthernetMac, EthernetPhyHeaderInserter
peekAtFrontGptp, EthernetPhyHeaderChecker
popAtFrontEthernetCsmaMac, EthernetMac, EthernetPhyHeaderChecker

Source code

//
// This class represents an Ethernet PHY header as defined in the IEEE Std
// 802.3-2018, IEEE Standard for Ethernet.
//
//  0                   1                   2                   3
//  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
// +---------------------------------------------------------------+
// |                        Preamble (0x55)                        |
// +                                               +---------------+
// |                                               |      SFD      |
// +-----------------------------------------------+---------------+
//
class EthernetPhyHeader extends EthernetPhyHeaderBase
{
}

File: src/inet/physicallayer/wired/ethernet/EthernetPhyHeader.msg