SPECIFICATION
Shuffles the order of incoming packets. Used to exercise the
recovery mechanisms of other protocols.
SYNOPSIS
VDISORDER sessions deliver packets in a somewhat different order than
they receive them. The characteristics of the reordering are
controlled by per-session parameters which can be set by
control operations. VDISORDER will eventually deliver all packets it
receives.
VDISORDER has no effect on outgoing packets.
REALM
VDISORDER is in the ASYNC realm.
PARTICIPANTS
VDISORDER passes participants to the lower protocols without manipulating
them.
CONTROL OPERATIONS
- VDISORDER_SET_ARRIVAL_INTERVAL:
-
Sets the arrival interval for this session. This is the number of
packets that are delivered in-order before the session goes into a
disordering state.
(session only)
- Input:
- int interval
- Output:
- none
- VDISORDER_GET_ARRIVAL_INTERVAL:
-
Returns the arrival interval for this session.
(session only)
- Input:
- none
- Output:
- int interval
- VDISORDER_SET_DISORDER_INTERVAL:
-
Sets the disorder interval for this session. This is the number of
packets that are held while a session is in a disordering state before
the set is delivered in a random order to the upper protocol (and the
session leaves the disordering state.) This
parameter controls how far out-of-order a packet might arrive.
(session only)
- Input:
- int interval
- Output:
- none
- VDISORDER_GET_DISORDER_INTERVAL:
-
Returns the disorder interval for this session.
(session only)
- Input:
- none
- Output:
- int interval
- VDISORDER_SET_TIMEOUT_INTERVAL:
-
Sets the timeout interval for this session. When a session enters a
disordering state, it starts a timeout event for this many
milliseconds. If this event fires before the session has received sufficient
packets to satisfy the disorder interval, it disorders the packets and
delivers them to the upper protocol anyway.
(session only)
- Input:
- int interval
- Output:
- none
- VDISORDER_GET_TIMEOUT_INTERVAL:
-
Returns the timeout interval for this session.
(session only)
- Input:
- none
- Output:
- int interval
AUTHOR
Erich Nahum