Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Standard defined field names in Wireshark dissectors

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Sun, 5 Jan 2020 15:53:13 +0000


On Sun, 5 Jan 2020 at 15:42, Tomasz Moń <desowin@xxxxxxxxx> wrote:
Hello,

I have noticed that some USB dissectors do follow the field names as
defined in USB specification (e.g. standard descriptors), while others
don't (e.g. USB Audio class descriptors).

Is it generally preferred that Wireshark follows names from the
specification (e.g. bTerminalID) instead of coming up with our own
(e.g. Terminal ID)? Should we unify the fields so all descriptor
fields always use the display names from the respective specification?

Best Regards,
Tomasz Moń

While I think it is helpful to try to follow specification names, sometimes they are too awkward.

However, I'm cautious about renaming fields "just because" as this will likely break any scripts\workflows folks have that rely on the current field names.
 
--
Graham Bloice