LengthBasedFragmenterPolicy¶
Package: inet.protocolelement.fragmentation.policy
simple module LengthBasedFragmenterPolicy
(no description)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
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 |
minFragmentLength |
int |
0b |
|
maxFragmentLength |
int |
||
roundingLength |
int |
1B |
|
fragmentHeaderLength |
int |
0b |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
LengthBasedFragmenterPolicy |
Source code¶
simple LengthBasedFragmenterPolicy extends SimpleModule like IFragmenterPolicy
{
parameters:
@class(LengthBasedFragmenterPolicy);
int minFragmentLength @unit(b) = default(0b);
int maxFragmentLength @unit(b);
int roundingLength @unit(b) = default(1B);
int fragmentHeaderLength @unit(b) = default(0b);
@class(LengthBasedFragmenterPolicy);
}
File: src/inet/protocolelement/fragmentation/policy/LengthBasedFragmenterPolicy.ned