Ethereal-dev: Re: [Ethereal-dev] nstime_t structure

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 18 Aug 2004 11:32:21 -0700
achraf.laamarti@xxxxxxxxxxxx wrote:

Could someone tell me how many bytes does a nstime_t element contain?

The sum of:

the number of bytes in a time_t (which depends on the OS on which you're running, and, for some OSes, might depend whether you're building for a 32-bit or 64-bit environment);

	the number of bytes in an "int";

the number of bytes of padding that the compiler you're using happens to insert, if any.

Where could i have the details of this structure?

It represents times as seconds and nanoseconds.

In which module?

epan/nstime.h