summaryrefslogtreecommitdiff
path: root/print-gre.c
Commit message (Collapse)AuthorAgeFilesLines
* Have the configure script arrange that the Makefile define _U_guy2003-11-161-4/+4
| | | | | | | | | | 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.
* From Neil Spring:guy2003-11-151-1/+1
| | | | | | | | | | | 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".
* From Neil Spring:guy2003-11-151-4/+4
| | | | | | | | | | | 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".
* don't pass on src & dst MAC adresses to the isoclns decoder as MAC adresseshannes2003-05-221-2/+2
| | | | should be really printed in ether_print() using the eflag
* fixed GRE OSI-type as per ijotuns hinthannes2002-10-311-2/+2
|
* tabifyitojun2002-10-301-4/+4
|
* o for gre version 1, correctly check if kp (key present) is unset.itojun2002-10-301-14/+14
| | | | | | | | | o remove trailing spaces for better output. o print sequence, acknowledge and callid as unsigned, and remove key from version 1 since it's actually the payload length (not including the gre header). from openbsd
* OSI (IS-IS) support over GRE tunnelshannes2002-09-241-1/+5
|
* rewrite with better license (explicit "with or without modification").itojun2002-09-201-126/+325
| | | | from openbsd
* Added support for Win32, based on WinPcap.risso2002-08-011-7/+2
|
* whitespace cleanupitojun2002-06-111-4/+4
|
* Get rid of unneeded incomplete definitions of "struct mbuf" and "structguy2002-06-011-2/+1
| | | | | rtentry", and unneded includes of <sys/uio.h>, <sys/file.h>, and <sys/ioctl.h>.
* Remove #if 0 sectionsfenner2001-06-151-1/+2
| | | | | | | | 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.
* Fix checksum and offset printing.fenner2001-03-131-12/+23
|
* Assorted PPTP and GRE enhancements from Motonori Shindoguy2001-03-121-43/+34
| | | | <mshindo@mshindo.net>.
* Update GRE printer from RFC 2784 (GRE), 2890 (Key and Sequence extensions).fenner2001-02-031-10/+49
| | | | | Handle PPTP's GRE extension (RFC 2637) Print the seq, ack, key fields if -vv
* Making "extracted_ethertype" static to "print-ether.c" broke otherguy2000-12-181-3/+4
| | | | | | | | | | | | | | 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.
* Get rid of includes of <netinet/in_systm.h>, and replace "n_short",guy2000-09-291-2/+1
| | | | "n_long", and "n_time", defined in that file, with other types.
* Add an "ip.h" header, to declare the IP stuff needed by dissectors, andguy2000-09-231-2/+1
| | | | | | | | | | | 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".
* Switch to config.h instead of passing defines in DEFS.fenner1999-11-211-1/+5
|
* use ether_encap_print. From kuznet@ms2.inr.ac.ruassar1999-11-211-14/+4
|
* Initial revisionmcr1999-10-071-0/+141