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

StoreFlowID Element Documentation

NAME

StoreFlowID — Click element; Store a flow identifier in each packet

SYNOPSIS

StoreFlowID(OFFSET)

Ports: 1 input, 1 output
Processing: push

DESCRIPTION

Store a 32-bit flow identifier at OFFSET bytes in the packet. Each new flow will have a different flow identifier, each core (if multiple threads will visit the element) will have a different identifier space.

Needs a FlowIPManager in front.

Keywords:

  • OFFSET — The flowid offset. Default is 40.
  • CAPACITY — Capacity of the flow-table that handles the identifiers. Default is 65536
  • VERBOSE — Be verbose and print messages. Default is 0

EXAMPLES

 FromMinDump(trace.pcap)
 -> CheckIPHeader(CHECKSUM false)
 -> FlowIPManagerIMP()
 -> StoreFlowID(OFFSET 40)
 -> ConsistencyCheck(OFFSET 40)
 -> Discard
 
 DriverManager(wait,  read cc.broken_ratio)

ELEMENT HANDLERS

  • broken_connections (read) — Total number of broken connections
  • broken_packets (read) — Total number of broken packets
  • broken_connections_ratio (read) — Ratio between total broken connections and total connections seen
  • broken_packets_ratio (read) — Ratio between total broken packetsand total packets seen

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

Clone this wiki locally