summaryrefslogtreecommitdiff
path: root/addrtoname.h
diff options
context:
space:
mode:
authorhannes <hannes>2007-08-08 14:06:34 +0000
committerhannes <hannes>2007-08-08 14:06:34 +0000
commitc15c709252eece78e093fb1c53637ab8a7fad6b9 (patch)
tree009060d410ce35670c991a5086bb8eaa2458419e /addrtoname.h
parentbbb40509692dc2dc06665c909ee6cb1327a40e79 (diff)
downloadtcpdump-c15c709252eece78e093fb1c53637ab8a7fad6b9.tar.gz
expose the BUFSIZE def to the outside world
Diffstat (limited to 'addrtoname.h')
-rw-r--r--addrtoname.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/addrtoname.h b/addrtoname.h
index 2f39f748..1df204a9 100644
--- a/addrtoname.h
+++ b/addrtoname.h
@@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/tcpdump/addrtoname.h,v 1.19 2006-02-11 22:11:40 hannes Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/addrtoname.h,v 1.20 2007-08-08 14:06:34 hannes Exp $ (LBL)
*/
/* Name to address translation routines. */
@@ -30,6 +30,8 @@ enum {
LINKADDR_ATM
};
+#define BUFSIZE 128
+
extern const char *linkaddr_string(const u_char *, const unsigned int, const unsigned int);
extern const char *etheraddr_string(const u_char *);
extern const char *etherproto_string(u_short);