CsmaCaMacDataHeader

CsmaCaMacDataHeader

class

(no description)

Inheritance diagram

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

Extends

Name Type Description
CsmaCaMacHeader class (no description)

Fields

Name Type Description
chunkLength b
type CsmaCaMacHeaderType

header type (1 byte)

networkProtocol int

ethernet protocol ID (2 bytes)

priority int

802.1d UP (User Priority) (1 byte)

headerLengthField uint8_t

header length in bytes, max value is 255 (1 byte)

transmitterAddress MacAddress

(6 byte)

receiverAddress MacAddress

(6 byte)

mutable bool
complete bool
correct bool
properlyRepresented bool
rawBin string[]
rawHex string[]
tags RegionTagSet::cObjectRegionTag[]

Source code

class CsmaCaMacDataHeader extends CsmaCaMacHeader
{
    chunkLength = B(17);
    type = CSMA_DATA;
    int networkProtocol = -1;    // ethernet protocol ID (2 bytes)
    int priority = -1;    // 802.1d UP (User Priority) (1 byte)
}

File: src/inet/linklayer/csmaca/CsmaCaMacHeader.msg