Namespace inet
Ieee8022LlcHeader
classThis chunk represents an IEEE 802.2 LLC header as defined by the ANSI/IEEE Std 802.2, 1998, IEEE Standard for Information technology, Telecommunications and information exchange between systems, Local and metropolitan area networks.
0 1 2 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 +---------------+---------------+---------------+ | DSAP | SSAP | CONTROL | +---------------+---------------+---------------+
Extends
Name | Type | Description |
---|---|---|
FieldsChunk | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
chunkLength | ||
dsap | short |
1 byte |
ssap | short |
1 byte |
control | int |
1 or 2 byte, control = byte[0]+256*byte[1], two bytes, when (byte[0] & 3) != 3 |
Packet operations (observed)
action | module |
---|---|
insertAtFront | Ieee80211LlcLpd, Ieee8022Llc |
peekAtFront | Ieee80211Portal |
popAtFront | Ieee80211LlcLpd, Ieee8022Llc |
Source code
// // This chunk represents an IEEE 802.2 LLC header as defined by the ANSI/IEEE // Std 802.2, 1998, IEEE Standard for Information technology, Telecommunications // and information exchange between systems, Local and metropolitan area networks. // // 0 1 2 // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 // +---------------+---------------+---------------+ // | DSAP | SSAP | CONTROL | // +---------------+---------------+---------------+ // class Ieee8022LlcHeader extends FieldsChunk { chunkLength = B(3); short dsap = -1; // 1 byte short ssap = -1; // 1 byte int control = -1; // 1 or 2 byte, control = byte[0]+256*byte[1], two bytes, when (byte[0] & 3) != 3 }File: src/inet/linklayer/ieee8022/Ieee8022LlcHeader.msg