A frame size modifier which will change the size of the frame randomly between a minimum and maximum value. More...
Methods | |
Description.Get | |
Returns a textual description of the object. | |
Maximum.Get | |
Method to get the current configured maximum frame size. More... | |
Maximum.Set maximum | |
Sets the Maximum size of a Frame of a flow with FrameModifier.RandomSize. More... | |
Minimum.Get | |
Method to get the currently configured minimum frame size. More... | |
Minimum.Set minimum | |
Sets the Minimum size of a Frame of a flow with FrameModifier.RandomSize. More... | |
Parent.Get | |
Returns the parent object. | |
Result.Get | |
Returns the accumulated counters. More... | |
A frame size modifier which will change the size of the frame randomly between a minimum and maximum value.
ByteBlower allows different modifiers on a Frame. Some modifiers work on the size of a frame, others content. The FrameModifier.RandomSize is a modifier which modifies the size of the frame.
A FrameModifier.RandomSize will change the frame size randomly. The following parameters can be configured:
So, a stream with a FrameModifier.RandomSize installed, will start sending frames with a size randomly chosen between <Minimum size> size and <Maximum size> size. Each time a frame is sent, a new size is selected.
All sizes are without the additional 4 bytes Ethernet checksum.
The frame size modifier will change the sizes of the Frames added to the stream. If the original frame size is bigger, the size will truncated to the requested frame size. If automatic checksum calculations have been enabled on the Frame, they will be recalculated. This depends on the configuration of the Frame. See the Frame documentation on how this can be done.
If the original frame size of a Frame is too short, the Frame will be padded with zero-value bytes.
FrameSizeModifier.Random::Maximum.Get |
FrameSizeModifier.Random::Maximum.Set | maximum | ||
Sets the Maximum size of a Frame of a flow with FrameModifier.RandomSize.
This defines the maximum frame size of the stream.
maximum | Maximum byte length of the Frame. This value must be at least 61 bytes, and maximum 8192. The value must also be bigger than the <Minimum size> configured. Default: 1514 |
tclerror | Maximum too small or too big. |
This example will set the maximum frame size to 128 bytes.
FrameSizeModifier.Random::Minimum.Get |
FrameSizeModifier.Random::Minimum.Set | minimum | ||
Sets the Minimum size of a Frame of a flow with FrameModifier.RandomSize.
This defines the minimal frame size of the stream.
minimum | Minimum byte length of the Frame. This value must be at least 60 bytes, and maximum 8191. The value must also be less than the <Maximum size> configured. Default: 60 |
tclerror | Minimum too small or too big. |
This example will set the minimum frame size to 128 bytes.
FrameSizeModifier.Random::Result.Get |
Returns the accumulated counters.
Returns:
<FrameSizeModifier.Result object>