diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-07 01:47:37 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-07 01:47:37 +0000 |
commit | 70240076d3c90a1d8d8a71f89ab736fddb1ca9e3 (patch) | |
tree | 3f9e8eba57ac20193440598622d0fe9290fc8d07 /packet-ntp.h | |
parent | 6b90181e17e83992e53c687775e8e7231c7bc653 (diff) |
Make the three subfields of the "flags" field real bitfields, and let
the protocol tree code do the work of constructing the display for them,
rather than doing it by hand.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2841 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ntp.h')
-rw-r--r-- | packet-ntp.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/packet-ntp.h b/packet-ntp.h index 20eb8320d6..50a9b125b1 100644 --- a/packet-ntp.h +++ b/packet-ntp.h @@ -1,7 +1,7 @@ /* packet-ntp.h * Definitions for packet disassembly structures and routines * - * $Id: packet-ntp.h,v 1.5 2001/01/06 09:42:10 guy Exp $ + * $Id: packet-ntp.h,v 1.6 2001/01/07 01:47:37 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -29,32 +29,6 @@ #ifndef PACKET_NTP_H #define PACKET_NTP_H -#define NTP_LI_MASK 192 -#define NTP_LI_NONE 0 -#define NTP_LI_61 64 -#define NTP_LI_59 128 -#define NTP_LI_ALARM 192 - -#define NTP_VN_MASK 56 -#define NTP_VN_R0 0 -#define NTP_VN_R1 8 -#define NTP_VN_R2 16 -#define NTP_VN_3 24 -#define NTP_VN_4 32 -#define NTP_VN_R5 40 -#define NTP_VN_R6 48 -#define NTP_VN_R7 56 - -#define NTP_MODE_MASK 7 -#define NTP_MODE_RSV 0 -#define NTP_MODE_SYMACT 1 -#define NTP_MODE_SYMPAS 2 -#define NTP_MODE_CLIENT 3 -#define NTP_MODE_SERVER 4 -#define NTP_MODE_BCAST 5 -#define NTP_MODE_CTRL 6 -#define NTP_MODE_PRIV 7 - /* NTP_BASETIME is infact epoch - ntp_start_time */ #define NTP_BASETIME 2208988800ul #define NTP_TS_SIZE 100 |