Wireshark-users: Re: [Wireshark-users] How to pass file info along with a packet
From: "Peter Moore" <pmoore@xxxxxxxxxxxxxxxxx>
Date: Tue, 4 Dec 2007 17:19:39 -0500
I am setting the information for both read and seek-and-read.  Hmmm, now
that I'm looking at it though, I'm setting it in the wth pointer, and
not in pseudo_header.  That must be it.

Yeah, definitely a dev topic.  Didn't realize there was a dev mailing
list.  I'll use that next time.

Thanks for the assist!



-----Original Message-----
From: wireshark-users-bounces@xxxxxxxxxxxxx
[mailto:wireshark-users-bounces@xxxxxxxxxxxxx] On Behalf Of Guy Harris
Sent: Monday, December 03, 2007 3:57 PM
To: Community support list for Wireshark
Subject: Re: [Wireshark-users] How to pass file info along with a packet

Peter Moore wrote:
> I'd like to pass some information about a file along with a packet.  I

> am currently using a pseudo header to do so.  This works ok during the

> sequential read through the file, but doesn't with seek and read.

It does if you return the pseudo-header in the seek-and-read routine, 
which you're supposed to do; the seek_read routines in Wireshark take a 
"union wtap_pseudo_header *" as one of the arguments.

This is, by the way, more of a wireshark-dev topic than a 
wireshark-users topic.
_______________________________________________
Wireshark-users mailing list
Wireshark-users@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-users