CsmaCaMacHeader

Namespace inet

CsmaCaMacHeader

class

(no description)

Extends

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

Fields

Name Type Description
type CsmaCaMacHeaderType

header type (1 byte)

headerLengthField uint8_t

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

transmitterAddress MacAddress

(6 byte)

receiverAddress MacAddress

(6 byte)

Packet operations (observed)

actionmodule
peekAtFrontCsmaCaMac

Source code

class CsmaCaMacHeader extends FieldsChunk
{
    CsmaCaMacHeaderType type;    // header type (1 byte)
    uint8_t headerLengthField;    // header length in bytes, max value is 255 (1 byte)
    MacAddress transmitterAddress;    // (6 byte)
    MacAddress receiverAddress;    // (6 byte)
}

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