Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

LinkTester Element Documentation

NAME

LinkTester — Click element;

SYNOPSIS

LinkTester(SRC, DST [, KEYWORDS])

Ports: no inputs, 1 output
Processing: push
Drivers: userlevel

DESCRIPTION

Send experimental packets over wireless link to test link characteristics. Packets are sent with source and destination ethernet address SRC_ETH and DST_ETH. The ethernet type code is set to 0x7eee.

Keyword arguments are:

  • START_TIME — Integer. When to start the experiment, in seconds since the ``epoch'' (time_t). Defaults to 5 seconds after router initialization.

  • ITERATIONS — Unsigned integer. Number of iterations to the run the experiment. In each iteration, each node sends broadcasts, then unicasts, then broadcasts. Defaults to 1.

  • SEND_FIRST — Boolean. Should this element send its packets at the beginning of the iteration? Otherwise, packets are sent at the end. Defaults to true.

  • PAD_TIME — Unsigned integer. Milliseconds between experiment phases. Defaults to 10,000 (10 seconds).

  • UNICAST_SEND_TIME —

  • BROADCAST_SEND_TIME — Unsigned integer. Milliseconds for which to send unicast or broadcast packets during each iteration. Defaults to 10,000 (10 seconds).

  • UNICAST_PACKET_SZ —

  • BROADCAST_PACKET_SZ — Unsigned integer. Size of unicast or broadcast packets, including ethernet header and experiment header.

  • UNICAST_LAMBDA —

  • BROADCAST_LAMBDA — Double. Lambda parameter for unicast or broadcast exponentially distributed inter-packet spacing, in milliseconds. Defaults to 1.

Generated by click-elem2man from ../elements/grid/linktester.hh:10 on 2018/10/03.

Clone this wiki locally