next up previous contents index
Next: VSIZE Up: Protocol Specifications Previous: VNET

VDROP

NAME

VDROP (Virtual Drop Protocol)

SPECIFICATION

Throws away occasional incoming packets. Used to exercise the recovery mechanisms of other protocols.

SYNOPSIS

VDROP sessions throw away incoming packets at regular intervals. By default, this interval is set in a somewhat random fashion at session creation time, though it can be set explicitly on a per-protocol basis via a ROM option (see CONFIGURATION below) or on a per-session basis via a control operation.

VDROP has no effect on outgoing packets.

VDROP should probably allow sessions to have more interesting distributions of drop intervals than ``once every N packets.''

REALM

VDROP is in the ASYNC realm.

PARTICIPANTS

VDROP passes participants to the lower protocols without manipulating them.

CONTROL OPERATIONS

VDROP_SETINTERVAL:
Sets the drop interval for this session. An interval of 1 drops every packet, an interval of 2 drops every other packet, etc. An interval of zero indicates that VDROP is disabled for that session. (session only)
Input:
int interval
Output:
none

VDROP_GETINTERVAL:
Returns the current drop interval for this session. (session only)
Input:
none
Output:
int interval

CONFIGURATION

VDROP recognizes the following ROM options:

vdrop/xxx interval N: Instantiation xxx of VDROP will use N as the drop interval for all of its sessions.

AUTHOR

Ed Menze



Larry Peterson
Tue Jul 1 14:50:34 MST 1997