FieldsChunk

Namespace: inet

class FieldsChunk

(no description)

Inheritance diagram

class FieldsChunkFieldsChunkclass ChunkChunkclass AckingMacHeaderAckingMacHeaderclass AcknowledgeHeaderAcknowledgeHeaderclass AodvControlPacketAodvControlPacketclass ApplicationPacketApplicationPacketclass ApskPhyHeaderApskPhyHeaderclass ArpPacketArpPacketclass BgpHeaderBgpHeaderclass BMacHeaderBaseBMacHeaderBaseclass BpduBaseBpduBaseclass CfmMessageCfmMessageclass ChecksumHeaderChecksumHeaderclass CsmaCaMacHeaderCsmaCaMacHeaderclass CsmaCaMacTrailerCsmaCaMacTrailerclass DestinationL3AddressHeaderDestinationL3AddressHeaderclass DestinationMacAddressHeaderDestinationMacAddressHeaderclass DestinationPortHeaderDestinationPortHeaderclass DhcpMessageDhcpMessageclass DsdvHelloDsdvHelloclass DymoPacketDymoPacketclass EchoPacketEchoPacketclass EigrpMessageEigrpMessageclass EtherAppReqEtherAppReqclass EtherAppRespEtherAppRespclass EthernetControlFrameBaseEthernetControlFrameBaseclass EthernetFcsEthernetFcsclass EthernetMacAddressFieldsEthernetMacAddressFieldsclass EthernetPaddingEthernetPaddingclass EthernetTypeOrLengthFieldEthernetTypeOrLengthFieldclass FragmentNumberHeaderFragmentNumberHeaderclass GenericAppMsgGenericAppMsgclass GenericPhyHeaderGenericPhyHeaderclass GpsrBeaconGpsrBeaconclass GptpBaseGptpBaseclass HopLimitHeaderHopLimitHeaderclass IcmpHeaderIcmpHeaderclass Icmpv6HeaderIcmpv6Headerclass Ieee80211MgmtFrameIeee80211MgmtFrameclass Ieee80211MacHeaderIeee80211MacHeaderclass Ieee80211MacTrailerIeee80211MacTrailerclass Ieee80211MpduSubframeHeaderIeee80211MpduSubframeHeaderclass Ieee80211MsduSubframeHeaderIeee80211MsduSubframeHeaderclass Ieee802154MacHeaderIeee802154MacHeaderclass Ieee8021aeTagEpdHeaderIeee8021aeTagEpdHeaderclass Ieee8021aeTagTpidHeaderIeee8021aeTagTpidHeaderclass Ieee8021qTagEpdHeaderIeee8021qTagEpdHeaderclass Ieee8021qTagTpidHeaderIeee8021qTagTpidHeaderclass Ieee8021rTagEpdHeaderIeee8021rTagEpdHeaderclass Ieee8021rTagTpidHeaderIeee8021rTagTpidHeaderclass Ieee8022LlcHeaderIeee8022LlcHeaderclass Ieee8022SnapHeaderIeee8022SnapHeaderclass Ieee802EpdHeaderIeee802EpdHeaderclass IgmpMessageIgmpMessageclass IPsecAuthenticationHeaderIPsecAuthenticationHeaderclass IPsecEspHeaderIPsecEspHeaderclass IPsecEspTrailerIPsecEspTrailerclass Ipv6ExtensionHeaderIpv6ExtensionHeaderclass LdpPacketLdpPacketclass LinkStateMsgLinkStateMsgclass LMacHeaderBaseLMacHeaderBaseclass MobilityHeaderMobilityHeaderclass MplsHeaderMplsHeaderclass MrpSubTlvHeaderMrpSubTlvHeaderclass MrpTlvHeaderMrpTlvHeaderclass MrpVersionMrpVersionclass NetworkHeaderBaseNetworkHeaderBaseclass OspfPacketBaseOspfPacketBaseclass EthernetPhyHeaderBaseEthernetPhyHeaderBaseclass Ieee80211PhyHeaderIeee80211PhyHeaderclass Ieee80211PhyPreambleIeee80211PhyPreambleclass PimPacketPimPacketclass PppHeaderPppHeaderclass PppTrailerPppTrailerclass ProtocolHeaderProtocolHeaderclass FrameHeaderFrameHeaderclass PacketHeaderPacketHeaderclass TransportParametersExtensionTransportParametersExtensionclass RipPacketRipPacketclass RsvpMessageRsvpMessageclass RtcpPacketRtcpPacketclass RtpHeaderRtpHeaderclass RtpMpegHeaderRtpMpegHeaderclass SequenceNumberHeaderSequenceNumberHeaderclass ShortcutMacHeaderShortcutMacHeaderclass ShortcutPhyHeaderShortcutPhyHeaderclass SimpleVoipPacketSimpleVoipPacketclass SubpacketLengthHeaderSubpacketLengthHeaderclass TransportHeaderBaseTransportHeaderBaseclass TransportPseudoHeaderTransportPseudoHeaderclass VoipStreamPacketVoipStreamPacketclass XMacHeaderBaseXMacHeaderBase

