From Neil Spring:

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".
This commit is contained in:
guy 2003-11-15 00:39:12 +00:00
parent 0a27c291d0
commit 3824a6c041
109 changed files with 488 additions and 436 deletions

View File

@ -21,10 +21,6 @@
* Internet, ethernet, port, and protocol string to address * Internet, ethernet, port, and protocol string to address
* and address to string conversion routines * and address to string conversion routines
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.96 2003-07-31 22:36:44 fenner Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -56,6 +52,10 @@ struct rtentry; /* declarations in <net/if.h> */
#include "llc.h" #include "llc.h"
#include "setsignal.h" #include "setsignal.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.97 2003-11-15 00:39:12 guy Exp $ (LBL)";
#endif
/* /*
* hash tables for whatever-to-name translations * hash tables for whatever-to-name translations
* *

View File

@ -18,10 +18,6 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.14 2002-08-01 08:52:56 risso Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -34,6 +30,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/bpf_dump.c,v 1.15 2003-11-15 00:39:12 guy Exp $ (LBL)";
#endif
void void
bpf_dump(struct bpf_program *p, int option) bpf_dump(struct bpf_program *p, int option)
{ {

View File

@ -13,10 +13,6 @@
* Original code by Hannes Gredler (hannes@juniper.net) * Original code by Hannes Gredler (hannes@juniper.net)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/gmpls.c,v 1.2 2003-10-20 10:32:46 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -26,6 +22,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/gmpls.c,v 1.3 2003-11-15 00:39:13 guy Exp $ (LBL)";
#endif
/* rfc3471 */ /* rfc3471 */
struct tok gmpls_link_prot_values[] = { struct tok gmpls_link_prot_values[] = {
{ 0x01, "Extra Traffic"}, { 0x01, "Extra Traffic"},

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/gmt2local.c,v 1.7 2002-08-06 04:42:04 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -30,6 +26,14 @@ static const char rcsid[] =
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/gmt2local.c,v 1.8 2003-11-15 00:39:13 guy Exp $ (LBL)";
#endif
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_OS_PROTO_H #ifdef HAVE_OS_PROTO_H

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/machdep.c,v 1.10 2002-09-05 21:25:36 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -36,6 +32,14 @@ static const char rcsid[] =
*/ */
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/machdep.c,v 1.11 2003-11-15 00:39:13 guy Exp $ (LBL)";
#endif
#ifndef HAVE___ATTRIBUTE__ #ifndef HAVE___ATTRIBUTE__
#define __attribute__(x) #define __attribute__(x)
#endif /* HAVE___ATTRIBUTE__ */ #endif /* HAVE___ATTRIBUTE__ */

View File

@ -31,13 +31,19 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef lint #ifdef HAVE_CONFIG_H
static const char rcsid[] = #include "config.h"
"@(#) $Header: /tcpdump/master/tcpdump/missing/datalinks.c,v 1.1 2002-12-19 09:27:58 guy Exp $ (LBL)";
#endif #endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/datalinks.c,v 1.2 2003-11-15 00:39:46 guy Exp $ (LBL)";
#endif
#include <pcap.h> #include <pcap.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -31,10 +31,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/dlnames.c,v 1.2 2003-05-02 08:46:29 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -42,6 +38,14 @@ static const char rcsid[] =
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/dlnames.c,v 1.3 2003-11-15 00:39:47 guy Exp $ (LBL)";
#endif
#include <pcap.h> #include <pcap.h>
#include <string.h> #include <string.h>

View File

@ -49,9 +49,14 @@
#include <config.h> #include <config.h>
#endif #endif
#include "tcpdump-stdinc.h"
#include "interface.h"
#ifndef lint #ifndef lint
static const char rcsid[] = static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/getaddrinfo.c,v 1.11 2002-06-11 17:13:37 itojun Exp $"; "@(#) $Header: /tcpdump/master/tcpdump/missing/getaddrinfo.c,v 1.12 2003-11-15 00:39:47 guy Exp $";
#endif #endif
#include <sys/types.h> #include <sys/types.h>

View File

@ -41,9 +41,14 @@
#include <config.h> #include <config.h>
#endif #endif
#include "tcpdump-stdinc.h"
#include "interface.h"
#ifndef lint #ifndef lint
static const char rcsid[] = static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/getnameinfo.c,v 1.9 2002-06-11 17:13:37 itojun Exp $"; "@(#) $Header: /tcpdump/master/tcpdump/missing/getnameinfo.c,v 1.10 2003-11-15 00:39:47 guy Exp $";
#endif #endif
#include <sys/types.h> #include <sys/types.h>

View File

@ -36,15 +36,19 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/* $Id: inet_aton.c,v 1.4 2002-08-01 08:53:38 risso Exp $ */ /* $Id: inet_aton.c,v 1.5 2003-11-15 00:39:47 guy Exp $ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/inet_aton.c,v 1.4 2002-08-01 08:53:38 risso Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/inet_aton.c,v 1.5 2003-11-15 00:39:47 guy Exp $";
#endif
/* Minimal implementation of inet_aton. /* Minimal implementation of inet_aton.
* Cannot distinguish between failure and a local broadcast address. */ * Cannot distinguish between failure and a local broadcast address. */

View File

@ -36,15 +36,19 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/* $Id: inet_ntop.c,v 1.5 2002-08-01 08:53:39 risso Exp $ */ /* $Id: inet_ntop.c,v 1.6 2003-11-15 00:39:48 guy Exp $ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/inet_ntop.c,v 1.5 2002-08-01 08:53:39 risso Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/inet_ntop.c,v 1.6 2003-11-15 00:39:48 guy Exp $";
#endif
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>

View File

@ -36,15 +36,19 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/* $Id: inet_pton.c,v 1.4 2002-08-01 08:53:40 risso Exp $ */ /* $Id: inet_pton.c,v 1.5 2003-11-15 00:39:48 guy Exp $ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/inet_pton.c,v 1.4 2002-08-01 08:53:40 risso Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/inet_pton.c,v 1.5 2003-11-15 00:39:48 guy Exp $";
#endif
#include <errno.h> #include <errno.h>
int int

View File

@ -31,16 +31,12 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/* $Id: snprintf.c,v 1.6 2002-06-11 17:13:39 itojun Exp $ */ /* $Id: snprintf.c,v 1.7 2003-11-15 00:39:48 guy Exp $ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.6 2002-06-11 17:13:39 itojun Exp $";
#endif
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
@ -51,6 +47,10 @@ static const char rcsid[] =
#include <interface.h> #include <interface.h>
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.7 2003-11-15 00:39:48 guy Exp $";
#endif
enum format_flags { enum format_flags {
minus_flag = 1, minus_flag = 1,
plus_flag = 2, plus_flag = 2,

View File

@ -28,10 +28,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/strlcat.c,v 1.3 2002-08-02 04:38:12 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
@ -39,6 +35,14 @@ static const char rcsid[] =
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/strlcat.c,v 1.4 2003-11-15 00:39:48 guy Exp $ (LBL)";
#endif
#include <string.h> #include <string.h>
/* /*

View File

@ -28,10 +28,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.3 2002-08-02 04:38:13 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
@ -39,6 +35,14 @@ static const char rcsid[] =
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.4 2003-11-15 00:39:48 guy Exp $ (LBL)";
#endif
#include <string.h> #include <string.h>
/* /*

View File

@ -40,10 +40,6 @@
* Western Research Laboratory * Western Research Laboratory
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.25 2002-08-01 08:52:58 risso Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -57,6 +53,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "nfsfh.h" #include "nfsfh.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.26 2003-11-15 00:39:13 guy Exp $ (LBL)";
#endif
/* /*
* This routine attempts to parse a file handle (in network byte order), * 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 * using heuristics to guess what kind of format it is in. See the

View File

@ -20,10 +20,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.22 2003-07-22 17:36:57 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -39,6 +35,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "ethertype.h" #include "ethertype.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.23 2003-11-15 00:39:14 guy Exp $ (LBL)";
#endif
#include "extract.h" #include "extract.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View File

@ -21,10 +21,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.19 2002-12-11 07:13:57 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.20 2003-11-15 00:39:14 guy Exp $ (LBL)";
#endif
int int
ah_print(register const u_char *bp) ah_print(register const u_char *bp)
{ {

View File

@ -30,10 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-aodv.c,v 1.8 2003-09-13 01:34:42 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -50,6 +46,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.9 2003-11-15 00:39:14 guy Exp $ (LBL)";
#endif
#include "aodv.h" #include "aodv.h"
static void static void

View File

@ -20,10 +20,6 @@
* *
* From: NetBSD: print-arcnet.c,v 1.2 2000/04/24 13:02:28 itojun Exp * From: NetBSD: print-arcnet.c,v 1.2 2000/04/24 13:02:28 itojun Exp
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-arcnet.c,v 1.15 2003-01-23 09:15:14 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "arcnet.h" #include "arcnet.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-arcnet.c,v 1.16 2003-11-15 00:39:15 guy Exp $ (LBL)";
#endif
static int arcnet_encap_print(u_char arctype, const u_char *p, static int arcnet_encap_print(u_char arctype, const u_char *p,
u_int length, u_int caplen); u_int length, u_int caplen);

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-arp.c,v 1.61 2003-01-25 23:27:09 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -39,6 +35,10 @@ static const char rcsid[] =
#include "ethertype.h" #include "ethertype.h"
#include "extract.h" /* must come after interface.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.62 2003-11-15 00:39:15 guy Exp $ (LBL)";
#endif
/* /*
* Address Resolution Protocol. * Address Resolution Protocol.
* *

View File

@ -40,15 +40,15 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ascii.c,v 1.10 2002-09-05 00:00:10 guy Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
#include <stdio.h> #include <stdio.h>
#include "interface.h" #include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ascii.c,v 1.11 2003-11-15 00:39:15 guy Exp $";
#endif
#define ASCII_LINELENGTH 300 #define ASCII_LINELENGTH 300
#define HEXDUMP_BYTES_PER_LINE 16 #define HEXDUMP_BYTES_PER_LINE 16
#define HEXDUMP_SHORTS_PER_LINE (HEXDUMP_BYTES_PER_LINE / 2) #define HEXDUMP_SHORTS_PER_LINE (HEXDUMP_BYTES_PER_LINE / 2)

View File

@ -21,10 +21,6 @@
* Format and print AppleTalk packets. * Format and print AppleTalk packets.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.78 2002-12-19 09:39:11 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -43,6 +39,10 @@ static const char rcsid[] =
#include "extract.h" /* must come after interface.h */ #include "extract.h" /* must come after interface.h */
#include "appletalk.h" #include "appletalk.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.79 2003-11-15 00:39:16 guy Exp $ (LBL)";
#endif
static struct tok type2str[] = { static struct tok type2str[] = {
{ ddpRTMP, "rtmp" }, { ddpRTMP, "rtmp" },
{ ddpRTMPrequest, "rtmpReq" }, { ddpRTMPrequest, "rtmpReq" },

View File

@ -18,10 +18,6 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.33 2002-12-19 09:39:11 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -41,6 +37,10 @@ static const char rcsid[] =
#include "atmuni31.h" #include "atmuni31.h"
#include "llc.h" #include "llc.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.34 2003-11-15 00:39:16 guy Exp $ (LBL)";
#endif
#include "ether.h" #include "ether.h"
/* /*

View File

@ -9,10 +9,6 @@
* *
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-beep.c,v 1.4 2002-08-01 08:53:01 risso Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -30,6 +26,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-beep.c,v 1.5 2003-11-15 00:39:16 guy Exp $";
#endif
/* Check for a string but not go beyond length /* Check for a string but not go beyond length
* Return TRUE on match, FALSE otherwise * Return TRUE on match, FALSE otherwise
* *

View File

@ -13,10 +13,6 @@
* Original code by Hannes Gredler (hannes@juniper.net) * Original code by Hannes Gredler (hannes@juniper.net)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-bfd.c,v 1.3 2003-10-27 22:44:37 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -31,6 +27,10 @@ static const char rcsid[] =
#include "extract.h" #include "extract.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-bfd.c,v 1.4 2003-11-15 00:39:16 guy Exp $";
#endif
#include "udp.h" #include "udp.h"
/* /*

View File

@ -34,10 +34,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.72 2003-10-27 08:18:57 hannes Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
@ -48,6 +44,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.73 2003-11-15 00:39:17 guy Exp $";
#endif
struct bgp { struct bgp {
u_int8_t bgp_marker[16]; u_int8_t bgp_marker[16];
u_int16_t bgp_len; u_int16_t bgp_len;

View File

@ -20,10 +20,6 @@
* *
* Format and print bootp packets. * Format and print bootp packets.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.75 2003-08-01 03:10:11 fenner Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "ether.h" #include "ether.h"
#include "bootp.h" #include "bootp.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.76 2003-11-15 00:39:17 guy Exp $ (LBL)";
#endif
static void rfc1048_print(const u_char *); static void rfc1048_print(const u_char *);
static void cmu_print(const u_char *); static void cmu_print(const u_char *);

View File

@ -24,10 +24,6 @@
* http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm * http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-cdp.c,v 1.19 2003-01-08 12:45:26 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -42,6 +38,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.20 2003-11-15 00:39:17 guy Exp $";
#endif
#define CDP_HEADER_LEN 4 #define CDP_HEADER_LEN 4
static struct tok cdp_tlv_values[] = { static struct tok cdp_tlv_values[] = {

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.28 2003-05-22 16:52:36 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "ppp.h" #include "ppp.h"
#include "chdlc.h" #include "chdlc.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.29 2003-11-15 00:39:18 guy Exp $ (LBL)";
#endif
static void chdlc_slarp_print(const u_char *, u_int); static void chdlc_slarp_print(const u_char *, u_int);
/* Standard CHDLC printer */ /* Standard CHDLC printer */

View File

@ -20,10 +20,6 @@
* *
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.21 2002-12-19 09:39:12 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -41,6 +37,10 @@ static const char rcsid[] =
#include "ethertype.h" #include "ethertype.h"
#include "ether.h" #include "ether.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.22 2003-11-15 00:39:18 guy Exp $ (LBL)";
#endif
#define RFC1483LLC_LEN 8 #define RFC1483LLC_LEN 8
static unsigned char rfcllc[] = { static unsigned char rfcllc[] = {

View File

@ -32,10 +32,6 @@
/* Cisco NetFlow protocol */ /* Cisco NetFlow protocol */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-cnfp.c,v 1.14 2003-06-07 11:57:52 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -50,6 +46,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-cnfp.c,v 1.15 2003-11-15 00:39:18 guy Exp $";
#endif
#include "tcp.h" #include "tcp.h"
#include "ipproto.h" #include "ipproto.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.36 2002-09-05 21:25:39 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -46,6 +42,10 @@ struct rtentry;
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-decnet.c,v 1.37 2003-11-15 00:39:19 guy Exp $ (LBL)";
#endif
/* Forwards */ /* Forwards */
static void print_decnet_ctlmsg(const union routehdr *, u_int); static void print_decnet_ctlmsg(const union routehdr *, u_int);
static void print_t_info(int); static void print_t_info(int);

View File

@ -35,10 +35,6 @@
* draft-ietf-dhc-dhcpv6-opt-timeconfig-02.txt, * draft-ietf-dhc-dhcpv6-opt-timeconfig-02.txt,
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-dhcp6.c,v 1.27 2003-10-29 03:54:14 itojun Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -53,6 +49,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-dhcp6.c,v 1.28 2003-11-15 00:39:19 guy Exp $";
#endif
/* lease duration */ /* lease duration */
#define DHCP6_DURATITION_INFINITE 0xffffffff #define DHCP6_DURATITION_INFINITE 0xffffffff

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.86 2003-11-05 06:03:00 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -39,6 +35,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.87 2003-11-15 00:39:19 guy Exp $ (LBL)";
#endif
static const char *ns_ops[] = { static const char *ns_ops[] = {
"", " inv_q", " stat", " op3", " notify", " update", " op6", " op7", "", " inv_q", " stat", " op3", " notify", " update", " op6", " op7",
" op8", " updataA", " updateD", " updateDA", " op8", " updataA", " updateD", " updateDA",

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-dvmrp.c,v 1.24 2002-09-05 21:25:40 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "extract.h" #include "extract.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-dvmrp.c,v 1.25 2003-11-15 00:39:20 guy Exp $ (LBL)";
#endif
/* /*
* DVMRP message types and flag values shamelessly stolen from * DVMRP message types and flag values shamelessly stolen from
* mrouted/dvmrp.h. * mrouted/dvmrp.h.

View File

@ -18,10 +18,6 @@
* Initial contribution from Jeff Honig (jch@MITCHELL.CIT.CORNELL.EDU). * Initial contribution from Jeff Honig (jch@MITCHELL.CIT.CORNELL.EDU).
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-egp.c,v 1.34 2002-12-11 07:13:59 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -35,6 +31,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-egp.c,v 1.35 2003-11-15 00:39:20 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
struct egp_packet { struct egp_packet {

View File

@ -21,10 +21,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.1 2003-03-08 08:55:34 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.2 2003-11-15 00:39:21 guy Exp $ (LBL)";
#endif
#include "enc.h" #include "enc.h"
#define ENC_PRINT_TYPE(wh, xf, nam) \ #define ENC_PRINT_TYPE(wh, xf, nam) \

View File

@ -21,10 +21,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.44 2003-10-28 03:16:36 itojun Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -58,6 +54,10 @@ extern char *strsep(char **stringp, const char *delim); /* Missing/strsep.c */
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.45 2003-11-15 00:39:22 guy Exp $ (LBL)";
#endif
#ifndef HAVE_SOCKADDR_STORAGE #ifndef HAVE_SOCKADDR_STORAGE
#ifdef INET6 #ifdef INET6
struct sockaddr_storage { struct sockaddr_storage {

View File

@ -18,10 +18,6 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.82 2003-07-01 19:10:26 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -36,6 +32,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "ethertype.h" #include "ethertype.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ether.c,v 1.83 2003-11-15 00:39:22 guy Exp $ (LBL)";
#endif
#include "ether.h" #include "ether.h"
const u_char *snapend; const u_char *snapend;

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.61 2002-12-19 09:39:12 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "ethertype.h" #include "ethertype.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.62 2003-11-15 00:39:22 guy Exp $ (LBL)";
#endif
#include "ether.h" #include "ether.h"
#include "fddi.h" #include "fddi.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.17 2003-11-08 09:00:51 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -39,6 +35,10 @@ static const char rcsid[] =
#include "ethertype.h" #include "ethertype.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.18 2003-11-15 00:39:22 guy Exp $ (LBL)";
#endif
static void lmi_print(const u_char *, u_int); 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 */ #define NLPID_LMI 0x08 /* ANSI T1.617 Annex D or ITU-T Q.933 Annex A */

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.16 2002-12-11 22:29:21 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-frag6.c,v 1.17 2003-11-15 00:39:23 guy Exp $";
#endif
int int
frag6_print(register const u_char *bp, register const u_char *bp2) frag6_print(register const u_char *bp, register const u_char *bp2)
{ {

View File

@ -36,10 +36,6 @@
* RFC1701 (GRE), RFC1702 (GRE IPv4), and RFC2637 (Enhanced GRE) * RFC1701 (GRE), RFC1702 (GRE IPv4), and RFC2637 (Enhanced GRE)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.22 2003-05-22 16:52:37 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -54,6 +50,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.23 2003-11-15 00:39:23 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
#define GRE_CP 0x8000 /* checksum present */ #define GRE_CP 0x8000 /* checksum present */

View File

@ -29,10 +29,6 @@
/* Cisco Hot Standby Router Protocol (HSRP). */ /* Cisco Hot Standby Router Protocol (HSRP). */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-hsrp.c,v 1.7 2002-12-11 07:14:00 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -45,6 +41,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-hsrp.c,v 1.8 2003-11-15 00:39:24 guy Exp $";
#endif
/* HSRP op code types. */ /* HSRP op code types. */
static const char *op_code_str[] = { static const char *op_code_str[] = {
"hello", "hello",

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.73 2003-06-07 11:57:53 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.74 2003-11-15 00:39:24 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
#include "udp.h" #include "udp.h"
#include "ipproto.h" #include "ipproto.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.72 2003-10-28 03:16:36 itojun Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -43,6 +39,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-icmp6.c,v 1.73 2003-11-15 00:39:26 guy Exp $";
#endif
#include "udp.h" #include "udp.h"
#include "ah.h" #include "ah.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-igmp.c,v 1.11 2002-12-11 07:14:02 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.12 2003-11-15 00:39:26 guy Exp $ (LBL)";
#endif
#ifndef IN_CLASSD #ifndef IN_CLASSD
#define IN_CLASSD(i) (((int32_t)(i) & 0xf0000000) == 0xe0000000) #define IN_CLASSD(i) (((int32_t)(i) & 0xf0000000) == 0xe0000000)
#endif #endif

View File

@ -21,10 +21,6 @@
* Initial contribution from Francis Dupont (francis.dupont@inria.fr) * Initial contribution from Francis Dupont (francis.dupont@inria.fr)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.18 2002-08-06 04:42:05 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "ip.h" #include "ip.h"
#include "extract.h" /* must come after interface.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.19 2003-11-15 00:39:26 guy Exp $ (LBL)";
#endif
static void static void
igrp_entry_print(register struct igrprte *igr, register int is_interior, igrp_entry_print(register struct igrprte *igr, register int is_interior,
register int is_exterior) register int is_exterior)

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.128 2003-07-08 01:14:44 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "extract.h" /* must come after 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.129 2003-11-15 00:39:27 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
#include "ipproto.h" #include "ipproto.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.32 2003-10-28 03:14:16 itojun Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.33 2003-11-15 00:39:27 guy Exp $";
#endif
#include "ip6.h" #include "ip6.h"
#include "ipproto.h" #include "ipproto.h"

View File

@ -31,10 +31,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ip6opts.c,v 1.14 2003-01-10 08:11:00 guy Exp $";
#endif
#ifdef INET6 #ifdef INET6
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
@ -47,6 +43,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ip6opts.c,v 1.15 2003-11-15 00:39:27 guy Exp $";
#endif
/* items outside of rfc2292bis */ /* items outside of rfc2292bis */
#ifndef IP6OPT_MINLEN #ifndef IP6OPT_MINLEN
#define IP6OPT_MINLEN 2 #define IP6OPT_MINLEN 2

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.17 2002-12-11 07:14:03 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -47,6 +43,10 @@ struct ipcomp {
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.18 2003-11-15 00:39:28 guy Exp $";
#endif
int int
ipcomp_print(register const u_char *bp, int *nhdr) ipcomp_print(register const u_char *bp, int *nhdr)
{ {

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ipfc.c,v 1.4 2002-12-19 09:39:13 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "ethertype.h" #include "ethertype.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ipfc.c,v 1.5 2003-11-15 00:39:28 guy Exp $ (LBL)";
#endif
#include "ether.h" #include "ether.h"
#include "ipfc.h" #include "ipfc.h"

View File

@ -22,10 +22,6 @@
* Contributed by Brad Parker (brad@fcr.com). * Contributed by Brad Parker (brad@fcr.com).
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.34 2002-08-01 08:53:11 risso Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -42,6 +38,10 @@ static const char rcsid[] =
#include "ipx.h" #include "ipx.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.35 2003-11-15 00:39:28 guy Exp $";
#endif
static const char *ipxaddr_string(u_int32_t, const u_char *); static const char *ipxaddr_string(u_int32_t, const u_char *);
void ipx_decode(const struct ipxHdr *, const u_char *, u_int); void ipx_decode(const struct ipxHdr *, const u_char *, u_int);

View File

@ -28,10 +28,6 @@
* *
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-isakmp.c,v 1.36 2002-12-11 07:14:03 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -50,6 +46,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.37 2003-11-15 00:39:28 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
#ifdef INET6 #ifdef INET6
#include "ip6.h" #include "ip6.h"

View File

@ -24,10 +24,6 @@
* complete IS-IS support. * complete IS-IS support.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.106 2003-11-05 23:11:03 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -45,6 +41,10 @@ static const char rcsid[] =
#include "extract.h" #include "extract.h"
#include "gmpls.h" #include "gmpls.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.107 2003-11-15 00:39:29 guy Exp $ (LBL)";
#endif
#define NLPID_CLNS 129 /* 0x81 */ #define NLPID_CLNS 129 /* 0x81 */
#define NLPID_ESIS 130 /* 0x82 */ #define NLPID_ESIS 130 /* 0x82 */
#define NLPID_ISIS 131 /* 0x83 */ #define NLPID_ISIS 131 /* 0x83 */

View File

@ -21,10 +21,6 @@
* Initial contribution from John Hawkinson (jhawk@mit.edu). * Initial contribution from John Hawkinson (jhawk@mit.edu).
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-krb.c,v 1.21 2002-12-11 07:14:04 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-krb.c,v 1.22 2003-11-15 00:39:29 guy Exp $";
#endif
static const u_char *c_print(register const u_char *, register const u_char *); 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 const u_char *krb4_print_hdr(const u_char *);
static void krb4_print(const u_char *); static void krb4_print(const u_char *);

View File

@ -21,10 +21,6 @@
* L2TP support contributed by Motonori Shindo (mshindo@mshindo.net) * L2TP support contributed by Motonori Shindo (mshindo@mshindo.net)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-l2tp.c,v 1.14 2002-09-05 00:00:14 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-l2tp.c,v 1.15 2003-11-15 00:39:30 guy Exp $";
#endif
static char tstr[] = " [|l2tp]"; static char tstr[] = " [|l2tp]";
#ifndef TRUE #ifndef TRUE

View File

@ -20,10 +20,6 @@
* *
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.20 2002-12-19 09:39:13 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "ether.h" #include "ether.h"
#include "lane.h" #include "lane.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.21 2003-11-15 00:39:30 guy Exp $ (LBL)";
#endif
static const struct tok lecop2str[] = { static const struct tok lecop2str[] = {
{ 0x0001, "configure request" }, { 0x0001, "configure request" },
{ 0x0101, "configure response" }, { 0x0101, "configure response" },

View File

@ -13,10 +13,6 @@
* Original code by Hannes Gredler (hannes@juniper.net) * Original code by Hannes Gredler (hannes@juniper.net)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.4 2002-12-14 13:50:16 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -32,6 +28,10 @@ static const char rcsid[] =
#include "extract.h" #include "extract.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.5 2003-11-15 00:39:30 guy Exp $";
#endif
/* /*
* ldp common header * ldp common header
* *

View File

@ -22,10 +22,6 @@
* with an awful lot of hacking by Jeffrey Mogul, DECWRL * with an awful lot of hacking by Jeffrey Mogul, DECWRL
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-llc.c,v 1.53 2003-05-28 12:53:00 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.54 2003-11-15 00:39:30 guy Exp $";
#endif
#include "llc.h" #include "llc.h"
#include "ethertype.h" #include "ethertype.h"

View File

@ -27,10 +27,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-lwres.c,v 1.10 2003-07-30 20:34:58 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -47,6 +43,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.11 2003-11-15 00:39:31 guy Exp $ (LBL)";
#endif
/* BIND9 lib/lwres/include/lwres */ /* BIND9 lib/lwres/include/lwres */
typedef u_int32_t lwres_uint32_t; typedef u_int32_t lwres_uint32_t;
typedef u_int16_t lwres_uint16_t; typedef u_int16_t lwres_uint16_t;

View File

@ -40,10 +40,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-mobile.c,v 1.12 2002-12-11 07:14:05 guy Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
@ -53,6 +49,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.13 2003-11-15 00:39:31 guy Exp $";
#endif
#define MOBILE_SIZE (8) #define MOBILE_SIZE (8)
struct mobile_ip { struct mobile_ip {

View File

@ -31,10 +31,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-mobility.c,v 1.9 2003-02-05 02:36:25 guy Exp $";
#endif
#ifdef INET6 #ifdef INET6
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
@ -47,6 +43,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.10 2003-11-15 00:39:31 guy Exp $";
#endif
/* Mobility header */ /* Mobility header */
struct ip6_mobility { struct ip6_mobility {
u_int8_t ip6m_pproto; /* following payload protocol (for PG) */ u_int8_t ip6m_pproto; /* following payload protocol (for PG) */

View File

@ -26,10 +26,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.8 2003-05-22 16:52:38 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -45,6 +41,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "extract.h" /* must come after 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.9 2003-11-15 00:39:32 guy Exp $ (LBL)";
#endif
#define LABEL_MASK 0xfffff000 #define LABEL_MASK 0xfffff000
#define LABEL_SHIFT 12 #define LABEL_SHIFT 12
#define EXP_MASK 0x00000e00 #define EXP_MASK 0x00000e00

View File

@ -15,10 +15,6 @@
* LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE. * FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-msdp.c,v 1.4 2002-09-05 00:00:16 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -33,6 +29,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-msdp.c,v 1.5 2003-11-15 00:39:32 guy Exp $";
#endif
#define MSDP_TYPE_MAX 7 #define MSDP_TYPE_MAX 7
void void

View File

@ -22,10 +22,6 @@
* Contributed by Brad Parker (brad@fcr.com). * Contributed by Brad Parker (brad@fcr.com).
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-netbios.c,v 1.18 2002-08-01 08:53:20 risso Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -42,6 +38,10 @@ static const char rcsid[] =
#include "netbios.h" #include "netbios.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-netbios.c,v 1.19 2003-11-15 00:39:33 guy Exp $";
#endif
/* /*
* Print NETBIOS packets. * Print NETBIOS packets.
*/ */

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.99 2002-12-12 07:57:50 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.100 2003-11-15 00:39:33 guy Exp $ (LBL)";
#endif
#include "nfs.h" #include "nfs.h"
#include "nfsfh.h" #include "nfsfh.h"

View File

@ -23,10 +23,6 @@
* loosely based on print-bootp.c * loosely based on print-bootp.c
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.37 2003-08-01 01:18:24 fenner Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -44,6 +40,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifdef MODEMASK #ifdef MODEMASK
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ntp.c,v 1.38 2003-11-15 00:39:33 guy Exp $ (LBL)";
#endif
#undef MODEMASK /* Solaris sucks */ #undef MODEMASK /* Solaris sucks */
#endif #endif
#include "ntp.h" #include "ntp.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.49 2003-05-22 16:52:38 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.50 2003-11-15 00:39:34 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
#ifdef INET6 #ifdef INET6
#include "ip6.h" #include "ip6.h"

View File

@ -21,10 +21,6 @@
* OSPF support contributed by Jeffrey Honig (jch@mitchell.cit.cornell.edu) * OSPF support contributed by Jeffrey Honig (jch@mitchell.cit.cornell.edu)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.45 2003-10-22 20:00:03 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -39,6 +35,10 @@ static const char rcsid[] =
#include "extract.h" #include "extract.h"
#include "gmpls.h" #include "gmpls.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.46 2003-11-15 00:39:34 guy Exp $ (LBL)";
#endif
#include "ospf.h" #include "ospf.h"
#include "ip.h" #include "ip.h"

View File

@ -21,10 +21,6 @@
* OSPF support contributed by Jeffrey Honig (jch@mitchell.cit.cornell.edu) * OSPF support contributed by Jeffrey Honig (jch@mitchell.cit.cornell.edu)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ospf6.c,v 1.11 2002-12-11 22:29:22 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -39,6 +35,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ospf6.c,v 1.12 2003-11-15 00:39:35 guy Exp $ (LBL)";
#endif
#include "ospf6.h" #include "ospf6.h"
struct bits { struct bits {

View File

@ -21,10 +21,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-pflog.c,v 1.7 2002-12-19 09:39:14 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-pflog.c,v 1.8 2003-11-15 00:39:35 guy Exp $ (LBL)";
#endif
/* The header in OpenBSD pflog files. */ /* The header in OpenBSD pflog files. */
struct pfloghdr { struct pfloghdr {

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.37 2003-10-29 02:07:57 itojun Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -57,6 +53,10 @@ struct pim {
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.38 2003-11-15 00:39:35 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
static void pimv2_print(register const u_char *bp, register u_int len); static void pimv2_print(register const u_char *bp, register u_int len);

View File

@ -29,10 +29,6 @@
* o BAP support * o BAP support
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.89 2003-10-20 08:26:49 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -55,6 +51,10 @@ static const char rcsid[] =
#include "chdlc.h" #include "chdlc.h"
#include "ethertype.h" #include "ethertype.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.90 2003-11-15 00:39:36 guy Exp $ (LBL)";
#endif
/* /*
* The following constatns are defined by IANA. Please refer to * The following constatns are defined by IANA. Please refer to
* http://www.isi.edu/in-notes/iana/assignments/ppp-numbers * http://www.isi.edu/in-notes/iana/assignments/ppp-numbers

View File

@ -21,10 +21,6 @@
* Original code by Greg Stark <gsstark@mit.edu> * Original code by Greg Stark <gsstark@mit.edu>
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-pppoe.c,v 1.24 2003-07-01 08:36:53 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -42,6 +38,10 @@ static const char rcsid[] =
#include "ether.h" #include "ether.h"
#include "extract.h" /* must come after interface.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.25 2003-11-15 00:39:36 guy Exp $ (LBL)";
#endif
/* Codes */ /* Codes */
enum { enum {
PPPOE_PADI = 0x09, PPPOE_PADI = 0x09,

View File

@ -22,10 +22,6 @@
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-pptp.c,v 1.9 2002-12-11 07:14:07 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -38,6 +34,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-pptp.c,v 1.10 2003-11-15 00:39:36 guy Exp $";
#endif
static char tstr[] = " [|pptp]"; static char tstr[] = " [|pptp]";
#ifndef TRUE #ifndef TRUE

View File

@ -42,10 +42,6 @@
* TODO: Among other things to print ok MacIntosh and Vendor values * TODO: Among other things to print ok MacIntosh and Vendor values
*/ */
#ifndef lint
static const char rcsid[] =
"$Id: print-radius.c,v 1.19 2002-12-11 07:14:07 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -61,6 +57,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"$Id: print-radius.c,v 1.20 2003-11-15 00:39:37 guy Exp $";
#endif
#define TAM_SIZE(x) (sizeof(x)/sizeof(x[0]) ) #define TAM_SIZE(x) (sizeof(x)/sizeof(x[0]) )
#define PRINT_HEX(bytes_len, ptr_data) \ #define PRINT_HEX(bytes_len, ptr_data) \

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-raw.c,v 1.39 2002-12-19 09:39:15 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "interface.h" #include "interface.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-raw.c,v 1.40 2003-11-15 00:39:37 guy Exp $ (LBL)";
#endif
/* /*
* The DLT_RAW packet has no header. It contains a raw IP packet. * The DLT_RAW packet has no header. It contains a raw IP packet.
*/ */

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-rip.c,v 1.55 2002-12-22 02:01:49 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.56 2003-11-15 00:39:37 guy Exp $ (LBL)";
#endif
struct rip { struct rip {
u_int8_t rip_cmd; /* request/response */ u_int8_t rip_cmd; /* request/response */
u_int8_t rip_vers; /* protocol version # */ u_int8_t rip_vers; /* protocol version # */

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.15 2002-12-11 22:29:22 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -54,6 +50,10 @@ IN6_ADDR_EQUAL(const struct in6_addr *a, const struct in6_addr *b)
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.16 2003-11-15 00:39:37 guy Exp $";
#endif
static int static int
rip6_entry_print(register const struct netinfo6 *ni, int metric) rip6_entry_print(register const struct netinfo6 *ni, int metric)
{ {

View File

@ -13,10 +13,6 @@
* Original code by Hannes Gredler (hannes@juniper.net) * Original code by Hannes Gredler (hannes@juniper.net)
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-rsvp.c,v 1.24 2003-10-22 11:43:04 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -34,6 +30,10 @@ static const char rcsid[] =
#include "ethertype.h" #include "ethertype.h"
#include "gmpls.h" #include "gmpls.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-rsvp.c,v 1.25 2003-11-15 00:39:38 guy Exp $";
#endif
/* /*
* RFC 2205 common header * RFC 2205 common header
* *

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.23 2003-02-05 02:36:26 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-rt6.c,v 1.24 2003-11-15 00:39:38 guy Exp $";
#endif
int int
rt6_print(register const u_char *bp, register const u_char *bp2) rt6_print(register const u_char *bp, register const u_char *bp2)
{ {

View File

@ -32,10 +32,6 @@
* Ken Hornstein <kenh@cmf.nrl.navy.mil> * Ken Hornstein <kenh@cmf.nrl.navy.mil>
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.35 2003-01-25 23:49:04 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -50,6 +46,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-rx.c,v 1.36 2003-11-15 00:39:38 guy Exp $";
#endif
#include "rx.h" #include "rx.h"
#include "ip.h" #include "ip.h"

View File

@ -33,10 +33,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.13 2003-08-06 05:02:13 guy Exp $ (NETLAB/PEL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -56,6 +52,10 @@ static const char rcsid[] =
#include "extract.h" /* must come after interface.h */ #include "extract.h" /* must come after interface.h */
#include "ip.h" #include "ip.h"
#ifdef INET6 #ifdef INET6
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.14 2003-11-15 00:39:39 guy Exp $ (NETLAB/PEL)";
#endif
#include "ip6.h" #include "ip6.h"
#endif #endif

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-sl.c,v 1.62 2002-12-19 09:39:15 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" /* must come after interface.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.63 2003-11-15 00:39:39 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
#include "tcp.h" #include "tcp.h"
#include "slip.h" #include "slip.h"

View File

@ -18,10 +18,6 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-sll.c,v 1.12 2002-12-19 09:39:16 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "ethertype.h" #include "ethertype.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-sll.c,v 1.13 2003-11-15 00:39:39 guy Exp $ (LBL)";
#endif
#include "ether.h" #include "ether.h"
#include "sll.h" #include "sll.h"

View File

@ -10,10 +10,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.27 2002-09-05 21:25:48 guy Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
@ -24,6 +20,10 @@ static const char rcsid[] =
#include "extract.h" #include "extract.h"
#include "smb.h" #include "smb.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.28 2003-11-15 00:39:40 guy Exp $";
#endif
static int request = 0; static int request = 0;
const u_char *startbuf = NULL; const u_char *startbuf = NULL;

View File

@ -56,10 +56,6 @@
# @(#)snmp.awk.x 1.1 (LANL) 1/15/90 # @(#)snmp.awk.x 1.1 (LANL) 1/15/90
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.56 2002-09-05 00:00:21 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -77,6 +73,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.57 2003-11-15 00:39:40 guy Exp $ (LBL)";
#endif
/* /*
* Universal ASN.1 types * Universal ASN.1 types
* (we only care about the tag values for those allowed in the Internet SMI) * (we only care about the tag values for those allowed in the Internet SMI)

View File

@ -9,10 +9,6 @@
* Contributed by Lennert Buytenhek <buytenh@gnu.org> * Contributed by Lennert Buytenhek <buytenh@gnu.org>
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-stp.c,v 1.11 2003-09-12 20:53:19 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -28,6 +24,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-stp.c,v 1.12 2003-11-15 00:39:41 guy Exp $";
#endif
static void static void
stp_print_bridge_id(const u_char *p) stp_print_bridge_id(const u_char *p)
{ {

View File

@ -29,10 +29,6 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-sunatm.c,v 1.5 2002-12-19 09:39:16 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -50,6 +46,10 @@ struct rtentry;
#include "extract.h" #include "extract.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-sunatm.c,v 1.6 2003-11-15 00:39:41 guy Exp $ (LBL)";
#endif
#include "atm.h" #include "atm.h"
#include "atmuni31.h" #include "atmuni31.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-sunrpc.c,v 1.43 2002-12-11 07:14:09 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -45,6 +41,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-sunrpc.c,v 1.44 2003-11-15 00:39:41 guy Exp $ (LBL)";
#endif
#include "ip.h" #include "ip.h"
#ifdef INET6 #ifdef INET6
#include "ip6.h" #include "ip6.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.107 2003-11-05 06:03:01 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -40,6 +36,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.108 2003-11-15 00:39:41 guy Exp $ (LBL)";
#endif
#include "tcp.h" #include "tcp.h"
#include "ip.h" #include "ip.h"

View File

@ -49,10 +49,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.21 2002-09-05 00:00:22 guy Exp $";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
@ -63,6 +59,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.22 2003-11-15 00:39:42 guy Exp $";
#endif
#define TELCMDS #define TELCMDS
#define TELOPTS #define TELOPTS
#include "telnet.h" #include "telnet.h"

View File

@ -21,10 +21,6 @@
* Format and print trivial file transfer protocol packets. * Format and print trivial file transfer protocol packets.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-tftp.c,v 1.35 2003-05-02 08:45:21 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -44,6 +40,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-tftp.c,v 1.36 2003-11-15 00:39:42 guy Exp $ (LBL)";
#endif
/* op code to string mapping */ /* op code to string mapping */
static struct tok op2str[] = { static struct tok op2str[] = {
{ RRQ, "RRQ" }, /* read request */ { RRQ, "RRQ" }, /* read request */

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-timed.c,v 1.7 2002-12-11 07:14:10 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -37,6 +33,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "extract.h" #include "extract.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-timed.c,v 1.8 2003-11-15 00:39:42 guy Exp $";
#endif
static const char *tsptype[TSPTYPENUMBER] = static const char *tsptype[TSPTYPENUMBER] =
{ "ANY", "ADJTIME", "ACK", "MASTERREQ", "MASTERACK", "SETTIME", "MASTERUP", { "ANY", "ADJTIME", "ACK", "MASTERREQ", "MASTERACK", "SETTIME", "MASTERUP",
"SLAVEUP", "ELECTION", "ACCEPT", "REFUSE", "CONFLICT", "RESOLVE", "QUIT", "SLAVEUP", "ELECTION", "ACCEPT", "REFUSE", "CONFLICT", "RESOLVE", "QUIT",

View File

@ -23,10 +23,6 @@
* Further tweaked to more closely resemble print-fddi.c * Further tweaked to more closely resemble print-fddi.c
* Guy Harris <guy@alum.mit.edu> * Guy Harris <guy@alum.mit.edu>
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-token.c,v 1.22 2002-12-19 09:39:16 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -42,6 +38,10 @@ static const char rcsid[] =
#include "addrtoname.h" #include "addrtoname.h"
#include "ethertype.h" #include "ethertype.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-token.c,v 1.23 2003-11-15 00:39:42 guy Exp $";
#endif
#include "ether.h" #include "ether.h"
#include "token.h" #include "token.h"

View File

@ -19,10 +19,6 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/ */
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.124 2003-11-05 06:03:01 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
@ -45,6 +41,10 @@ static const char rcsid[] =
#include "extract.h" #include "extract.h"
#include "appletalk.h" #include "appletalk.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.125 2003-11-15 00:39:43 guy Exp $ (LBL)";
#endif
#include "udp.h" #include "udp.h"
#include "ip.h" #include "ip.h"

View File

@ -23,10 +23,6 @@
#include "config.h" #include "config.h"
#endif #endif
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/tcpdump/print-vjc.c,v 1.11 2002-09-05 21:25:51 guy Exp $ (LBL)";
#endif
#include <tcpdump-stdinc.h> #include <tcpdump-stdinc.h>
@ -36,6 +32,10 @@ static const char rcsid[] =
#include "interface.h" #include "interface.h"
#include "addrtoname.h" #include "addrtoname.h"
#ifndef lint
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/tcpdump/print-vjc.c,v 1.12 2003-11-15 00:39:43 guy Exp $ (LBL)";
#endif
#include "slcompress.h" #include "slcompress.h"
#include "ppp.h" #include "ppp.h"

Some files were not shown because too many files have changed in this diff Show More