diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-09-14 11:50:59 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-09-14 11:50:59 +0000 |
commit | 65a619fb193a75f0e9beeb31e45152746f2d0a3f (patch) | |
tree | 463df3f9b04ff322ac3b2a74f041e61368a8b126 /packet-null.c | |
parent | ca78ae622c2be3962c42bd2b721c328de9cefccb (diff) | |
download | wireshark-65a619fb193a75f0e9beeb31e45152746f2d0a3f.tar.gz wireshark-65a619fb193a75f0e9beeb31e45152746f2d0a3f.tar.bz2 wireshark-65a619fb193a75f0e9beeb31e45152746f2d0a3f.zip |
Move BSWAP32 definition from packet-null.c to pint.h. Add more
macros (from wiretap) to pint.h
svn path=/trunk/; revision=2435
Diffstat (limited to 'packet-null.c')
-rw-r--r-- | packet-null.c | 9 |
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 |