aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ntp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-07 01:47:37 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-07 01:47:37 +0000
commitdfe798b7a95cce98e6cd10a83a4c001b99584e33 (patch)
tree3f9e8eba57ac20193440598622d0fe9290fc8d07 /packet-ntp.h
parentc6a320d2532ae5e4bc01cd5ee4b097c1e9ee39c1 (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. svn path=/trunk/; revision=2841
Diffstat (limited to 'packet-ntp.h')
-rw-r--r--packet-ntp.h28
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