Namespace inet
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 | +-------------------------------+-------------------------------+
Extends
Name | Type | Description |
---|---|---|
EthernetControlFrameBase | (unknown -- not in documented files) |
Fields
Name | Type | Description |
---|---|---|
chunkLength |
B(2) + B(2) |
|
opCode | ||
pauseTime | int |
in 512 bit-time units |
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