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
·
4 revisions
ComparePackets Element Documentation
NAME
ComparePackets — Click element;
compare packets in pairs
SYNOPSIS
ComparePackets([keywords TIMESTAMP])
Ports: 2 inputs, 2 outputs Processing: pull
DESCRIPTION
ComparePackets compares packets pulled from the first input with packets
pulled from the second input. Packets are considered different if they have
different length, data, header offsets, or timestamp annotations.
Keyword arguments are:
TIMESTAMP —
Boolean. If true, then ComparePackets will check packet timestamp
annotations. Default is true.
ELEMENT HANDLERS
diffs (read-only) —
Returns the number of different packet pairs seen.
diff_details (read-only) —
Returns a text file showing how many different packet pairs ComparePackets has
seen, subdivided by type of difference.
all_same (read-only) —
Returns "true" iff all packet pairs seen so far have been identical.