EthernetPadding

Namespace: inet

class EthernetPadding

This class represents the variable length padding part of an Ethernet frame as defined in the section 3.2.8 Pad field of the IEEE Std 802.3-2018, IEEE Standard for Ethernet.

0 1

0 1 2 3 4 5 6 7 8 9 0 1 2 3 …

| Non-zero number of 0 bits | +——————————-+

Inheritance diagram

Extends

Name

Type

Description

FieldsChunk

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// This class represents the variable length padding part of an Ethernet frame
// as defined in the section 3.2.8 Pad field of the IEEE Std 802.3-2018, IEEE
// Standard for Ethernet.
//
//  0                   1
//  0 1 2 3 4 5 6 7 8 9 0 1 2 3 ...
// +-------------------------------+
// |   Non-zero number of 0 bits   |
// +-------------------------------+
//
class EthernetPadding extends FieldsChunk
{
}

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