URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c099892700eb03155548c06a9deb6c4f7b2bb570
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
c099892 by Guy Harris (gharris@xxxxxxxxx):
iptrace: generate IDBs.
The packet information for a packet includes an interface name prefix
and an interface unit number (e.g., "en0", with a prefix of "en" and a
unit number of 0). Keep a hash table of prefixes, unit numbers, and
link-layer header types (as an interface must have only one link-layer
header type), and, for each packet, look up that information from the
packet information to get the interface ID; if that fails, construct a
new entry, with a new interface ID, and an IDB for the interface.
Change-Id: I3f2dafcc8926fe96fe4ffd6875f583397b1582b6
Reviewed-on: https://code.wireshark.org/review/37975
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
Actions performed:
from a4ebc98 iptrace: various cleanups.
add c099892 iptrace: generate IDBs.
Summary of changes:
wiretap/iptrace.c | 213 +++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 195 insertions(+), 18 deletions(-)