| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
pseudo-header checksum, to allow for IPSEC or other encapsulations.
Use in_cksum() instead of private versions.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
redefinitions" stuff from files that include "nameser.h" to "nameser.h"
itself (we used to include <arpa/nameser.h>, over which we had no
control so we couldn't do that, but we now have our own "nameser.h").
Add T_OPT to the list of things we undefine, and undefine T_UNSPEC iff
T_UNSPEC is defined, not iff NOERROR is defined.
Replace the include of <arpa/nameser.h> in "print-rx.c" with an include
of "nameser.h", and "#if 0" it out pending a determination of whether
it's necessary (why would AFS's RX care about the internals of DNS
packets?) or not.
|
| |
|
|
|
|
|
|
|
|
| |
Finish converting over to having the caller print the IP address
(except for UDP, TCP and SCTP). This consists mostly of removing
places where the IP address is printed, both in the big "case"
in ip_print() and in the individual printers.
Also fix a couple of spacing bugs.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
checksum, fetch it by casting the pointer to "const u_int8_t *" rather
than "const char *" - casting it to "const char *" causes it to be
sign-extended, perhaps causing 16 1 bits to be added in at the top and,
at least on big-endian platforms (where "htons()" does nothing, meaning
it won't trim off the extra 16 bits) with signed "char"s (e.g., SPARC),
causing the checksum to be computed incorrectly and causing it to
incorrectly be reported as bad.
|
|
|
|
| |
from: jinmei@kame.net
|
|
|
|
| |
print them "llap_print()" (as per NetBSD), not "iptalk_print()".
|
|
|
|
|
|
| |
#4141, to dissect raw Appletalk-atop-Ethernet packets correctly, i.e.
not as if they were IPTalk packets. (A very similar patch was submitted
for Debian bug #67642.)
|
|
|
|
| |
<netinet/in.h> to declare "ntoh[sl]" and "hton[sl]".
|
|
|
|
|
|
|
|
| |
ip6.h is almost normal RFC2292 header.
icmp6.h has couple of extensions (not covered by RFC2292),
like MLD, ICMPv6 nodeinfo, and router renumber.
XXX how to synchronize with future kame changes?
|
| |
|
| |
|
|
|
|
|
| |
on some architecutrees, sizeof(void *) > sizeof(int). don't try to cast
pointer to int to check alignment issues.
|
|
|
|
|
|
| |
come with exact size. while at it, correct signedness of ip/udp header field.
nuke most of the use of bitfield.
TODO: bitfield in namser.h
|
|
|
|
| |
"n_long", and "n_time", defined in that file, with other types.
|
|
|
|
|
|
|
|
|
|
|
| |
have dissectors include them rather than <netinet/ip.h> or
<netinet/ip_var.h>, if they actually need that stuff.
Put the declarations of the ICMP stuff directly into "print-icmp.c".
Remove all unnecessary includes of <netinet/ip*.h> files.
Copy the byte-order stuff from "nameser.h" into "tcp.h".
|
|
|
|
|
|
|
|
|
| |
by dissectors, and have dissectors include them rather than
<netinet/udp.h>, <netinet/udp_var.h>, or <netinet/tcp.h>, if they
actually need that stuff.
Remove all unnecessary includes of <netinet/udp*.h> or <netinet/tcp*.h>
files.
|
|
|
|
| |
Obtained from: Steve Casner <casner@acm.org>
|
| |
|
|
|
|
| |
least 8 to avoid printing garbage
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to get NAMESERVER_PORT defined.
<arpa/nameser.h> defines T_UNSPEC; that causes collisions on Solaris
(and probably at least some other OSes) with stuff included by
<rpc/rpc.h>, generating noise when compiling. Move the include of
"nameser.h" near the includes of other protocol-defining header
files in tcpdump; this also moves it below the include of <rpc/rpc.h>,
so we can then move the #undefs of NOERROR and T_UNSPEC below most
includes and still have it before the include of "nameser.h", squelching
the compiler complaints.
|
|
|
|
|
|
| |
use u_long for it.
use u_int{16,32}_t.
ECN support improvement (from net/openbsd).
|
|
|
|
| |
delint
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
API.
* print-bgp.c: improve options printing. ugly code exists for
unaligned option parsing (need some fix).
* const poisoning in SMB decoder.
* make dump format back to original. someone may want to add an
option to do ascii printing, but keep the default behavior as is
for scripts used in many places.
* -Wall -Werror clean checks.
|
| |
|
|
|
|
| |
Cisco Auto-RP support.
|
|
|
|
| |
packets
|
|
|
|
|
| |
- print-udp.c: rename of nfsv2.h -> nfs.h
- print-{null,sl}.c: ipv6_print -> ip6_print
|
| |
|
|
|
|
| |
/afs/transarc.com/public/afs-contrib/tools/tcpdump to add decoding of rx (the RPC-layer used in AFS3) and the AFS3 RPCs also
|
|
|
|
|
|
|
| |
Hope I did not break anything. Portability on IPv4-only node needs checking,
I'll do this very soon. (sorry for rather jumbo commit)
XXx what is _FAVOR_BSD?
|
|
|
|
| |
AH/ESP printing.
|
| |
|
|
|