Skip to content
Tom Barbette edited this page Nov 25, 2022 · 1 revision

FastUDPFlowsIP6 Element Documentation

NAME

FastUDPFlowsIP6 — Click element; creates packets flows with static UDP/IP6/Ethernet headers

SYNOPSIS

FastUDPFlowsIP6(RATE, LIMIT, LEN,

 SRCETH, SRCIP,N<>
 DSTETH, DSTIP,N<>
 FLOWS, FLOWSIZE [, CHECKSUM, ACTIVE])

Batching: Batching natively supported
Ports: no inputs, 1 output
Processing: agnostic

DESCRIPTION

FastUDPFlowsIP6 is a benchmark tool. At initialization time, FastUDPFlowsIP6 creates FLOWS number of UDP/IP packets of length LENGTH (min 60), with source ethernet address SRCETH, source IP address SRCIP, destination ethernet address DSTETH, and destination IP address DSTIP. Source and destination ports are randomly generated. The UDP checksum is calculated if CHECKSUM is true; it is true by default. Each time the FastUDPFlowsIP6 element is called, it selects a flow, increments the reference count on the skbuff created and returns the skbuff object w/o copying or cloning. Therefore, the packet returned by FastUDPFlowsIP6 should not be modified.

FastUDPFlowsIP6 sents packets at RATE packets per second. It will send LIMIT number of packets in total. Each flow is limited to FLOWSIZE number of packets. After FLOWSIZE number of packets are sent, the src and dst port will be modified.

After FastUDPFlowsIP6 has sent LIMIT packets, it will calculate the average send rate (packets per second) between the first and last packets sent and make that available in the rate handler.

By default FastUDPFlowsIP6 is ACTIVE.

ELEMENT HANDLERS

  • count (read-only) — Returns the total number of packets that have been generated.
  • rate (read/write) — Returns or sets the RATE parameter.
  • reset (write) — Reset and restart.
  • active (write) — Change ACTIVE

EXAMPLES

 FastUDPFlowsIP6(100000, 500000, 60,
 0:0:0:0:0:0, 3ffe::1.0.0.1,
 1:1:1:1:1:1, 3ffe::1.0.0.1,
 100, 10)
 -> ToDevice;

Generated by click-elem2man from ../elements/tcpudp/fastudpflowsip6.hh:13 on 2022/11/25.

Clone this wiki locally