Ethereal-dev: Re: [Ethereal-dev] Time codes for text2pcap?

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

From: "Gordon McKinney" <gordon@xxxxxxxxxxxxx>
Date: Mon, 19 Nov 2001 22:51:08 -0000
Okay, I will look into doing a time based implementation (using strptime).
Should have it done this week or next at the outside.

Since I don't know how to generate a patch file (probably time to learn) I
will send the baseline and variant as two files to the group. I hope this
will suffice.

Thanks for your advise.

--
Gordon McKinney
http://www.night-ray.com
Mobile +44 (0)7770-957 627

----- Original Message -----
From: "Guy Harris" <gharris@xxxxxxxxx>
To: "Gordon McKinney" <gordon@xxxxxxxxxxxxx>
Cc: "Guy Harris" <gharris@xxxxxxxxx>; <ethereal-dev@xxxxxxxxxxxx>
Sent: Monday, November 19, 2001 7:26 AM
Subject: Re: [Ethereal-dev] Time codes for text2pcap?


> On Mon, Nov 19, 2001 at 03:40:06AM -0000, Gordon McKinney wrote:
> > I understand those constraints, the other possibility is you ignore the
date
> > stamp totally as most traces only need the deltas for anaylsis. A
directive
> > would probably be better i.e.
> >
> >  -t 0     = No Date (Default)
> >  -t 1     = Ansi (yyyy-mm-dd)
> >  -t 2     = US (mm-dd-yyyy)
> >  -t 3     = UK (dd-mm-yyyy)
>
> Another possibility might be to use "strptime()"-style formats for the
> day, month, year, hour, minute, and second, with the format string
> specified as an argument to "-t".  (Then you'd use "strptime()" to
> extract the year/month/day/hour/minute/second, and then extract the
> fractions of a second from what's left after "strptime()" processed it.)
>
> > In anycase would it be something I should undertake or is there an owner
of
> > this module?
>
> There is somebody who wrote "text2pcap", but he's not the "owner" in the
> sense of being the only person writing code for it
>