BasicFragmentationPolicy

Package: inet.linklayer.ieee80211.mac.fragmentation

BasicFragmentationPolicy

simple module

C++ definition

Implements a basic fragmentation policy, which employs a fragmentation frame size threshold.

Inheritance diagram

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

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

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

fragmentationThreshold int 1500B

Properties

Name Value Description
class BasicFragmentationPolicy
display i=block/control

Source code

//
// Implements a basic fragmentation policy, which employs a fragmentation
// frame size threshold.
//
simple BasicFragmentationPolicy extends SimpleModule like IFragmentationPolicy
{
    parameters:
        @class(BasicFragmentationPolicy);
        int fragmentationThreshold @unit(B) = default(1500B);
        @display("i=block/control");
}

File: src/inet/linklayer/ieee80211/mac/fragmentation/BasicFragmentationPolicy.ned