aboutsummaryrefslogtreecommitdiffstats
path: root/packet-null.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2000-09-14 11:50:59 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2000-09-14 11:50:59 +0000
commit7dc93499eb6ccd1177601ed892f22216fbdcb9ee (patch)
tree463df3f9b04ff322ac3b2a74f041e61368a8b126 /packet-null.c
parent17f526a5f4bac2847f59c43dbc05db31d32591fb (diff)
Move BSWAP32 definition from packet-null.c to pint.h. Add more
macros (from wiretap) to pint.h git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2435 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-null.c')
-rw-r--r--packet-null.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/packet-null.c b/packet-null.c
index 9b23a930b7..05401c9ac3 100644
--- a/packet-null.c
+++ b/packet-null.c
@@ -1,7 +1,7 @@
/* packet-null.c
* Routines for null packet disassembly
*
- * $Id: packet-null.c,v 1.27 2000/08/13 14:08:36 deniel Exp $
+ * $Id: packet-null.c,v 1.28 2000/09/14 11:50:58 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -59,13 +59,6 @@ static gint ett_null = -1;
/* Null/loopback structs and definitions */
-/* Macro to byte-swap 32-bit quantities. */
-#define BSWAP32(x) \
- ((((x)&0xFF000000)>>24) | \
- (((x)&0x00FF0000)>>8) | \
- (((x)&0x0000FF00)<<8) | \
- (((x)&0x000000FF)<<24))
-
/* BSD AF_ values. */
#define BSD_AF_INET 2
#define BSD_AF_ISO 7