Wireshark mailing list archives
Re: Remove hf_ variables
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Wed, 07 Aug 2013 09:57:36 -0400
On 07/29/13 16:12, Jakub Zawadzki wrote:
Hi, Is anyone attached to hf_ variables? ;) There's no real need of them, and we can just replace them with header_field_info structure.
Just for completeness one should mention that replacing the hf_ variables with pointers means that each proto_tree_add_xxx() call will be pushing 8 bytes (in what is hopefully by now the common case ;-)) instead of 4 bytes onto the stack. I suppose that wouldn't really make a difference but I thought I'd mention it...
___________________________________________________________________________ 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:
- Re: Remove hf_ variables Bálint Réczey (Aug 06)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 06)
- <Possible follow-ups>
- Re: Remove hf_ variables Guy Harris (Aug 06)
- Re: Remove hf_ variables Jeff Morriss (Aug 07)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 07)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 07)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 09)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 13)
- Re: Remove hf_ variables Graham Bloice (Aug 14)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 14)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 16)
- Re: Remove hf_ variables Jakub Zawadzki (Aug 09)