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

ConsistencyCheck Element Documentation

NAME

ConsistencyCheck — Click element; Check flow consistency

SYNOPSIS

ConsistencyCheck(OFFSET)

Batching: Batching natively supported
Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Check that a given 4-byte value at OFFSET has always the same value. E.g. check that a flow classifier always assign the same flow-id to any 5-tuple.

This can be used to debug and verify the functionalities of the FlowIPManager elements.

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/analysis/consistencycheck.hh:10 on 2022/11/25.

Clone this wiki locally