CsmaCaMacDataHeader¶
Namespace: inet
class CsmaCaMacDataHeader
(no description)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
type |
header type (1 byte) |
|
headerLengthField |
uint8_t |
header length in bytes, max value is 255 (1 byte) |
transmitterAddress |
(6 byte) |
|
receiverAddress |
(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)
}