CsmaCaMacDataHeader

Namespace: inet

class CsmaCaMacDataHeader

(no description)

Inheritance diagram

Extends

Name

Type

Description

CsmaCaMacHeader

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

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)

chunkLength

type

networkProtocol

int

ethernet protocol ID (2 bytes)

priority

int

802.1d UP (User Priority) (1 byte)

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

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