-
Notifications
You must be signed in to change notification settings - Fork 82
PacketLogger2
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
PacketLogger2 — Click element; Log packets for later dumping/analysis.
PacketLogger2(KEYWORKDS)
Ports: 1 input, 1 output
Processing: agnostic
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.
- 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 2018/10/03.