Wireshark mailing list archives

Re: Indicate [Generated] field on Display Filter Reference page


From: Guy Harris <gharris () sonic net>
Date: Sat, 14 Nov 2020 13:12:56 -0800

On Nov 14, 2020, at 12:28 PM, chuck c <bubbasnmp () gmail com> wrote:

Is the code behind various web pages (dfref, OUI lookup, string-cf, ...) in Gitlab?

Before opening an issue, I thought I would look at how dfref is generated.
Would be nice to mark/flag fields as being Wireshark generated but maybe not easily done.

A given field could be both generated and not generated - some instances could come from a packet's contents and others 
could be calculated from other information.

I.e., "generated" is a property of an instance of a field, not of a field; that's why the code sample you showed has a 
separate call to proto_item_set_generated().

That may not be the case for *all* fields that have generated instances, but there might be some fields that have both 
generated and non-generated instances.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: