ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 3548] Cleanup header_field_info definitions

Date: Tue, 7 Jul 2009 11:09:06 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548


Kovarththanan Rajaratnam <kovarththanan.rajaratnam@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3285|                            |review_for_checkin?
               Flag|                            |




--- Comment #75 from Kovarththanan Rajaratnam <kovarththanan.rajaratnam@xxxxxxxxx>  2009-07-07 11:09:05 PDT ---
Created an attachment (id=3285)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=3285)
Enforce new constraints

Depends on: Attachment #3282, #3283, ##3284

This patch completes the header field info cleanup we've been doing by
enforcing the new constraints when a protocol is registered. Turning this on
will undoubtedly break out-of-tree plugins which will need to be updated. The
README.developer has already been updated to reflect these new constraints and
states the following:

"Some constraints are imposed on the header fields depending on the type
(e.g. FT_BYTES) of the field. Non integral types (e.g. types that are _not_
FT_INT* and FT_UINT*) must use 'BASE_NONE', NULL, 0x0' as values for the
'display', 'strings', 'bitmask' fields. The reason is simply that the type
itself implictly defines the nature of 'display', 'strings', 'bitmask'."


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.