]> The Tcpdump Group git mirrors - tcpdump/commitdiff
expose the BUFSIZE def to the outside world
authorhannes <hannes>
Wed, 8 Aug 2007 14:06:34 +0000 (14:06 +0000)
committerhannes <hannes>
Wed, 8 Aug 2007 14:06:34 +0000 (14:06 +0000)
addrtoname.c
addrtoname.h

index ecb9f49fb4d5b713f0d1a4bf67fec5f3474b14bb..e67d1148c9425e9a39cbf1337d189224696d2d7e 100644 (file)
@@ -23,7 +23,7 @@
  */
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.118 2006-05-12 02:14:55 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.119 2007-08-08 14:06:34 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -79,7 +79,6 @@ extern int ether_ntohost(char *, const struct ether_addr *);
  */
 
 #define HASHNAMESIZE 4096
-#define BUFSIZE 128
 
 struct hnamemem {
        u_int32_t addr;
index 2f39f748353137bbbd7ea80ecee3a89b5584de95..1df204a941f483bae06960e6056e7c5f631c87db 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/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);