Ieee8021aeTagTpidHeader
classThis chunk represents an IEEE 802.1AE tag header as defined by the section 9.3 MAC Security TAG of the IEEE Std 802AE-2018, IEEE Standard for Local and metropolitan area networks, Media Access Control (MAC) Security.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-------------------------------+---------------+---------------+ | TPID | TCI/AN | SL | +-------------------------------+---------------+---------------+ | PN | +---------------------------------------------------------------+ | | + SCI + | | +---------------------------------------------------------------+
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| FieldsChunk | class | (no description) |
Fields
| Name | Type | Description |
|---|---|---|
| chunkLength | b | |
| tpid | uint16_t |
Tag Protocol Identifier (TPID): 16-bit field specifying an EtherType value that is used to identify the frame as a tagged frame and to select the correct tag decoding functions. |
| tciAn | uint8_t | |
| sl | uint8_t | |
| pn | uint32_t | |
| sci | uint64_t | |
| id | int | |
| mutable | bool | |
| complete | bool | |
| correct | bool | |
| properlyRepresented | bool | |
| rawBin | string[] | |
| rawHex | string[] | |
| regionTags | SharingRegionTagSet::TagBaseRegionTag[] |
Source code
// // This chunk represents an IEEE 802.1AE tag header as defined by the section // 9.3 MAC Security TAG of the IEEE Std 802AE-2018, IEEE Standard for Local and // metropolitan area networks, Media Access Control (MAC) Security. // // 0 1 2 3 // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 // +-------------------------------+---------------+---------------+ // | TPID | TCI/AN | SL | // +-------------------------------+---------------+---------------+ // | PN | // +---------------------------------------------------------------+ // | | // + SCI + // | | // +---------------------------------------------------------------+ // class Ieee8021aeTagTpidHeader extends FieldsChunk { chunkLength = B(8); // Length without SCI. Set it to B(16) when hasSci is true. uint16_t tpid; // Tag Protocol Identifier (TPID): 16-bit field specifying an EtherType value that is used to identify the frame as a tagged frame and to select the correct tag decoding functions. uint8_t tciAn; uint8_t sl; uint32_t pn; uint64_t sci; }File: src/inet/linklayer/ieee8021ae/Ieee8021aeTagHeader.msg