]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Have the configure script arrange that the Makefile define _U_
authorguy <guy>
Sun, 16 Nov 2003 08:51:01 +0000 (08:51 +0000)
committerguy <guy>
Sun, 16 Nov 2003 08:51:01 +0000 (08:51 +0000)
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.

115 files changed:
Makefile.in
aclocal.m4
addrtoname.c
bpf_dump.c
configure.in
gmpls.c
gmt2local.c
interface.h
machdep.c
missing/datalinks.c
missing/dlnames.c
missing/getaddrinfo.c
missing/getnameinfo.c
missing/inet_aton.c
missing/inet_ntop.c
missing/inet_pton.c
missing/snprintf.c
missing/strlcat.c
missing/strlcpy.c
parsenfsfh.c
print-802_11.c
print-ah.c
print-aodv.c
print-arcnet.c
print-arp.c
print-ascii.c
print-atalk.c
print-atm.c
print-beep.c
print-bfd.c
print-bgp.c
print-bootp.c
print-cdp.c
print-chdlc.c
print-cip.c
print-cnfp.c
print-decnet.c
print-dhcp6.c
print-domain.c
print-dvmrp.c
print-egp.c
print-enc.c
print-esp.c
print-ether.c
print-fddi.c
print-fr.c
print-frag6.c
print-gre.c
print-hsrp.c
print-icmp.c
print-icmp6.c
print-igmp.c
print-igrp.c
print-ip.c
print-ip6.c
print-ip6opts.c
print-ipcomp.c
print-ipfc.c
print-ipx.c
print-isakmp.c
print-isoclns.c
print-krb.c
print-l2tp.c
print-lane.c
print-ldp.c
print-llc.c
print-lwres.c
print-mobile.c
print-mobility.c
print-mpls.c
print-msdp.c
print-netbios.c
print-nfs.c
print-ntp.c
print-null.c
print-ospf.c
print-ospf6.c
print-pflog.c
print-pim.c
print-ppp.c
print-pppoe.c
print-pptp.c
print-radius.c
print-raw.c
print-rip.c
print-ripng.c
print-rsvp.c
print-rt6.c
print-rx.c
print-sctp.c
print-sl.c
print-sll.c
print-smb.c
print-snmp.c
print-stp.c
print-sunatm.c
print-sunrpc.c
print-tcp.c
print-telnet.c
print-tftp.c
print-timed.c
print-token.c
print-udp.c
print-vjc.c
print-vrrp.c
print-wb.c
print-zephyr.c
setsignal.c
smbutil.c
strcasecmp.c
tcpdump.c
util.c
vfprintf.c
win32/prj/GNUmakefile
win32/prj/WinDump.dsp

index 1a582d5d3a57d8e6690b33504c17cd64ba2b908a..1ba6cbaf070615fbd26e09b34855fb14f53a860c 100644 (file)
@@ -17,7 +17,7 @@
 #  WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 #  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 #
-# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.276 2003-10-27 10:13:45 hannes Exp $ (LBL)
+# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.276.2.1 2003-11-16 08:51:01 guy Exp $ (LBL)
 
 #
 # Various configurable paths (remember to edit Makefile.in, not Makefile)
@@ -43,7 +43,7 @@ CC = @CC@
 PROG = tcpdump
 CCOPT = @V_CCOPT@
 INCLS = -I. @V_INCLS@
-DEFS = @DEFS@
+DEFS = @DEFS@ @V_DEFS@
 
 # Standard CFLAGS
 CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
index fddb53b2d610f8617598d5054493d4e3ff4a6f22..135a43de4622de5b2e9882fe1559b71572670a36 100644 (file)
@@ -1,4 +1,4 @@
-dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.98 2003-11-04 07:29:15 guy Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/tcpdump/aclocal.m4,v 1.98.2.1 2003-11-16 08:51:02 guy Exp $ (LBL)
 dnl
 dnl Copyright (c) 1995, 1996, 1997, 1998
 dnl    The Regents of the University of California.  All rights reserved.
@@ -1193,6 +1193,9 @@ ac_cv___attribute__=yes,
 ac_cv___attribute__=no)])
 if test "$ac_cv___attribute__" = "yes"; then
   AC_DEFINE(HAVE___ATTRIBUTE__, 1, [define if your compiler has __attribute__])
+  V_DEFS="$V_DEFS -D_U_=\"__attribute__((unused))\""
+else
+  V_DEFS="$V_DEFS -D_U_=\"\""
 fi
 AC_MSG_RESULT($ac_cv___attribute__)
 ])
index ed5b0dd07b990a89a5519234c1273c32bd18bfc5..33f93076c712756d2feb08c1a83365417affcd91 100644 (file)
  *  Internet, ethernet, port, and protocol string to address
  *  and address to string conversion routines
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.96.2.2 2003-11-16 08:51:04 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -52,10 +56,6 @@ struct rtentry;              /* declarations in <net/if.h> */
 #include "llc.h"
 #include "setsignal.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.96.2.1 2003-11-15 22:28:35 guy Exp $ (LBL)";
