AckingMacHeader¶
Namespace: inet
class AckingMacHeader
Packet for AckingMac. Packet size is configurable in the MAC layer.
Usage diagram¶
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 |
||
src |
source address |
|
dest |
destination address |
|
srcModuleId |
int |
technical data, uses instead of sending back an ACK packet |
networkProtocol |
int |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Packet for ~AckingMac. Packet size is configurable
// in the MAC layer.
//
class AckingMacHeader extends FieldsChunk
{
MacAddress src; // source address
MacAddress dest; // destination address
int srcModuleId; // technical data, uses instead of sending back an ACK packet
int networkProtocol = -1;
}