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

ACKRetrySender Element Documentation

NAME

ACKRetrySender — Click element; Resend packets until a positive acknowledgement is received.

SYNOPSIS

ACKRetrySender(KEYWORDS)

Ports: any number of inputs, any number of outputs

DESCRIPTION

Input 0 should be Ethernet packets. Input 1 should be acknowledgements. When a packet is pulled in on input 0, it is pushed on output 0, and cached until a positive acknowledgement (ACK) is received. If no ACK is received before the resend timer expires, the packet is resent. If the packet has been resent too many times, it is pushed to output 1. If output 1 is not connected, it is dropped.

Keyword arguments are:

  • MAX_TRIES — Unsigned integer, > 0. Send the packet up to this many times before giving up. Default is 16. This includes the initial transmission.
  • TIMEOUT — Unsigned integer, > 0. Milliseconds. Wait this long before resending the packet. Default is 10.
  • HISTORY_SZ — Unsigned integer. Number of most recent packets for which to remember retry data. Defaults to 500.
  • VERBOSE — Boolean. Be noisy. True by default.

ELEMENT HANDLERS

  • summary (read-only) — Print summary of packet retry statistics
  • history (read-only) — Print packet retry history.
  • clear (write-only) — Clear out packet retry history.

SEE ALSO

ACKResponder, ACKRetrySender2, ACKResponder2

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

Clone this wiki locally