| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
-make use of it in the ISO, Frame-relay and CDP printers
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
appropriately, and that GNUmakefile and the MSVC++ project file define
it apppriately, as we do with libpcap, rather than defining it in
"interface.h".
Undo the rcsid-shuffling and addition of extra #includes, as we no
longer need to arrange that "interface.h" be included before using _U_
in an RCS ID or copyright.
|
|
|
|
|
|
|
|
|
|
|
| |
use "_U_" in the definitions of "rcsid[]", to eliminate
complaints about those variables being unused;
move the definitions after the include of "interface.h", or add
an include of "interface.h", so that "_U_" is defined.
Include "config.h" before including "tcpdump-stdinc.h" in
"missing/datalinks.c".
|
| |
|
|
|
|
|
|
|
| |
- multiline output +identation (behind v option)
- removal of EXTRACT_ lookalikes
- dissecting the Capabilities field
- more use of tok2str()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unused-parameter problems reported by GCC. Add an _U_ tag to label
parameters as unused if the function is called through a pointer (so
that you can't change its signature by removing parameters) or if there
are unused parameters only because the function isn't complete.
Add some additional bounds checks the necessity for which was revealed
while cleaning up unused-parameter problems.
Make some routines static.
"lcp_print()", defined in "print-lcp.c", isn't called anywhere -
"print-ppp.c" has the code to dissect LCP. Get rid of "print-lcp.c".
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The VLAN ID calculation was wrong (either I had a bug in the
switch I tested the original code against, or I was just stupid)
- the "-1" offset doesn't belong there.
In addition, there are some new TLV values that Cisco has
started using.
|
|
|
|
|
|
|
|
|
|
|
| |
Use const more.
Use EXTRACT_* macros more.
Use TCHECK* more.
Use tok2str() to replace some home-grown workalikes.
smb:
- Get rid of private types, use tcpdump-defined types
- Rename fdata and fdata1 to smb_fdata and smb_fdata1 to avoid conflict
with IRIX library function.
|
|
|
|
|
|
|
|
| |
in CDP packets.
Changes to use EXTRACT_ macros rather than extracting by hand, and to
use the "protocol type" field as well as the protocol and address
lengths and the protocol field when determining the address type.
|
| |
|
|
|
|
|
| |
Fix off-by-one error in the newly-introduced truncation checks which
caused proper-length addresses to trigger a truncated packet.
|
| |
|
| |
|
|
|
|
| |
Don't print multi-line output unless -vv.
|
| |
|
| |
|
| |
|
|
|