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

LinkStat Element Documentation

NAME

LinkStat — Click element; Track broadcast loss rates.

SYNOPSIS

LinkStat([KEYWORDS])

Ports: 1 input, at most 1 output
Processing: push

DESCRIPTION

Expects Link probe packets as input. Records the last WINDOW unique (not neccessarily sequential) sequence numbers of link probes from each host, and calculates loss rates over the last TAU milliseconds for each host. If the output is connected, sends probe packets every PERIOD milliseconds. The source Ethernet address ETH must be specified if the second output is connected.

Keyword arguments are:

  • ETH — Ethernet address of this node; required if output is connected.
  • PERIOD — Unsigned integer. Millisecond period between sending link probes if second output is connected. Defaults to 1000 (1 second).
  • WINDOW — Unsigned integer. Number of most recent sequence numbers to remember for each host. Defaults to 100.
  • TAU — Unsigned integer. Millisecond period over which to calculate loss rate for each host. Defaults to 10,000 (10 seconds).
  • SIZE — Unsigned integer. Total number of bytes in probe packet, including ethernet header and above. Defaults to 1000.
  • USE_SECOND_PROTO — Boolean. If true, use the alternate LinkStat ethernet protocol number. The normal protocol number is 0x7ffe; the alternate number is 0x7ffd. Defaults to false.

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

Clone this wiki locally