DefragmenterBase

Package: inet.protocolelement.fragmentation.base

DefragmenterBase

simple module

C++ definition

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.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Known subclasses

Name Type Description
FragmentNumberHeaderBasedDefragmenter simple module (no description)
FragmentTagBasedDefragmenter simple module (no description)

Extends

Name Type Description
PacketPusherBase simple module

Base module for various packet pusher modules.

Parameters

Name Type Default value Description
displayStringTextFormat string "processed %p pk (%l)"

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

deleteSelf bool false

Properties

Name Value Description
class DefragmenterBase
display i=block/join

Gates

Name Direction Size Description
in input
out output

Source code

//
// 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.
//
simple DefragmenterBase extends PacketPusherBase
{
    parameters:
        bool deleteSelf = default(false);
        @display("i=block/join");
        @class(DefragmenterBase);
}
File: src/inet/protocolelement/fragmentation/base/DefragmenterBase.ned