commit | 4bec97f457e593be925e92fa28d73af6a57d81cf | [log] [tgz] |
---|---|---|
author | guy <guy> | Thu Dec 19 09:39:10 2002 +0000 |
committer | guy <guy> | Thu Dec 19 09:39:10 2002 +0000 |
tree | fcb53f0e4e3a5749d84858f128e7f6c7e352c23e | |
parent | 60761585472a90c34d7de7bdf50475f0d7261b2d [diff] |
Hoist a bunch of stuff that should be done by all if_print routines into tcpdump.c. Have if_print routines return the length of the link-layer header, so that the common code knows how to skip the link-layer header when printing the packet in hex/ASCII.