Extends

Name

Type

Description

Chunk

class

(no description)

Known subclasses

Name

Type

Description

AckingMacHeader

class

Packet for AckingMac. Packet size is configurable in the MAC layer.

AcknowledgeHeader

class

(no description)

AodvControlPacket

class

Base packet for AODV Control Packets

ApplicationPacket

class

Generic application packet

ApskPhyHeader

class

(no description)

ArpPacket

class

ARP packet. This is a specialized version: prepared for IEEE 802 hardware addresses and IPv4. Packet fields are therefore represented by C++ classes MACAddress and IPv4Address. Also, some ARP protocol header fields are not modelled explicitly (their values are implied):

BgpHeader

class

Represents a BGPv4 message header.

BMacHeaderBase

class

Base class for BMac headers.

BpduBase

class

Represents a BPDU (Bridge PDU) used by the STP and RSTP protocols, as defined in the 802.1D-1998 specification.

CfmMessage

class

Base header for the Connectivity Fault Management (CFM) protocol suite for managing connectivity at the Ethernet service level. CFM is defined within the IEEE Std 802.1Q-2018 standard, later IEEE 802.1ag and ITU Y.1731.

ChecksumHeader

class

(no description)

CsmaCaMacHeader

class

(no description)

CsmaCaMacTrailer

class

(no description)

DestinationL3AddressHeader

class

(no description)

DestinationMacAddressHeader

class

(no description)

DestinationPortHeader

class

(no description)

DhcpMessage

class

Represents a DHCP message. DHCP (Dynamic Host Configuration Protocol, RFC 2131) provides a framework for passing configuration information to hosts on a TCP/IP network.

DsdvHello

class

(no description)

DymoPacket

class

(no description)

EchoPacket

class

Generic network protocol packet for testing network connectivity.

EigrpMessage

class

General structure of EIGRP message with header

EtherAppReq

class

Request packet sent by EtherAppClient. Contains the number of bytes to be sent back as response; if this value is greater than ~1400, the reply will consist of several Ethernet frames. See also EtherAppResp.

EtherAppResp

class

Packet sent back by EtherAppServer in response to an EtherAppReq.

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.

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.

EthernetMacAddressFields

class

This class represents the source and destination address fields of an IEEE 802.3 Ethernet MAC header as defined in the sections 3.2.3 Address fields, 3.2.4 Destination Address field, 3.2.5 Source Address field of the IEEE Std 802.3-2018, IEEE Standard for Ethernet.

EthernetPadding

class

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.

EthernetTypeOrLengthField

class

This class represents the EtherType field of an IEEE 802.3 Ethernet MAC header as defined in the section 3.2.6 Length/Type field of the IEEE Std 802.3-2018, IEEE Standard for Ethernet.

FragmentNumberHeader

class

(no description)

GenericAppMsg

class

Message class for generic request-reply style applications. The client sends a GenericAppMsg which contains the number of bytes the client wants the server to send back as reply.

GenericPhyHeader

class

(no description)

GpsrBeacon

class

The GPSR beacon packet is sent periodically by all GPSR routers to notify the neighbors about the router’s address and position.

GptpBase

class

ieee802.1AS-2020 10.6.2.1, 11.4.2

HopLimitHeader

class

(no description)

IcmpHeader

class

ICMP message class

Icmpv6Header

class

Represents an ICMPv6 packet.

Ieee80211MgmtFrame

class

Frame body base class used to hide various frame body types

Ieee80211MacHeader

class

The common part of 802.11 frames.

Ieee80211MacTrailer

class

(no description)

Ieee80211MpduSubframeHeader

class

(no description)

Ieee80211MsduSubframeHeader

class

(no description)

Ieee802154MacHeader

class

A CSMA mac header format definition

Ieee8021aeTagEpdHeader

class

This chunk represents an IEEE 802.1AE tag header without the TPID field and with the following EtherType Protocol Discrimination (EPD) in the packet. The reason for this shifted representation is that it’s often easier to look at an 802.1AE tag this way during processing. The typeOrLength field contains the EtherType as defined in the section 9.2 EtherTypes of the IEEE Std 802-2014, IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture.

Ieee8021aeTagTpidHeader

class

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.

Ieee8021qTagEpdHeader

class

