EthernetIIFrame

Namespace inet

EthernetIIFrame

packet

Ethernet II headers contain a 16-bit EtherType to identify the encapsulated protocol.

Header length: src(6)+dest(6)+etherType(2) + FCS(4) = 18 bytes

Extends

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

Fields

Name Type Description
byteLength
etherType int

Source code

//
// Ethernet II headers contain a 16-bit ~EtherType to identify
// the encapsulated protocol.
//
// Header length: src(6)+dest(6)+etherType(2) + FCS(4) = 18 bytes
//
packet EthernetIIFrame extends EtherFrame
{
    byteLength = ETHER_MAC_FRAME_BYTES;
    int etherType @enum(EtherType);
}


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