Commit Graph

10 Commits

Author SHA1 Message Date
fenner
a11713da52 Remove #if 0 sections
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.
2001-06-15 22:17:31 +00:00
fenner
13c623cda7 Fix checksum and offset printing. 2001-03-13 01:03:17 +00:00
guy
9298dc84c8 Assorted PPTP and GRE enhancements from Motonori Shindo
<mshindo@mshindo.net>.
2001-03-12 00:24:54 +00:00
fenner
28468a4a82 Update GRE printer from RFC 2784 (GRE), 2890 (Key and Sequence extensions).
Handle PPTP's GRE extension (RFC 2637)
Print the seq, ack, key fields if -vv
2001-02-03 20:21:28 +00:00
guy
7c4458eb6a Making "extracted_ethertype" static to "print-ether.c" broke other
dissectors that expected calls to "llc_print()" to set it.  (Thanks and
a tip of the hat to Olaf Kirch <okir@caldera.de> for noticing this.)

Make "ether_encap_print()" and "llc_print()" take a pointer to an
extracted-Ethertype variable as an argument, have "llc_print()" pass it
to "ether_encap_print()", and have "ether_encap_print()" set what it
points to rather than setting a static "extracted_ethertype" variable.

Get rid of said static "extracted_ethertype" variable in favor of one
local to "ether_if_print()", just as other link-layer dissectors have
local "extracted_ethertype" variables.
2000-12-18 05:41:58 +00:00
guy
cf53dc05f1 Get rid of includes of <netinet/in_systm.h>, and replace "n_short",
"n_long", and "n_time", defined in that file, with other types.
2000-09-29 04:58:33 +00:00
guy
536f512583 Add an "ip.h" header, to declare the IP stuff needed by dissectors, and
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".
2000-09-23 08:54:24 +00:00
fenner
b9ac23ce92 Switch to config.h instead of passing defines in DEFS. 1999-11-21 09:36:43 +00:00
assar
9a28162fdc use ether_encap_print. From kuznet@ms2.inr.ac.ru 1999-11-21 03:46:03 +00:00
mcr
f555c163f9 Initial revision 1999-10-07 23:47:09 +00:00