Wireshark mailing list archives

Re: Running a function only on first run


From: Anders Broman <anders.broman () ericsson com>
Date: Wed, 7 Apr 2010 15:26:40 +0200

Hi,
Sorry
XXX:~/wireshark> grep -r PINFO_FD_VISITED *
epan/frame_data.h:#define PINFO_FD_VISITED(pinfo)   ((pinfo)->fd->flags.visited)

________________________________________
From: wireshark-dev-bounces () wireshark org [wireshark-dev-bounces () wireshark org] On Behalf Of Anders Broman 
[anders.broman () ericsson com]
Sent: Wednesday, April 07, 2010 3:24 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Running a function only on first run

Hi,
I don't think there is one...
/Anders
________________________________________
From: wireshark-dev-bounces () wireshark org [wireshark-dev-bounces () wireshark org] On Behalf Of Jeremy O'Brien 
[obrien654j () gmail com]
Sent: Wednesday, April 07, 2010 3:15 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Running a function only on first run

This is the file I found that contains the definition I need, but I
still do not see the PINFO_FD_VISITED macro you specified...

On Tue, Apr 6, 2010 at 16:36, Maynard, Chris
<Christopher.Maynard () gtech com> wrote:
epan/frame_data.h.
- Chris

-----Original Message-----
From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Jeremy 
O'Brien
Sent: Tuesday, April 06, 2010 1:43 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Running a function only on first run

On Tue, Apr 6, 2010 at 12:58, Graham Bloice <graham.bloice () trihedral com> wrote:
Try PINFO_FD_VISITED(pinfo) on the pinfo you have.  Visited gets set after
the first pass.

I cannot find this macro. Where is it defined? It would be very nice
to have since pinfo->fd->flags.visited is kind of cumbersome.

CONFIDENTIALITY NOTICE: The contents of this email are confidential
and for the exclusive use of the intended recipient. If you receive this
email in error, please delete it from your system immediately and
notify us either by email, telephone or fax. You should not copy,
forward, or otherwise disclose the content of the email.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: