the wire; the definitions in many systems use u_long, which is 64 bits
long on many platforms - that's OK for in-memory structures, but it
doesn't match what's on the wire. Use headers based on the Sun ones,
but use u_int32_t for fields, and otherwise make the structures match
what's on the wire, and change some names to avoid collision with
<rpc/rpc.h>, which print-sunrpc.c includes to declare "getrpcbynumber()"
and the structure it returns.
Record whether "getrpcbynumber()" is found, and use it only if it's
found, rather than basing the decisison on whether we're building for
Win32 or not.
comes with libpcap.
Remove "print-netbios.o" from the list of things to build - it's not
used any more.
Add "oui.o" to the list of things to build - it *is* used.
Remove a backslash from the last entry in the list of things to build.
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.
Defined HAVE_PCAP_DUMP_FLUSH in order to use the new pcap_dump_flush() in tcpdump.c and enable the -U flag.
Defined HAVE_SOCKADDR_STORAGE needed to compile correctly the sources.
Defined HAVE_PCAP_DUMP_FLUSH in order to use the new pcap_dump_flush() in tcpdump.c and enable the -U flag.
Defined HAVE_SOCKADDR_STORAGE needed to compile correctly the sources.
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".