aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-05-31 05:51:15 +0000
committerGuy Harris <guy@alum.mit.edu>2007-05-31 05:51:15 +0000
commitef511c0bbc2dacf9b5491708f64632c55387a28e (patch)
tree19d5b5a0316aa1ccf8368d2a6f2f9f2466c7923b /wiretap
parentaa3ac312b24c21cb731b830e2ccd97b6d55f13be (diff)
Note realtick's invalidity for ETH_CAPTYPE_OTHERPOD in the comment for
TpS_otherpod[]. Ask about its validity for ETH_CAPTYPE_OTHERPOD2 and ETH_CAPTYPE_GIGPOD2. svn path=/trunk/; revision=22016
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/netxray.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiretap/netxray.c b/wiretap/netxray.c
index e8d20cf7f7..ec8e1e3278 100644
--- a/wiretap/netxray.c
+++ b/wiretap/netxray.c
@@ -224,18 +224,22 @@ static double TpS_gigpod[] = { 1e9, 0.0, 31250000.0 };
/*
* Table of time units for Ethernet captures with captype ETH_CAPTYPE_OTHERPOD.
+ * (Based upon captures reviewed realtick does not contain the
+ * correct TpS values for 'otherpod' or 'gigpod' captypes).
*/
static double TpS_otherpod[] = { 1e6, 0.0, 1250000.0 };
#define NUM_NETXRAY_TIMEUNITS_OTHERPOD (sizeof TpS_otherpod / sizeof TpS_otherpod[0])
/*
* Table of time units for Ethernet captures with captype ETH_CAPTYPE_OTHERPOD2.
+ * XXX - does realtick contain the correct TpS values for any of these captypes?)
*/
static double TpS_otherpod2[] = { 1e6, 0.0, 0.0 };
#define NUM_NETXRAY_TIMEUNITS_OTHERPOD2 (sizeof TpS_otherpod2 / sizeof TpS_otherpod2[0])
/*
* Table of time units for Ethernet captures with captype ETH_CAPTYPE_GIGPOD2.
+ * XXX - does realtick contain the correct TpS values for any of these captypes?)
*/
static double TpS_gigpod2[] = { 1e9, 0.0, 20000000.0 };
#define NUM_NETXRAY_TIMEUNITS_GIGPOD2 (sizeof TpS_gigpod2 / sizeof TpS_gigpod2[0])