Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/tcpdump pull up rev 1.10 from trunk (requested...



details:   https://anonhg.NetBSD.org/src/rev/60800f1c08c6
branches:  netbsd-1-4
changeset: 469570:60800f1c08c6
user:      cgd <cgd%NetBSD.org@localhost>
date:      Mon Oct 11 05:38:53 1999 +0000

description:
pull up rev 1.10 from trunk (requested by sjg):
  Add telnet option printing and hex/ascii dumps to tcpdump.

diffstat:

 usr.sbin/tcpdump/interface.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r d1b6365106a5 -r 60800f1c08c6 usr.sbin/tcpdump/interface.h
--- a/usr.sbin/tcpdump/interface.h      Mon Oct 11 05:38:49 1999 +0000
+++ b/usr.sbin/tcpdump/interface.h      Mon Oct 11 05:38:53 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interface.h,v 1.7 1999/03/23 00:02:24 bad Exp $        */
+/*     $NetBSD: interface.h,v 1.7.2.1 1999/10/11 05:38:53 cgd Exp $    */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -47,6 +47,7 @@
 extern int tflag;              /* print packet arrival time */
 extern int vflag;              /* verbose */
 extern int xflag;              /* print packet in hex */
+extern int Xflag;              /* print packet in hex/ascii */
 
 extern int packettype;         /* as specified by -T */
 #define PT_VAT         1       /* Visual Audio Tool */
@@ -192,6 +193,11 @@
 struct p8022Hdr;
 #endif
 
+extern void ascii_print_with_offset(const u_char *, u_int, u_int);    
+extern void ascii_print(const u_char *, u_int);    
+extern void hex_print_with_offset(const u_char *, u_int, u_int);    
+extern void hex_print(const u_char *, u_int);    
+extern void telnet_print(const u_char *, u_int);    
 extern int ether_encap_print(u_short, const u_char *, u_int, u_int);
 extern int llc_print(const u_char *, u_int, u_int, const u_char *,
        const u_char *);



Home | Main Index | Thread Index | Old Index