]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Declare the non-GCCized 64-bit big-endian extraction macro as
authorguy <guy>
Sat, 15 Jan 2005 02:06:50 +0000 (02:06 +0000)
committerguy <guy>
Sat, 15 Jan 2005 02:06:50 +0000 (02:06 +0000)
EXTRACT_64BITS(), not EXTRACT_LE_64BITS() - thanks to Rick Jones for
finding that one.

extract.h

index e06c289c2a93cf2ec4cf3d67daf00161708128be..f0479638b4f14d5cbf66222e3e15a5afe3ff443d 100644 (file)
--- a/extract.h
+++ b/extract.h
@@ -18,7 +18,7 @@
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/extract.h,v 1.23 2004-09-25 07:41:44 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/extract.h,v 1.24 2005-01-15 02:06:50 guy Exp $ (LBL)
  */
 
 /*
@@ -73,7 +73,7 @@ typedef struct {
                     (u_int32_t)*((const u_int8_t *)(p) + 1) << 16 | \
                     (u_int32_t)*((const u_int8_t *)(p) + 2) << 8 | \
                     (u_int32_t)*((const u_int8_t *)(p) + 3)))
-#define EXTRACT_LE_64BITS(p) \
+#define EXTRACT_64BITS(p) \
        ((u_int64_t)((u_int64_t)*((const u_int8_t *)(p) + 0) << 56 | \
                     (u_int64_t)*((const u_int8_t *)(p) + 1) << 48 | \
                     (u_int64_t)*((const u_int8_t *)(p) + 2) << 40 | \