tcpdump mailing list archives

Re: Monotonic clock timestamp on packets


From: Thomas Habets <thomas () habets pp se>
Date: Tue, 4 May 2010 13:06:41 +0200 (CEST)

On Tue, 4 May 2010, Prasanna Kumar Nelam wrote:
If u want to that time the pkthdr u have the timestructure have the time in
seconds and microseconds.

In wall clock time, yes. The problem is that this breaks when the time is changed, using NTP or by some other means. You can even end up with a negative time delta.

---------
typedef struct me_s {
  char name[]      = { "Thomas Habets" };
  char email[]     = { "thomas () habets pp se" };
  char kernel[]    = { "Linux" };
  char *pgpKey[]   = { "http://www.habets.pp.se/pubkey.txt"; };
  char pgp[] = { "A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854" };
  char coolcmd[]   = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: