EthernetPauseFrame
classThis class represents an IEEE 802.3 Ethernet MAC Pause frame as defined in the section 31.4.1 MAC Control frame format of the IEEE Std 802.3-2018, IEEE Standard for Ethernet.
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 +-------------------------------+-------------------------------+ | OpCode | PauseTime | +-------------------------------+-------------------------------+
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| EthernetControlFrameBase | class |
This is a base class for all IEEE 802.3 Ethernet control frames defined the IEEE Std 802.3-2018, IEEE Standard for Ethernet. |
Fields
| Name | Type | Description |
|---|---|---|
| chunkLength | b | |
| opCode | int | |
| pauseTime | int |
in 512 bit-time units |
| id | int | |
| mutable | bool | |
| complete | bool | |
| correct | bool | |
| properlyRepresented | bool | |
| rawBin | string[] | |
| rawHex | string[] | |
| regionTags | SharingRegionTagSet::TagBaseRegionTag[] |
Source code
// // This class represents an IEEE 802.3 Ethernet MAC Pause frame as defined in // the section 31.4.1 MAC Control frame format of the IEEE Std 802.3-2018, IEEE // Standard for Ethernet. // // 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 // +-------------------------------+-------------------------------+ // | OpCode | PauseTime | // +-------------------------------+-------------------------------+ // class EthernetPauseFrame extends EthernetControlFrameBase { chunkLength = B(4); // B(2) + B(2) opCode = ETHERNET_CONTROL_PAUSE; int pauseTime; // in 512 bit-time units }File: src/inet/linklayer/ethernet/common/EthernetControlFrame.msg