-#endif
 /*
  * hash tables for whatever-to-name translations
  *
index 01214ed91afb47366263ddaa961898bc356a530a..9f19f00a708dc61264cc4ea670c85c7b1ca824c9 100644 (file)
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.14.2.2 2003-11-16 08:51:04 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.14.2.1 2003-11-15 22:28:36 guy Exp $ (LBL)";
-#endif
 void
 bpf_dump(struct bpf_program *p, int option)
 {
index 0532c1c2736f589452b270f29ec76ad943545c8e..f3e0b5ef999c1f899a319043b768e6a517b63d60 100644 (file)
@@ -1,4 +1,4 @@
-dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.169 2003-08-01 01:18:24 fenner Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/tcpdump/configure.in,v 1.169.2.1 2003-11-16 08:51:05 guy Exp $ (LBL)
 dnl
 dnl Copyright (c) 1994, 1995, 1996, 1997
 dnl    The Regents of the University of California.  All rights reserved.
@@ -6,7 +6,7 @@ dnl
 dnl Process this file with autoconf to produce a configure script.
 dnl
 
-AC_REVISION($Revision: 1.169 $)
+AC_REVISION($Revision: 1.169.2.1 $)
 AC_PREREQ(2.13)
 AC_INIT(tcpdump.c)
 
@@ -732,6 +732,7 @@ fi
 ])
 
 AC_SUBST(V_CCOPT)
+AC_SUBST(V_DEFS)
 AC_SUBST(V_GROUP)
 AC_SUBST(V_INCLS)
 AC_SUBST(V_PCAPDEP)
diff --git a/gmpls.c b/gmpls.c
index a298128d70f9aaf2a19d719f5a6260e2f32c79cf..197e009c373f7673e34579769c6841cac0db7a83 100644 (file)
--- a/gmpls.c
+++ b/gmpls.c
  * Original code by Hannes Gredler ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/gmpls.c,v 1.2.2.2 2003-11-16 08:51:05 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/gmpls.c,v 1.2.2.1 2003-11-15 22:28:36 guy Exp $ (LBL)";
-#endif
 /* rfc3471 */
 struct tok gmpls_link_prot_values[] = {
     { 0x01, "Extra Traffic"},
index bb6b91ce1c1c776fca8848385cf9b54b9aebd32e..af7610d595d96d197c28595c5eff1ebfbcfafb31 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/gmt2local.c,v 1.7.2.2 2003-11-16 08:51:06 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include <tcpdump-stdinc.h>
 
-
-#include "interface.h"
-
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/gmt2local.c,v 1.7.2.1 2003-11-15 22:28:37 guy Exp $ (LBL)";
-#endif
-
 #include <stdio.h>
 
 #ifdef HAVE_OS_PROTO_H
index 2c2821260611d99b9b1c34c5de0df771649ed624..404b9f7d5181a1514b08a9812f619e78f122c9b6 100644 (file)
@@ -18,7 +18,7 @@
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.217 2003-11-05 06:02:58 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.217.2.1 2003-11-16 08:51:06 guy Exp $ (LBL)
  */
 
 #ifndef tcpdump_interface_h
@@ -32,8 +32,6 @@
 #define __attribute__(x)
 #endif
 
-#define _U_    __attribute__((unused))
-
 /* snprintf et al */
 
 #include <stdarg.h>
index b42421ca0024e24aaa11a6ad805f3a05b967ce25..9b27db4fc684456d823eebd7efbd28683dae0bb0 100644 (file)
--- a/machdep.c
+++ b/machdep.c
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/machdep.c,v 1.10.2.2 2003-11-16 08:51:07 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
  */
 #include <tcpdump-stdinc.h>
 
-
-#include "interface.h"
-
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/machdep.c,v 1.10.2.1 2003-11-15 22:28:37 guy Exp $ (LBL)";
-#endif
-
 #ifndef HAVE___ATTRIBUTE__
 #define __attribute__(x)
 #endif /* HAVE___ATTRIBUTE__ */
index 5d485e3b4f9562601c4fabb4a26283bda69b331b..d0f14cd077592183631772239ab40f3acedd6bff 100644 (file)
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <tcpdump-stdinc.h>
-
-#include "interface.h"
-
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/missing/datalinks.c,v 1.1.2.1 2003-11-15 22:29:20 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/missing/datalinks.c,v 1.1.2.2 2003-11-16 08:51:59 guy Exp $ (LBL)";
 #endif
 
+#include <tcpdump-stdinc.h>
+
 #include <pcap.h>
 #include <stdlib.h>
 #include <stdio.h>
index 428fd639231f467d49e3819f71edeae745950e92..9e2d7b31f32df171a5063e091ca7839b0d3a6bdb 100644 (file)
  * SUCH DAMAGE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/missing/dlnames.c,v 1.2.2.2 2003-11-16 08:51:59 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include <tcpdump-stdinc.h>
 
-
-#include "interface.h"
-
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/missing/dlnames.c,v 1.2.2.1 2003-11-15 22:29:20 guy Exp $ (LBL)";
-#endif
-
 #include <pcap.h>
 #include <string.h>
 
index 0a3fb3314ea12c62aa5e0780f984753898a89193..7b9a80e7691a85e4b4f933f7aa07e3480cf62a40 100644 (file)
 #include <config.h>
 #endif
 
-#include "tcpdump-stdinc.h"
-
-#include "interface.h"
-
-
 #ifndef lint
-static const char rcsid[] =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/getaddrinfo.c,v 1.11.2.1 2003-11-15 22:29:21 guy Exp $";
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/missing/getaddrinfo.c,v 1.11.2.2 2003-11-16 08:52:00 guy Exp $";
 #endif
 
 #include <sys/types.h>
index ec16c3ad8bfa543ee748f1c532e66be87cc4274d..4bf9b959883956e28290236ec7a8c5522dc80142 100644 (file)
 #include <config.h>
 #endif
 
-#include "tcpdump-stdinc.h"
-
-#include "interface.h"
-
-
 #ifndef lint
-static const char rcsid[] =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/getnameinfo.c,v 1.9.2.1 2003-11-15 22:29:21 guy Exp $";
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/missing/getnameinfo.c,v 1.9.2.2 2003-11-16 08:52:00 guy Exp $";
 #endif
 
 #include <sys/types.h>
index b53e108d11541d62896ac94392708eef925ac55e..2524cec4f9b810166c90df53d04b072bf9130046 100644 (file)
  * SUCH DAMAGE.
  */
 
-/* $Id: inet_aton.c,v 1.4.2.1 2003-11-15 22:29:21 guy Exp $ */
-
-
-#include <tcpdump-stdinc.h>
-
-
-#include "interface.h"
+/* $Id: inet_aton.c,v 1.4.2.2 2003-11-16 08:52:01 guy Exp $ */
 
 #ifndef lint
 static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/inet_aton.c,v 1.4.2.1 2003-11-15 22:29:21 guy Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/missing/inet_aton.c,v 1.4.2.2 2003-11-16 08:52:01 guy Exp $";
 #endif
 
+#include <tcpdump-stdinc.h>
+
 /* Minimal implementation of inet_aton.
  * Cannot distinguish between failure and a local broadcast address. */
 
index bec8ecc5ff9f687162ac32a486671320b4f87ae8..660028fa1359104c7d4c5b0aff951da324905fa1 100644 (file)
  * SUCH DAMAGE.
  */
 
-/* $Id: inet_ntop.c,v 1.5.2.1 2003-11-15 22:29:21 guy Exp $ */
-
-
-#include <tcpdump-stdinc.h>
-
-
-#include "interface.h"
+/* $Id: inet_ntop.c,v 1.5.2.2 2003-11-16 08:52:01 guy Exp $ */
 
 #ifndef lint
 static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/inet_ntop.c,v 1.5.2.1 2003-11-15 22:29:21 guy Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/missing/inet_ntop.c,v 1.5.2.2 2003-11-16 08:52:01 guy Exp $";
 #endif
 
+#include <tcpdump-stdinc.h>
+
 #include <stdio.h>
 #include <errno.h>
 
index 2d479c2147219128b4399ee5aca480dbbded1dc7..8a814657690ec5539462ac7b7fbf66d1aa49603c 100644 (file)
  * SUCH DAMAGE.
  */
 
-/* $Id: inet_pton.c,v 1.4.2.1 2003-11-15 22:29:22 guy Exp $ */
-
-
-#include <tcpdump-stdinc.h>
-
-
-#include "interface.h"
+/* $Id: inet_pton.c,v 1.4.2.2 2003-11-16 08:52:01 guy Exp $ */
 
 #ifndef lint
 static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/inet_pton.c,v 1.4.2.1 2003-11-15 22:29:22 guy Exp $";
+     "@(#) $Header: /tcpdump/master/tcpdump/missing/inet_pton.c,v 1.4.2.2 2003-11-16 08:52:01 guy Exp $";
 #endif
 
+#include <tcpdump-stdinc.h>
+
 #include <errno.h>
 
 int
index 33cc4af9922be7a04f43339c046244d91539fac5..b112375d55425f64ec87a1810fb075b62f0b9dc5 100644 (file)
  * SUCH DAMAGE.
  */
 
-/* $Id: snprintf.c,v 1.6.2.1 2003-11-15 22:29:22 guy Exp $ */
+/* $Id: snprintf.c,v 1.6.2.2 2003-11-16 08:52:02 guy Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.6.2.2 2003-11-16 08:52:02 guy Exp $";
+#endif
 
 #include <stdio.h>
 #include <stdarg.h>
 
 #include <interface.h>
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.6.2.1 2003-11-15 22:29:22 guy Exp $";
-#endif
 enum format_flags {
     minus_flag     =  1,
     plus_flag      =  2,
index 36ab70aa64cbe351b68cbd8e8efb109edc438a30..147cf3085233e6951fc80062a2b725c8d17c1001 100644 (file)
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcat.c,v 1.3.2.2 2003-11-16 08:52:03 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H 
 #include <config.h>
 
 #include <tcpdump-stdinc.h>
 
-
-#include "interface.h"
-
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcat.c,v 1.3.2.1 2003-11-15 22:29:22 guy Exp $ (LBL)";
-#endif
-
 #include <string.h>
 
 /*
index fb05cb9b47503549a19f42992cf3a8a24a9cd5bf..84a25f66da5431223c3fad57c574616b96e0a6dd 100644 (file)
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.3.2.2 2003-11-16 08:52:03 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H 
 #include <config.h>
 
 #include <tcpdump-stdinc.h>
 
-
-#include "interface.h"
-
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.3.2.1 2003-11-15 22:29:23 guy Exp $ (LBL)";
-#endif
-
 #include <string.h>
 
 /*
index f713abcaef4a117b9a340412a660d8aac1dc1e4c..c8800b182895b38d94ea87d56d86ef01600104e1 100644 (file)
  * Western Research Laboratory
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.25.2.2 2003-11-16 08:51:07 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "nfsfh.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.25.2.1 2003-11-15 22:28:37 guy Exp $ (LBL)";
-#endif
 /*
  * This routine attempts to parse a file handle (in network byte order),
  * using heuristics to guess what kind of format it is in.  See the
index 0b23a3cecc8f32f0d148861a8377091cb4b6f5c7..59b79d6d7a33cf496ec096843fa52cebbcaa464d 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.22.2.2 2003-11-16 08:51:08 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "ethertype.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.22.2.1 2003-11-15 22:28:38 guy Exp $ (LBL)";
-#endif
 #include "extract.h"
 
 #include "ieee802_11.h"
index 174b4b77fc07e88eaa25511ec24a9e17033684b3..6d67cd5912f1216ce5ef55c4c7ae11836f8b7627 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.19.2.2 2003-11-16 08:51:08 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.19.2.1 2003-11-15 22:28:38 guy Exp $ (LBL)";
-#endif
 int
 ah_print(register const u_char *bp)
 {
index ee35fa8c4eafb0c10ed74bcb6b08b94c0d69fcc7..9545034db0edba7beced66ca0788084c3cb086b2 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-aodv.c,v 1.8.2.2 2003-11-16 08:51:09 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-aodv.c,v 1.8.2.1 2003-11-15 22:28:38 guy Exp $ (LBL)";
-#endif
 #include "aodv.h"
 
 static void
index efc7eb6e856c4aff891e5f27bfadec07ad62ec54..90bb4903da6043b6457e62c245911cca4296d334 100644 (file)
  *
  * From: NetBSD: print-arcnet.c,v 1.2 2000/04/24 13:02:28 itojun Exp
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-arcnet.c,v 1.15.2.2 2003-11-16 08:51:09 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "arcnet.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-arcnet.c,v 1.15.2.1 2003-11-15 22:28:39 guy Exp $ (LBL)";
-#endif
 static int arcnet_encap_print(u_char arctype, const u_char *p,
     u_int length, u_int caplen);
 
index c620edfbabc92ef6d589f164e97dd51449124649..476bd9bd16d7767c8332d5eab00c67c3af4bc155 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-arp.c,v 1.61.2.2 2003-11-16 08:51:10 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ethertype.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-arp.c,v 1.61.2.1 2003-11-15 22:28:39 guy Exp $ (LBL)";
-#endif
 /*
  * Address Resolution Protocol.
  *
index 1b3a92f370831c47756aea1eb1af77fe3d3c9bdf..c00d039d02dd3ae728d2d2ee8a1dc4e8a200b98d 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-ascii.c,v 1.10.2.2 2003-11-16 08:51:11 guy Exp $";
+#endif
 #include <tcpdump-stdinc.h>
 #include <stdio.h>
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-ascii.c,v 1.10.2.1 2003-11-15 22:28:40 guy Exp $";
-#endif
 #define ASCII_LINELENGTH 300
 #define HEXDUMP_BYTES_PER_LINE 16
 #define HEXDUMP_SHORTS_PER_LINE (HEXDUMP_BYTES_PER_LINE / 2)
index 7a8d8b409fed35fdecc0b4396ad75deb5131bdb0..d835f270df910c8782a44e1fc83927fab6f26b10 100644 (file)
  * Format and print AppleTalk packets.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.78.2.2 2003-11-16 08:51:11 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"                   /* must come after interface.h */
 #include "appletalk.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.78.2.1 2003-11-15 22:28:40 guy Exp $ (LBL)";
-#endif
 static struct tok type2str[] = {
        { ddpRTMP,              "rtmp" },
        { ddpRTMPrequest,       "rtmpReq" },
index 5a7e85c9c62310cf8440249cb52fc6be590af73e..df96cbd933606e5cac888f7712329bc27834bcdb 100644 (file)
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.33.2.2 2003-11-16 08:51:11 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "atmuni31.h"
 #include "llc.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.33.2.1 2003-11-15 22:28:41 guy Exp $ (LBL)";
-#endif
 #include "ether.h"
 
 /*
index 4818035e545ed3e25f7f611f103b25cce50eebf7..9b289e45303d3ef6c008652a0bed0d77e052e298 100644 (file)
@@ -9,6 +9,10 @@
  *
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+  "@(#) $Header: /tcpdump/master/tcpdump/print-beep.c,v 1.4.2.2 2003-11-16 08:51:12 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-  "@(#) $Header: /tcpdump/master/tcpdump/print-beep.c,v 1.4.2.1 2003-11-15 22:28:41 guy Exp $";
-#endif
 /* Check for a string but not go beyond length
  * Return TRUE on match, FALSE otherwise
  *
index bc0da1dd9925703541dcb8bea970f9b334bea2df..7621136b596098bd0f0624c6ec6e5714a266bc89 100644 (file)
  * Original code by Hannes Gredler ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-bfd.c,v 1.3.2.2 2003-11-16 08:51:12 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-bfd.c,v 1.3.2.1 2003-11-15 22:28:42 guy Exp $";
-#endif
 #include "udp.h"
 
 /*
index 239425b14863c7448f577f42e5fc23d33963a81e..722e3008c2ba8c2b90fe5877f0fe8bd145cc2521 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.72.2.2 2003-11-16 08:51:13 guy Exp $";
+#endif
 
 #include <tcpdump-stdinc.h>
 
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.72.2.1 2003-11-15 22:28:42 guy Exp $";
-#endif
 struct bgp {
        u_int8_t bgp_marker[16];
        u_int16_t bgp_len;
index 90282df4aedff1364443cca9ae6d98537fba6de5..c586930478b0cefeb2cfa1aea32eb6041135a082 100644 (file)
  *
  * Format and print bootp packets.
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.75.2.2 2003-11-16 08:51:13 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ether.h"
 #include "bootp.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.75.2.1 2003-11-15 22:28:42 guy Exp $ (LBL)";
-#endif
 static void rfc1048_print(const u_char *);
 static void cmu_print(const u_char *);
 
index 6b7718c08b99d300c6f386c551a00421411af1c5..02cfd0817e4dfb2775e203f59402652ab191ba8e 100644 (file)
  *    http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-cdp.c,v 1.19.2.2 2003-11-16 08:51:14 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-cdp.c,v 1.19.2.1 2003-11-15 22:28:43 guy Exp $";
-#endif
 #define CDP_HEADER_LEN  4
 
 static struct tok cdp_tlv_values[] = {
index e4a30c4c911c0eb18b78f3cf7f5ba3b2f4472e13..cacadf7b48bbde0f17ca3667b99aff37e577c466 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.28.2.2 2003-11-16 08:51:14 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ppp.h"
 #include "chdlc.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.28.2.1 2003-11-15 22:28:43 guy Exp $ (LBL)";
-#endif
 static void chdlc_slarp_print(const u_char *, u_int);
 
 /* Standard CHDLC printer */
index 79900749c7487cc6c3b3384976311d2cbc2a06df..7150b1dff8e77ab09c1cf7f6a58405d576eae030 100644 (file)
  *
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.21.2.2 2003-11-16 08:51:15 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ethertype.h"
 #include "ether.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.21.2.1 2003-11-15 22:28:45 guy Exp $ (LBL)";
-#endif
 #define RFC1483LLC_LEN 8
 
 static unsigned char rfcllc[] = {
index e2524193b8d06f93edd18c7740bdecac91b88948..979060620f2f858589b7b91107c29f3a42154d1f 100644 (file)
 
 /* Cisco NetFlow protocol */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-cnfp.c,v 1.14.2.2 2003-11-16 08:51:15 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-cnfp.c,v 1.14.2.1 2003-11-15 22:28:45 guy Exp $";
-#endif
 #include "tcp.h"
 #include "ipproto.h"
 
index 61a354796d63c16c9a3d84e8786c4528ca5abb87..1cf169125db0ac1efc80109f36555e9a84c5673f 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.36.2.2 2003-11-16 08:51:16 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -42,10 +46,6 @@ struct rtentry;
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.36.2.1 2003-11-15 22:28:46 guy Exp $ (LBL)";
-#endif
 /* Forwards */
 static void print_decnet_ctlmsg(const union routehdr *, u_int);
 static void print_t_info(int);
index 9e1551d0be07e3c468f23cb89eb669d97182dd94..d37a23980e48e41e1977b9b39eace52d87562999 100644 (file)
  *  draft-ietf-dhc-dhcpv6-opt-timeconfig-02.txt,
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-dhcp6.c,v 1.27.2.3 2003-11-16 08:51:16 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-dhcp6.c,v 1.27.2.2 2003-11-15 22:34:57 guy Exp $";
-#endif
 /* lease duration */
 #define DHCP6_DURATITION_INFINITE 0xffffffff
 
index 0bd93ac7bae55700c8b1e55811d928a863f45a11..bb96362e39f1a6ffd24c567811825e522cb1ac29 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.86.2.2 2003-11-16 08:51:17 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                    /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.86.2.1 2003-11-15 22:28:46 guy Exp $ (LBL)";
-#endif
 static const char *ns_ops[] = {
        "", " inv_q", " stat", " op3", " notify", " update", " op6", " op7",
        " op8", " updataA", " updateD", " updateDA",
index d8e59b9743f2e287f5271486a152ebd0ec2f4d0f..5d8ac44b31dd70809c43a3e0a289f4c97cbddbcc 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-dvmrp.c,v 1.24.2.2 2003-11-16 08:51:17 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-dvmrp.c,v 1.24.2.1 2003-11-15 22:28:47 guy Exp $ (LBL)";
-#endif
 /*
  * DVMRP message types and flag values shamelessly stolen from
  * mrouted/dvmrp.h.
index 650c378442268a853ccf7098da18a6af2874b00b..5bb6525169dbc986d86e16f10955e0ca2c92d5ac 100644 (file)
  * Initial contribution from Jeff Honig ([email protected]).
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-egp.c,v 1.34.2.2 2003-11-16 08:51:18 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-egp.c,v 1.34.2.1 2003-11-15 22:28:47 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 
 struct egp_packet {
index df31d967a8661ca84640402eab4d5ea7a7b9450b..c848312b5951b7f0de4c573c5c218fa452ec3bfe 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.1.2.2 2003-11-16 08:51:19 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.1.2.1 2003-11-15 22:28:48 guy Exp $ (LBL)";
-#endif
 #include "enc.h"
 
 #define ENC_PRINT_TYPE(wh, xf, nam) \
index 87adf855fd1407d2f148c4a75da61eb422701149..4e1547cd05c2781ed42c3ef7d27907bc25689c70 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.44.2.2 2003-11-16 08:51:19 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -54,10 +58,6 @@ extern char *strsep(char **stringp, const char *delim); /* Missing/strsep.c */
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.44.2.1 2003-11-15 22:28:48 guy Exp $ (LBL)";
-#endif
 #ifndef HAVE_SOCKADDR_STORAGE
 #ifdef INET6
 struct sockaddr_storage {
index 88eb8a608049fc87423f2b470b280171b2200879..adf2bfcfb961f6a79d6712c82681d88a5cbc5361 100644 (file)
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.82.2.2 2003-11-16 08:51:20 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "ethertype.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.82.2.1 2003-11-15 22:28:48 guy Exp $ (LBL)";
-#endif
 #include "ether.h"
 
 const u_char *snapend;
index 1258c93ef84577824c391960463f8431f45f7c67..8ef905607bff0d485140c4660db3d68958f80263 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.61.2.2 2003-11-16 08:51:20 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "ethertype.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.61.2.1 2003-11-15 22:28:49 guy Exp $ (LBL)";
-#endif
 #include "ether.h"
 #include "fddi.h"
 
index 49af2c70672c2c951942b7f5255b261be2b58b5b..59562c9ac20796b767dab3b4b09cdbe124d54ec1 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.17.2.2 2003-11-16 08:51:23 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ethertype.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.17.2.1 2003-11-15 22:28:49 guy Exp $ (LBL)";
-#endif
 static void lmi_print(const u_char *, u_int);
 
 #define NLPID_LMI       0x08   /* ANSI T1.617 Annex D or ITU-T Q.933 Annex A */
index 7ddb3c536c714684324ad2df399e43b975b7a238..c7c774d96eb5cf1cf823c1af834059a6579625d2 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.16.2.2 2003-11-16 08:51:23 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.16.2.1 2003-11-15 22:28:49 guy Exp $";
-#endif
 int
 frag6_print(register const u_char *bp, register const u_char *bp2)
 {
index 1d57a7df62196330d8434d0cbd051d9287224bc1..29e1afa870bfa76446d54a193a3360a3211c8614 100644 (file)
  * RFC1701 (GRE), RFC1702 (GRE IPv4), and RFC2637 (Enhanced GRE)
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.22.2.2 2003-11-16 08:51:24 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.22.2.1 2003-11-15 22:28:50 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 
 #define        GRE_CP          0x8000          /* checksum present */
index 8fdd41d00738284897a508f59bc9161c2caf2e8d..8ee2e83c200a4d760bef0760975eeacb875257df 100644 (file)
 
 /* Cisco Hot Standby Router Protocol (HSRP). */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-hsrp.c,v 1.7.2.2 2003-11-16 08:51:24 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-hsrp.c,v 1.7.2.1 2003-11-15 22:28:50 guy Exp $";
-#endif
 /* HSRP op code types. */
 static const char *op_code_str[] = {
        "hello",
index 4e69dfed42e84fcabb8e117172926db540e54e89..40522ed973135bfb5c14d8000244d75bc753625f 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.73.2.2 2003-11-16 08:51:24 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.73.2.1 2003-11-15 22:28:51 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 #include "udp.h"
 #include "ipproto.h"
index 2d8a106b0ca532733f8929d5457236e19882b530..4fb3215c82dd41d2211acb83e2e503e9a796a143 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.72.2.2 2003-11-16 08:51:25 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.72.2.1 2003-11-15 22:28:51 guy Exp $";
-#endif
 #include "udp.h"
 #include "ah.h"
 
index bc27e4aaeada248b3080e1a03ee736823a61784a..a85eac5866b54e0c7263fb40aa0eec8e1e94cb2f 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-igmp.c,v 1.11.2.2 2003-11-16 08:51:25 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"            /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-igmp.c,v 1.11.2.1 2003-11-15 22:28:52 guy Exp $ (LBL)";
-#endif
 #ifndef IN_CLASSD
 #define IN_CLASSD(i) (((int32_t)(i) & 0xf0000000) == 0xe0000000)
 #endif
index 615001f04c9e3bd349f1795afec231ae3383d232..c3d479a52e90fc34a3e29d305b3c498b944095cb 100644 (file)
  * Initial contribution from Francis Dupont ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.18.2.2 2003-11-16 08:51:26 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ip.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.18.2.1 2003-11-15 22:28:52 guy Exp $ (LBL)";
-#endif
 static void
 igrp_entry_print(register struct igrprte *igr, register int is_interior,
     register int is_exterior)
index cf4709b4d86eaec07d0bfb48d89b6d4f8562e90f..0536efc91106babd6ad7d8886bdef77b144fe027 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.128.2.2 2003-11-16 08:51:26 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.128.2.1 2003-11-15 22:28:52 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 #include "ipproto.h"
 
index 5c873cc5898eebb0c226d6ce1bb2197a2a21bc3a..fe916df966578f5f0d7b3a231ffb6d51450c805b 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.32.2.2 2003-11-16 08:51:27 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.32.2.1 2003-11-15 22:28:53 guy Exp $";
-#endif
 #include "ip6.h"
 #include "ipproto.h"
 
index 833934d41ad29aceb7423098a4a7d72885373189..bf43fe0c79aab576bf3fab856e052f4a53b4063f 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-ip6opts.c,v 1.14.2.2 2003-11-16 08:51:27 guy Exp $";
+#endif
 
 #ifdef INET6
 #include <tcpdump-stdinc.h>
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-ip6opts.c,v 1.14.2.1 2003-11-15 22:28:53 guy Exp $";
-#endif
 /* items outside of rfc2292bis */
 #ifndef IP6OPT_MINLEN
 #define IP6OPT_MINLEN  2
index 66c27bbbcdaf953833a41353219b112dfa3c6c25..b1f611b3c68f6c087d0f469f1fd662b305550a39 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.17.2.2 2003-11-16 08:51:27 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -43,10 +47,6 @@ struct ipcomp {
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.17.2.1 2003-11-15 22:28:54 guy Exp $";
-#endif
 int
 ipcomp_print(register const u_char *bp, int *nhdr)
 {
index e9a35223f5273101ca006f1b740ca6dd1c781586..a8eddad39590463e2b65c8d808e926d13097c76d 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ipfc.c,v 1.4.2.2 2003-11-16 08:51:28 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "ethertype.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ipfc.c,v 1.4.2.1 2003-11-15 22:28:54 guy Exp $ (LBL)";
-#endif
 #include "ether.h"
 #include "ipfc.h"
 
index 4b748f3c93a8701aebf8474aa48bdae2f067b73a..a721401d3ea6c5db8ae4c36e031f4e24a3c253b1 100644 (file)
  * Contributed by Brad Parker ([email protected]).
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.34.2.2 2003-11-16 08:51:28 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ipx.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.34.2.1 2003-11-15 22:28:54 guy Exp $";
-#endif
 
 static const char *ipxaddr_string(u_int32_t, const u_char *);
 void ipx_decode(const struct ipxHdr *, const u_char *, u_int);
index cbcea6b9873c666ec1593dab1529adcfb47a9fdf..d161862d608d76650756a866a0b8b6611c760b36 100644 (file)
  *
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.36.2.2 2003-11-16 08:51:28 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                    /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.36.2.1 2003-11-15 22:28:55 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 #ifdef INET6
 #include "ip6.h"
index 5139739bf6d33953fd17eddfa1a2f048b7c536d7..ce3d4eea56951fa578fea6b24c6e0c5271ab29a8 100644 (file)
  * complete IS-IS support.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.106.2.2 2003-11-16 08:51:29 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"
 #include "gmpls.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.106.2.1 2003-11-15 22:28:55 guy Exp $ (LBL)";
-#endif
 #define        NLPID_CLNS      129     /* 0x81 */
 #define        NLPID_ESIS      130     /* 0x82 */
 #define        NLPID_ISIS      131     /* 0x83 */
index 2c172c195899eeb0aeb865532a74c54008820660..28f3133f49fa34e4a7f4d98dc99c9cbb696b24e6 100644 (file)
  * Initial contribution from John Hawkinson ([email protected]).
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-krb.c,v 1.21.2.2 2003-11-16 08:51:30 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-krb.c,v 1.21.2.1 2003-11-15 22:28:56 guy Exp $";
-#endif
 static const u_char *c_print(register const u_char *, register const u_char *);
 static const u_char *krb4_print_hdr(const u_char *);
 static void krb4_print(const u_char *);
index d1dee22ea896a04c15965e06ee6626ddda8b9af5..c0a52bcd15eee8099f29b9f1f8844f479323d8da 100644 (file)
  * L2TP support contributed by Motonori Shindo ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-l2tp.c,v 1.14.2.2 2003-11-16 08:51:30 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-l2tp.c,v 1.14.2.1 2003-11-15 22:28:57 guy Exp $";
-#endif
 static char tstr[] = " [|l2tp]";
 
 #ifndef TRUE
index 67b6dac5645c64cadeefccdace29bcf232511655..b397e71dced034322c353570c4be740ee9a9daf9 100644 (file)
  *
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.20.2.2 2003-11-16 08:51:31 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ether.h"
 #include "lane.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.20.2.1 2003-11-15 22:28:57 guy Exp $ (LBL)";
-#endif
 static const struct tok lecop2str[] = {
        { 0x0001,       "configure request" },
        { 0x0101,       "configure response" },
index 84dfb3d7775c39d9dfb1307baf7c1cf531c6eef8..c8e80e9c5bd3bb25cefc5209f8e2e0a103cbfbfa 100644 (file)
  * Original code by Hannes Gredler ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.4.2.2 2003-11-16 08:51:31 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.4.2.1 2003-11-15 22:28:57 guy Exp $";
-#endif
 /*
  * ldp common header
  *
index 99a5d6f838ce1984197274b2e15beb8c2a10df96..85fbb21db1cb638d2672a6da72e60fcc2270f673 100644 (file)
  *     with an awful lot of hacking by Jeffrey Mogul, DECWRL
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.53.2.2 2003-11-16 08:51:32 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.53.2.1 2003-11-15 22:28:58 guy Exp $";
-#endif
 #include "llc.h"
 #include "ethertype.h"
 
index c7040caed5de791748652da2f3333761d828771e..7ef30312e9c08574daa7221570787d58bffec6ef 100644 (file)
  * SUCH DAMAGE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-lwres.c,v 1.10.2.2 2003-11-16 08:51:32 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                    /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-lwres.c,v 1.10.2.1 2003-11-15 22:28:58 guy Exp $ (LBL)";
-#endif
 /* BIND9 lib/lwres/include/lwres */
 typedef u_int32_t lwres_uint32_t;
 typedef u_int16_t lwres_uint16_t;
index 8923dc9dc64541d7d7cdbf7595c04fec31d996ad..d957dc8974944abfde1dfc21e9b36c11b580a570 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.12.2.2 2003-11-16 08:51:33 guy Exp $";
+#endif
 
 #include <tcpdump-stdinc.h>
 
 #include "addrtoname.h"
 #include "extract.h"           /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.12.2.1 2003-11-15 22:28:58 guy Exp $";
-#endif
 #define MOBILE_SIZE (8)
 
 struct mobile_ip {
index 943e1541006641b7255bd7ede735f694c291311f..c682b0541193a10abdd623daee37cc27f298e126 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-mobility.c,v 1.9.2.2 2003-11-16 08:51:33 guy Exp $";
+#endif
 
 #ifdef INET6
 #include <tcpdump-stdinc.h>
 #include "addrtoname.h"
 #include "extract.h"           /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-mobility.c,v 1.9.2.1 2003-11-15 22:28:59 guy Exp $";
-#endif
 /* Mobility header */
 struct ip6_mobility {
        u_int8_t ip6m_pproto;   /* following payload protocol (for PG) */
index f916b45aed1884e6cff32027de7d19a579dae0eb..1335a1b24341892d6969972df01b3622ef22f897 100644 (file)
  * SUCH DAMAGE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.8.2.2 2003-11-16 08:51:34 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.8.2.1 2003-11-15 22:28:59 guy Exp $ (LBL)";
-#endif
 #define LABEL_MASK     0xfffff000
 #define LABEL_SHIFT    12
 #define        EXP_MASK        0x00000e00
index fb0c8579a4f6e663b38efeb21edba62a6253dfe0..b8d0e5db66a4a21f745292f1f94e555e7da4f0af 100644 (file)
  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  * FOR A PARTICULAR PURPOSE.
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-msdp.c,v 1.4.2.2 2003-11-16 08:51:34 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-msdp.c,v 1.4.2.1 2003-11-15 22:28:59 guy Exp $";
-#endif
 #define MSDP_TYPE_MAX  7
 
 void
index 120f1e3e714203c3efc3a152f4c5b424d6e8a73e..b5246e476a5a48d7fcef4f18e283b29473d8aaf6 100644 (file)
  * Contributed by Brad Parker ([email protected]).
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-netbios.c,v 1.18.2.2 2003-11-16 08:51:35 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "netbios.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-netbios.c,v 1.18.2.1 2003-11-15 22:29:00 guy Exp $";
-#endif
 /*
  * Print NETBIOS packets.
  */
index 7acd56b211efa9dc2bbe6959f0dcee0b1f1e32f3..6ccf2b1130fffbab22ccbc4d58a8de8200adadf9 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.99.2.2 2003-11-16 08:51:35 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.99.2.1 2003-11-15 22:29:00 guy Exp $ (LBL)";
-#endif
 #include "nfs.h"
 #include "nfsfh.h"
 
index 36866368a7653b1da84aed03fec08e41f5bbece7..e5cf072046772bd1d9712c8b911666e55f0c20b2 100644 (file)
  *     loosely based on print-bootp.c
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.37.2.2 2003-11-16 08:51:36 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 #ifdef MODEMASK
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.37.2.1 2003-11-15 22:29:01 guy Exp $ (LBL)";
-#endif
 #undef MODEMASK                                        /* Solaris sucks */
 #endif
 #include "ntp.h"
index 5ffd3c4b3a46eebac139947648d0977a8f9580bb..74c67bf91d2608e81585542d2a19205fe353d119 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.49.2.2 2003-11-16 08:51:36 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.49.2.1 2003-11-15 22:29:01 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 #ifdef INET6
 #include "ip6.h"
index 281dc16e932c2e657b99340a146e777a1040904c..a7b4cd595aeb15c55fbef3baf855dafc9b5c5e00 100644 (file)
  * OSPF support contributed by Jeffrey Honig ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.45.2.2 2003-11-16 08:51:37 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"
 #include "gmpls.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.45.2.1 2003-11-15 22:29:01 guy Exp $ (LBL)";
-#endif
 #include "ospf.h"
 
 #include "ip.h"
index f65e5e9df06320d704ae4c8f31f3f605a604d775..d95c279aae4bac26975afcc63eab439af989ecba 100644 (file)
  * OSPF support contributed by Jeffrey Honig ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ospf6.c,v 1.11.2.2 2003-11-16 08:51:37 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ospf6.c,v 1.11.2.1 2003-11-15 22:29:02 guy Exp $ (LBL)";
-#endif
 #include "ospf6.h"
 
 struct bits {
index d2914b7eeeb72f6295a62e8834eb5b32d6694b24..c5a84e5d175ec07ab81e25b0d5a495d0d9fa8186 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-pflog.c,v 1.7.2.2 2003-11-16 08:51:38 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-pflog.c,v 1.7.2.1 2003-11-15 22:29:02 guy Exp $ (LBL)";
-#endif
 /* The header in OpenBSD pflog files. */
 
 struct pfloghdr {
index e6b451137c4829291e02bd6586b560b6254e73f7..b876055fd42d909f8e4f1fb18143898d556aae9c 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.37.2.2 2003-11-16 08:51:38 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -53,10 +57,6 @@ struct pim {
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.37.2.1 2003-11-15 22:29:02 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 
 static void pimv2_print(register const u_char *bp, register u_int len);
index b0f5b6adebef87db5337da093d171c7fa279c043..bea0371f70a5b140ffded9a981c48cd0e5abd461 100644 (file)
  * o BAP support
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.89.2.2 2003-11-16 08:51:39 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "chdlc.h"
 #include "ethertype.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.89.2.1 2003-11-15 22:29:03 guy Exp $ (LBL)";
-#endif
 /*
  * The following constatns are defined by IANA. Please refer to
  *    http://www.isi.edu/in-notes/iana/assignments/ppp-numbers
index 7ae29adcb9a6eedfa936dead354f4a678c82b0fb..f0af6a13742e963b9f26c23e8225261c7ff4e30c 100644 (file)
  * Original code by Greg Stark <[email protected]
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+"@(#) $Header: /tcpdump/master/tcpdump/print-pppoe.c,v 1.24.2.3 2003-11-16 08:51:39 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ether.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-"@(#) $Header: /tcpdump/master/tcpdump/print-pppoe.c,v 1.24.2.2 2003-11-15 22:33:28 guy Exp $ (LBL)";
-#endif
 /* Codes */
 enum {
        PPPOE_PADI = 0x09,
index a9301f63b61d06ca05882de5ab763d8d09659c9e..f705b5e7526b1be8b47aaf1d33268f8c5e0d6e0a 100644 (file)
  */
 
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-pptp.c,v 1.9.2.2 2003-11-16 08:51:39 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-pptp.c,v 1.9.2.1 2003-11-15 22:29:04 guy Exp $";
-#endif
 static char tstr[] = " [|pptp]";
 
 #ifndef TRUE
index 7b6d214605dcad50f537201677903763ff5b52f9..a8ec0db04a7002b79142c566c195391138b1d50c 100644 (file)
  * TODO: Among other things to print ok MacIntosh and Vendor values
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "$Id: print-radius.c,v 1.19.2.2 2003-11-16 08:51:40 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "$Id: print-radius.c,v 1.19.2.1 2003-11-15 22:29:04 guy Exp $";
-#endif
 #define TAM_SIZE(x) (sizeof(x)/sizeof(x[0]) )
 
 #define PRINT_HEX(bytes_len, ptr_data)                               \
index 85ebfba7b2f4b724b8c3c2ba0a0fa32b3945ed0e..df901a3c962f1e40348b9e899d6836b8189c4902 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-raw.c,v 1.39.2.2 2003-11-16 08:51:40 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-raw.c,v 1.39.2.1 2003-11-15 22:29:05 guy Exp $ (LBL)";
-#endif
 /*
  * The DLT_RAW packet has no header. It contains a raw IP packet.
  */
index 8fe3aaf55964fbdce9bc5b7cdb693e8d6f15fb3c..2e6e881d6feef07d1958e6b0c208e8704ef47a22 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-rip.c,v 1.55.2.2 2003-11-16 08:51:41 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rip.c,v 1.55.2.1 2003-11-15 22:29:05 guy Exp $ (LBL)";
-#endif
 struct rip {
        u_int8_t rip_cmd;               /* request/response */
        u_int8_t rip_vers;              /* protocol version # */
index b29ca79ec45e8ca28e2433e167539e1f5a9e2c36..926edfe571beff25022d6028c986a87ff0364e4b 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.15.2.2 2003-11-16 08:51:42 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -50,10 +54,6 @@ IN6_ADDR_EQUAL(const struct in6_addr *a, const struct in6_addr *b)
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.15.2.1 2003-11-15 22:29:05 guy Exp $";
-#endif
 static int
 rip6_entry_print(register const struct netinfo6 *ni, int metric)
 {
index d0bbaf2393b4600e346d2892f9a020052599bb94..e1acd14f781f5222c4e1aa27353874cd1a182894 100644 (file)
  * Original code by Hannes Gredler ([email protected])
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-rsvp.c,v 1.24.2.2 2003-11-16 08:51:42 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "ethertype.h"
 #include "gmpls.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rsvp.c,v 1.24.2.1 2003-11-15 22:29:06 guy Exp $";
-#endif
 /*
  * RFC 2205 common header
  *
index 1972cc532b9cfa974bb0322c01db22ff30d33eb7..19026d4d7156438e82b50e01e6dabccb12aa8df2 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.23.2.2 2003-11-16 08:51:43 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.23.2.1 2003-11-15 22:29:06 guy Exp $";
-#endif
 int
 rt6_print(register const u_char *bp, register const u_char *bp2)
 {
index 0c2d0c21da22f868bfda00c890a99b6ad0a36f50..933c3f32c4861e9da723c8fc62599d2d1084cf87 100644 (file)
  * Ken Hornstein <[email protected]>
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.35.2.2 2003-11-16 08:51:43 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.35.2.1 2003-11-15 22:29:07 guy Exp $";
-#endif
 #include "rx.h"
 
 #include "ip.h"
index 66b0f2abae96d9f93b2debbe701d3807ce428d04..f910b18b315b89e8ed69cc2e4af8ada547797ede 100644 (file)
  * SUCH DAMAGE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.13.2.2 2003-11-16 08:51:44 guy Exp $ (NETLAB/PEL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"                   /* must come after interface.h */
 #include "ip.h"
 #ifdef INET6
-#ifndef lint
-static const char rcsid[] _U_ =
-"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.13.2.1 2003-11-15 22:29:07 guy Exp $ (NETLAB/PEL)";
-#endif
 #include "ip6.h"
 #endif
 
index 9b6b9f5ab975587efa5e026b58f12f871be6eceb..1f9499ec15718dc44584428abfdb9f0640cfddf3 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-sl.c,v 1.62.2.2 2003-11-16 08:51:44 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"                   /* must come after interface.h */
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-sl.c,v 1.62.2.1 2003-11-15 22:29:08 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 #include "tcp.h"
 #include "slip.h"
index b8873adbed71f8786515b1af45a114083f6942ac..2a38922455eb82d7b53399b6aa9264cd049f97c7 100644 (file)
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-sll.c,v 1.12.2.2 2003-11-16 08:51:44 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "ethertype.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-sll.c,v 1.12.2.1 2003-11-15 22:29:08 guy Exp $ (LBL)";
-#endif
 #include "ether.h"
 #include "sll.h"
 
index 7f56b4833c2c0f4b3c780696cd90e3089c97ab2c..dc6cd3ea52319b070cebdf5deef2c31923ed1fbb 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.27.2.2 2003-11-16 08:51:45 guy Exp $";
+#endif
 
 #include <tcpdump-stdinc.h>
 
 #include "extract.h"
 #include "smb.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.27.2.1 2003-11-15 22:29:08 guy Exp $";
-#endif
 static int request = 0;
 
 const u_char *startbuf = NULL;
index cbe88464149ea24badc4427858388b3e6477f7c9..252914f479553555a3f7732eac3f0e91e567f3b8 100644 (file)
  #     @(#)snmp.awk.x  1.1 (LANL) 1/15/90
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.56.2.2 2003-11-16 08:51:46 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.56.2.1 2003-11-15 22:29:09 guy Exp $ (LBL)";
-#endif
 /*
  * Universal ASN.1 types
  * (we only care about the tag values for those allowed in the Internet SMI)
index bbf55e5ff01a7d50992010f3af45f4c918b4988b..c0c6ba053ab54fe5f466e6b11694ee9087fcfb01 100644 (file)
@@ -9,6 +9,10 @@
  * Contributed by Lennert Buytenhek <[email protected]>
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-stp.c,v 1.11.2.2 2003-11-16 08:51:46 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-stp.c,v 1.11.2.1 2003-11-15 22:29:10 guy Exp $";
-#endif
 static void
 stp_print_bridge_id(const u_char *p)
 {
index 9475990f25de16270263caa5f643001a7c2f26b6..9f17be34c7f031ff90d75380d37db9f5d59b2300 100644 (file)
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-sunatm.c,v 1.5.2.2 2003-11-16 08:51:47 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -46,10 +50,6 @@ struct rtentry;
 #include "extract.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-sunatm.c,v 1.5.2.1 2003-11-15 22:29:10 guy Exp $ (LBL)";
-#endif
 #include "atm.h"
 #include "atmuni31.h"
 
index 191599f253d218634ffb61b8f00a5640e20b3b30..b71aefb8c4721e0612c1a0f686fb5ca46134280b 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-sunrpc.c,v 1.43.2.2 2003-11-16 08:51:47 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-sunrpc.c,v 1.43.2.1 2003-11-15 22:29:10 guy Exp $ (LBL)";
-#endif
 #include "ip.h"
 #ifdef INET6
 #include "ip6.h"
index a79e1d6bcdf6733ad0a1245b58ffd08f1b0b0206..57e071152367a2d1bca6c13101ffe42c39783f5d 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.107.2.2 2003-11-16 08:51:48 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.107.2.1 2003-11-15 22:29:11 guy Exp $ (LBL)";
-#endif
 #include "tcp.h"
 
 #include "ip.h"
index 752b35d193ff87264e8416eb37c8d0afe0bb4816..61a29c2b9b9bf5b9c3ffc263e1d6a8ef370ced1f 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.21.2.2 2003-11-16 08:51:48 guy Exp $";
+#endif
 
 #include <tcpdump-stdinc.h>
 
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.21.2.1 2003-11-15 22:29:11 guy Exp $";
-#endif
 #define TELCMDS
 #define TELOPTS
 #include "telnet.h"
index ca9fbd8b826f864a21bddd154d01de4a35450853..e9ab4a7c11fc30dba1a81286d25050eced462545 100644 (file)
  * Format and print trivial file transfer protocol packets.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-tftp.c,v 1.35.2.2 2003-11-16 08:51:50 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-tftp.c,v 1.35.2.1 2003-11-15 22:29:13 guy Exp $ (LBL)";
-#endif
 /* op code to string mapping */
 static struct tok op2str[] = {
        { RRQ,          "RRQ" },        /* read request */
index b9fce7f01b543e68d2152ae0fcba4783a8621a0d..1be1348be487721a956dde8e7684c5e7fa4d7309 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-timed.c,v 1.7.2.2 2003-11-16 08:51:51 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-timed.c,v 1.7.2.1 2003-11-15 22:29:14 guy Exp $";
-#endif
 static const char *tsptype[TSPTYPENUMBER] =
   { "ANY", "ADJTIME", "ACK", "MASTERREQ", "MASTERACK", "SETTIME", "MASTERUP",
   "SLAVEUP", "ELECTION", "ACCEPT", "REFUSE", "CONFLICT", "RESOLVE", "QUIT",
index 9695549ed9b59dd3a2f3b58d48d752c2eedecaae..fa47962ec20b3d937fb3397afa904f81750b8d1a 100644 (file)
  * Further tweaked to more closely resemble print-fddi.c
  *     Guy Harris <[email protected]>
  */
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-token.c,v 1.22.2.2 2003-11-16 08:51:51 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "ethertype.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-token.c,v 1.22.2.1 2003-11-15 22:29:14 guy Exp $";
-#endif
 #include "ether.h"
 #include "token.h"
 
index 0f189a93b4fdc00e90e2bc431b3d0628bd74ed8e..d444d9ab422805fffdbaf55cc254c707da814633 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.124.2.2 2003-11-16 08:51:52 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"
 #include "appletalk.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.124.2.1 2003-11-15 22:29:14 guy Exp $ (LBL)";
-#endif
 #include "udp.h"
 
 #include "ip.h"
index cfe72e78a49f1b08a541d388c9e1cd277152d4a8..cb9ddfdef9f9a2528e520648d1c8249d5eff37fa 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-vjc.c,v 1.11.2.2 2003-11-16 08:51:52 guy Exp $ (LBL)";
+#endif
 
 #include <tcpdump-stdinc.h>
 
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-vjc.c,v 1.11.2.1 2003-11-15 22:29:16 guy Exp $ (LBL)";
-#endif
 #include "slcompress.h"
 #include "ppp.h"
 
index eca93c84882653b76bc6e782fe2220ac19cd3c5e..946a50476b24170c95b51865c709b02d66c5b59f 100644 (file)
  * FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-vrrp.c,v 1.7.2.2 2003-11-16 08:51:55 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "extract.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-vrrp.c,v 1.7.2.1 2003-11-15 22:29:16 guy Exp $";
-#endif
 /*
  * RFC 2338:
  *     0                   1                   2                   3
index 419ac4021330fd39ef485f0e6849c8deeb311d3e..e286609b33efe29c55c9eaa0d17028cb0513cc40 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-wb.c,v 1.30.2.2 2003-11-16 08:51:55 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-wb.c,v 1.30.2.1 2003-11-15 22:29:17 guy Exp $ (LBL)";
-#endif
 /* XXX need to add byte-swapping macros! */
 /* XXX - you mean like the ones in "extract.h"? */
 
index c180e1dcabd250fbc24ba006129e0085c59fa62d..4a13f18a9a1920f9a00475c7a971a4aa75c4580b 100644 (file)
  * PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.6.2.2 2003-11-16 08:51:56 guy Exp $";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.6.2.1 2003-11-15 22:29:17 guy Exp $";
-#endif
 struct z_packet {
     char *version;
     int numfields;
index c16bcd8872be78843dc9e0d26356be2016e1317b..628a1201ed5a359dacdbb46d800a22a12511cec4 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/setsignal.c,v 1.9.2.2 2003-11-16 08:51:56 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include <tcpdump-stdinc.h>
 
-
-#include "interface.h"
-
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/setsignal.c,v 1.9.2.1 2003-11-15 22:29:17 guy Exp $ (LBL)";
-#endif
-
 #include <signal.h>
 #ifdef HAVE_SIGACTION
 #include <string.h>
index 53c6710a95026290ca22d1f9a79790660540e8c9..418779a9f27c7cbb5b755e7c7035b0407fe814b2 100644 (file)
--- a/smbutil.c
+++ b/smbutil.c
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/smbutil.c,v 1.26.2.2 2003-11-16 08:51:56 guy Exp $";
+#endif
 
 #include <tcpdump-stdinc.h>
 
 #include "extract.h"
 #include "smb.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/smbutil.c,v 1.26.2.1 2003-11-15 22:29:18 guy Exp $";
-#endif
 extern const u_char *startbuf;
 
 /*
index bac55879ff094ba5eaa1b7322a066cf3e260ff34..1bd7572b704b0dfb68e0076646ce935f37920215 100644 (file)
 #include "config.h"
 #endif
 
+#ifndef lint
+static const char rcsid[] _U_ =
+     "@(#) $Header: /tcpdump/master/tcpdump/strcasecmp.c,v 1.4.2.2 2003-11-16 08:51:57 guy Exp $";
+#endif
 
 #include <tcpdump-stdinc.h>
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-     "@(#) $Header: /tcpdump/master/tcpdump/strcasecmp.c,v 1.4.2.1 2003-11-15 22:29:18 guy Exp $";
-#endif
 /*
  * This array is designed for mapping upper and lower case letter
  * together for a case independent comparison.  The mappings are
index e99334ac8b81060c1dac895bf7446d183e9e791d..5ceeec56d6874b0d18ce117afa0284fc7f238a67 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
  *     Seth Webster <[email protected]>
  */
 
+#ifndef lint
+static const char copyright[] _U_ =
+    "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
+The Regents of the University of California.  All rights reserved.\n";
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.216.2.2 2003-11-16 08:51:57 guy Exp $ (LBL)";
+#endif
 
 /*
  * tcpdump - monitor tcp/ip traffic on an ethernet.
@@ -62,13 +69,6 @@ extern int SIZE_BUF;
 #include "gmt2local.h"
 #include "pcap-missing.h"
 
-#ifndef lint
-static const char copyright[] _U_ =
-    "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
-The Regents of the University of California.  All rights reserved.\n";
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.216.2.1 2003-11-15 22:29:19 guy Exp $ (LBL)";
-#endif
 int dflag;                     /* print filter code */
 int eflag;                     /* print ethernet header */
 int fflag;                     /* don't translate "foreign" IP address */
diff --git a/util.c b/util.c
index eef798b3b3c1ef4aba141b50afb53d7eeae616df..088c14e76fc7b78110786cb6b1c4a219003af7e1 100644 (file)
--- a/util.c
+++ b/util.c
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/util.c,v 1.87.2.2 2003-11-16 08:51:58 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/util.c,v 1.87.2.1 2003-11-15 22:29:19 guy Exp $ (LBL)";
-#endif
 /*
  * Print out a filename (or other ascii string).
  * If ep is NULL, assume no truncation check is needed.
index 0eb56448ccd8d87268c88dccd58168fbfaae3a2d..d22753afc5a88b23b63c781ec064505851d2a98b 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/vfprintf.c,v 1.4.8.2 2003-11-16 08:51:58 guy Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/vfprintf.c,v 1.4.8.1 2003-11-15 22:29:20 guy Exp $ (LBL)";
-#endif
 /*
  * Stock 4.3 doesn't have vfprintf.
  * This routine is due to Chris Torek.
index f0955a9577b940987ec6dad7176ae92185e231b5..46605641cebb0ef8272c240cd2895155749c36f7 100644 (file)
@@ -16,7 +16,8 @@ CFLAGS = -I ${PCAP_DIR}/wpcap/libpcap/bpf \
        -I ../../lbl -I../.. \
        -DWIN32 -DHAVE_ADDRINFO_H -DHAVE_PCAP_FINDALLDEVS \
        -DINET6 -DSIZEOF_CHAR=1 -DHAVE_SOCKADDR_STORAGE -DHAVE_PCAP_DUMP_FLUSH\
-       -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -mno-cygwin ${OPTFLAGS}
+       -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -D_U_="__attribute__((unused))" \
+       -mno-cygwin ${OPTFLAGS}
 LDFLAGS = 
 LIBS = -L ${PCAP_DIR}/WPCAP/LIB -lwpcap -lwsock32
 OBJS = \
index cdccb0dc3554b83aba20b801819bc797cea23415..bbada4241fe299abcc3df5d2dda098356c1495be 100644 (file)
@@ -42,7 +42,7 @@ RSC=rc.exe
 # PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /I "../../../winpcap/wpcap/libpcap/bpf" /I "../../../winpcap/wpcap/libpcap" /I "../../../winpcap/wpcap/libpcap/Win32/Include" /I "../../../winpcap/wpcap/libpcap/Win32/Include/net" /I "../../Win32/Include" /I "../../linux-Include" /I "../../lbl" /I "../../" /I "../../../winpcap/wpcap/win32-extensions" /D "NDEBUG" /D HAVE_ADDRINFO=1 /D HAVE_PCAP_DUMP_FLUSH=1 /D HAVE_PCAP_FINDALLDEVS=1 /D "_CONSOLE" /D "__STDC__" /D "INET6" /D "WIN32" /D "_MBCS" /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D SIZEOF_INT=4 /D "WPCAP" /D "HAVE_SOCKADDR_STORAGE" /YX /FD /c
+# ADD CPP /nologo /W3 /GX /O2 /I "../../../winpcap/wpcap/libpcap/bpf" /I "../../../winpcap/wpcap/libpcap" /I "../../../winpcap/wpcap/libpcap/Win32/Include" /I "../../../winpcap/wpcap/libpcap/Win32/Include/net" /I "../../Win32/Include" /I "../../linux-Include" /I "../../lbl" /I "../../" /I "../../../winpcap/wpcap/win32-extensions" /D "NDEBUG" /D HAVE_ADDRINFO=1 /D HAVE_PCAP_DUMP_FLUSH=1 /D HAVE_PCAP_FINDALLDEVS=1 /D "_CONSOLE" /D "__STDC__" /D "INET6" /D "WIN32" /D "_MBCS" /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D SIZEOF_INT=4 /D "WPCAP" /D "HAVE_SOCKADDR_STORAGE" /D _U_= /YX /FD /c
 # ADD BASE RSC /l 0x410 /d "NDEBUG"
 # ADD RSC /l 0x410 /d "NDEBUG"
 BSC32=bscmake.exe
@@ -66,7 +66,7 @@ LINK32=link.exe
 # PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /Gm /Gi /GX /ZI /I "../../../winpcap/wpcap/libpcap/bpf" /I "../../../winpcap/wpcap/libpcap" /I "../../../winpcap/wpcap/libpcap/Win32/Include" /I "../../../winpcap/wpcap/libpcap/Win32/Include/net" /I "../../Win32/Include" /I "../../linux-Include" /I "../../lbl" /I "../../" /I "../../../winpcap/wpcap/win32-extensions" /D "_DEBUG" /D "_WINDOWS" /D "HAVE_ADDRINFO" /D HAVE_PCAP_FINDALLDEVS=1 /D "_CONSOLE" /D "__STDC__" /D "INET6" /D "WIN32" /D "_MBCS" /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D SIZEOF_INT=4 /D "WPCAP" /D "HAVE_SOCKADDR_STORAGE" /D HAVE_PCAP_DUMP_FLUSH=1 /FR /YX /FD /c
+# ADD CPP /nologo /W3 /Gm /Gi /GX /ZI /I "../../../winpcap/wpcap/libpcap/bpf" /I "../../../winpcap/wpcap/libpcap" /I "../../../winpcap/wpcap/libpcap/Win32/Include" /I "../../../winpcap/wpcap/libpcap/Win32/Include/net" /I "../../Win32/Include" /I "../../linux-Include" /I "../../lbl" /I "../../" /I "../../../winpcap/wpcap/win32-extensions" /D "_DEBUG" /D "_WINDOWS" /D "HAVE_ADDRINFO" /D HAVE_PCAP_FINDALLDEVS=1 /D "_CONSOLE" /D "__STDC__" /D "INET6" /D "WIN32" /D "_MBCS" /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D SIZEOF_INT=4 /D "WPCAP" /D "HAVE_SOCKADDR_STORAGE" /D HAVE_PCAP_DUMP_FLUSH=1 /D _U_= /FR /YX /FD /c
 # ADD BASE RSC /l 0x410 /d "_DEBUG"
 # ADD RSC /l 0x410 /d "_DEBUG"
 BSC32=bscmake.exe