Ethereal

Re: [ethereal-dev] NFS dissector continued
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: November 1999


> * How should I print times of files? NFS v2 uses a microsecond resolution and
> NFS v3 a nanosecond one. I would prefer a generic time print routine.

We currently have a field type FT_ABSOLUTE_TIME; however, it expects the
data to be a "struct timeval", which has only microsecond resolution.

I'd be inclined to have it use an internal-to-Ethereal structure with
nanosecond resolution, and have callers that want to record
microsecond-resolution time do the multiplication by 1000 themselves. 
(That could also be used for other time stamps, with the disadvantage
that it won't offer the ability to look at the individual components of
the time stamp, and the advantage that we could support filtering on
those time stamps.)


Powered by MHonArc 2.6.10