This chunk represents an IEEE 802.1Q tag header without the TPID field and with the following EtherType Protocol Discrimination (EPD) in the packet. The reason for this shifted representation is that it’s often easier to look at a 802.1Q tag this way during processing. The typeOrLength field contains the EtherType as defined in the section 9.2 EtherTypes of the IEEE Std 802-2014, IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture.

Ieee8021qTagTpidHeader

class

This chunk represents an IEEE 802.1Q tag header as defined by the section 9.3 Tag format of the IEEE Std 802.1Q-2018, IEEE Standard for Local and Metropolitan Area Networks, Bridges and Bridged Networks.

Ieee8021rTagEpdHeader

class

This chunk represents an IEEE 802.1R tag header without the TPID field and with the following EtherType Protocol Discrimination (EPD) in the packet. The reason for this shifted representation is that it’s often easier to look at a 802.1Q tag this way during processing. The typeOrLength field contains the EtherType as defined in the section 9.2 EtherTypes of the IEEE Std 802-2014, IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture.

Ieee8021rTagTpidHeader

class

This chunk represents an IEEE 802.1R tag header as defined by the section 7.8 Tag format of the IEEE Std 802.1CB-2017, IEEE Standard for Local and Metropolitan Area Networks, Frame Replication and Elimination for Reliability.

Ieee8022LlcHeader

class

This chunk represents an IEEE 802.2 LLC header as defined by the ANSI/IEEE Std 802.2, 1998, IEEE Standard for Information technology, Telecommunications and information exchange between systems, Local and metropolitan area networks.

Ieee8022SnapHeader

class

This chunk represents an IEEE 802.2 LLC header SNAP extension as defined by the section 9.5 SNAP of the IEEE Std 802-2014, IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture.

Ieee802EpdHeader

class

This class represents an IEEE 802 EtherType Protocol Discrimination (EPD) header as defined in the section 9.2 EtherTypes of the IEEE Std 802-2014, IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture.

IgmpMessage

class

(no description)

IPsecAuthenticationHeader

class

IPsec AH header (RFC 4302).

IPsecEspHeader

class

IPsec ESP header (RFC 4303).

IPsecEspTrailer

class

IPsec ESP trailer (RFC 4303).

Ipv6ExtensionHeader

class

This serves as the base class for all the Ipv6 extension headers.

LdpPacket

class

Base class for LDP packets

LinkStateMsg

class

Packet for disseminating link state information (TeLinkStateInfo[]) by the LinkStateRouting module which implements a minimalistic link state routing protocol.

LMacHeaderBase

class

Base class for LMac headers.

MobilityHeader

class

(no description)

MplsHeader

class

(no description)

MrpSubTlvHeader

class

MRP_SubTLVHeader: Generic header for SubTLVs used in more detailed MRP configurations.

MrpTlvHeader

class

MRP_TLVHeader: Base class for all TLVs in MRP; contains the Type and Length fields of the TLV. Note that all TLVs (except for MRP_End) must be padded to a multiple of 32 bits.

MrpVersion

class

MRP_Version (non-TLV field): Specifies the version of the MRP being used.

NetworkHeaderBase

class

(no description)

OspfPacketBase

class

Represents an OSPF packet header

EthernetPhyHeaderBase

class

This is a base class for all IEEE 802.3 Ethernet PHY headers defined the IEEE Std 802.3-2018, IEEE Standard for Ethernet.

Ieee80211PhyHeader

class

(no description)

Ieee80211PhyPreamble

class

(no description)

PimPacket

class

Header

PppHeader

class

PPP frame.

PppTrailer

class

(no description)

ProtocolHeader

class

(no description)

FrameHeader

class

(no description)

PacketHeader

class

(no description)

TransportParametersExtension

class

(no description)

RipPacket

class

RIPv2 packet

RsvpMessage

class

RSVP message common part

RtcpPacket

class

(no description)

RtpHeader

class

This class represents an RTP data packet. Real data can either be encapsulated, or simulated by adding length.

RtpMpegHeader

class

(no description)

SequenceNumberHeader

class

(no description)

ShortcutMacHeader

class

(no description)

ShortcutPhyHeader

class

(no description)

SimpleVoipPacket

class

Represents a voice packet used by SimpleVoipSender / SimpleVoipReceiver

SubpacketLengthHeader

class

(no description)

TransportHeaderBase

class

This base class provides an abstraction for different transport layer packets.

TransportPseudoHeader

class

Represents a TCP/UDP pseudo header, used for checksum calculation.

VoipStreamPacket

class

Packet type used by VoIPSourceApp and VoIPSinkApp

XMacHeaderBase

class

Base class for XMac headers.

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

class FieldsChunk extends Chunk
{
    @existingClass;
    @descriptor(readonly);
}

File: src/inet/common/packet/chunk/Chunk.msg