You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eddie Kohler edited this page Oct 17, 2017
·
2 revisions
PacketLogger2 Element Documentation
NAME
PacketLogger2 — Click element;
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 2017/10/17.