summaryrefslogtreecommitdiff
path: root/addrtoname.h
diff options
context:
space:
mode:
authoritojun <itojun>2001-06-18 09:12:27 +0000
committeritojun <itojun>2001-06-18 09:12:27 +0000
commitae68164cc68a352ca4ba7323dd6b3bf547bf5ab5 (patch)
treed9ab22eecde669dc0e16bfe9e863930a467d2252 /addrtoname.h
parent159600ced534d3e8f6f9b3bec9ee19d96f0dff32 (diff)
downloadtcpdump-ae68164cc68a352ca4ba7323dd6b3bf547bf5ab5.tar.gz
make arp_print() L2 neutral. from netbsd
TODO: recover portions that peep L2 src/dst, by passing more args from L2 printing to arp_print(). the current code can bomb when L2 = arcnet (because the code assumes that L2 address len == 6), for example.
Diffstat (limited to 'addrtoname.h')
-rw-r--r--addrtoname.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/addrtoname.h b/addrtoname.h
index 33fc07fc..6c170126 100644
--- a/addrtoname.h
+++ b/addrtoname.h
@@ -18,11 +18,12 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/tcpdump/addrtoname.h,v 1.16 1999-10-30 05:11:07 itojun Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/addrtoname.h,v 1.17 2001-06-18 09:12:28 itojun Exp $ (LBL)
*/
/* Name to address translation routines. */
+extern char *linkaddr_string(const u_char *, const int);
extern char *etheraddr_string(const u_char *);
extern char *etherproto_string(u_short);
extern char *tcpport_string(u_short);