EthernetFragmentFcs

Namespace: inet

class EthernetFragmentFcs

This class represents an Ethernet fragment FCS as defined in the section 3.2.9 Frame Check Sequence (FCS) field 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

| FCS | +—————————————————————+

Inheritance diagram

Extends

Name

Type

Description

EthernetFcs

class

This class represents an Ethernet FCS as defined in the section 3.2.9 Frame Check Sequence (FCS) field of the IEEE Std 802.3-2018, IEEE Standard for Ethernet.

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

fcs

uint32_t

actual value may be omitted depending on the selected fcsMode

fcsMode

ChecksumMode

meta information, not represented directly in the frame; NOTE: should be FcsMode, but OMMeT++ bug #1351 prevents that (fixed in OMNeT++ 6.2)

mFcs

bool

meta information, not represented directly in the frame

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// This class represents an Ethernet fragment FCS as defined in the section 3.2.9
// Frame Check Sequence (FCS) field 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
// +---------------------------------------------------------------+
// |                              FCS                              |
// +---------------------------------------------------------------+
//
class EthernetFragmentFcs extends EthernetFcs
{
    bool mFcs; // meta information, not represented directly in the frame
}

File: src/inet/linklayer/ethernet/common/EthernetMacHeader.msg