FragmentNumberHeaderBasedDefragmenter

Package: inet.protocolelement.fragmentation

simple module FragmentNumberHeaderBasedDefragmenter

(no description)

inet.protocolelement.fragmentation.FragmentNumberHeaderBasedDefragmenterFragmentNumberHeaderBasedDefragmentersimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

DataService

compound module

(no description)

PeerService

compound module

(no description)

Extends

Name

Type

Description

DefragmenterBase

simple module

Base type for packet defragmenters that reassemble original packets from fragments. Collects and stores fragments until all fragments of a packet are received, then reconstructs the original packet.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“processed {numProcessedPackets} pk ({processedTotalLength})”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

deleteSelf

bool

false

headerPosition

string

“front”

Properties

Name

Value

Description

class

FragmentNumberHeaderBasedDefragmenter

display

i=block/join

Gates

Name

Direction

Size

Description

in

input

out

output

Source code

simple FragmentNumberHeaderBasedDefragmenter extends DefragmenterBase like IPacketDefragmenter
{
    parameters:
        string headerPosition @enum("front","back") = default("front");
        @class(FragmentNumberHeaderBasedDefragmenter);
}

File: src/inet/protocolelement/fragmentation/FragmentNumberHeaderBasedDefragmenter.ned