PacketLogger2
Log packets for later dumping/analysis.
SYNOPSIS§
PacketLogger2(KEYWORKDS)
Ports: 1 input, 1 output
Processing: agnostic
DESCRIPTION§
PacketLogger2 records the size, timestamp, user annotations, and the first few bytes of every packet to pass through. The list of recorded data can be dumped (and cleared) by repeated calls to the read handler 'log'.
Keyword arguments are:
- NBYTES — Unsigned integer. Number of bytes of each packet to record. Defaults to 34 bytes.
ELEMENT HANDLERS§
- log (read-only) — Print as much of the list of logged packets as possible, clearing printed packets from the log.
Generated by click-elem2man from ../elements/grid/packetlogger2.hh:9 on 2026/11/02.