Re: [Wireshark-dev] 16 byte integer decoding

2021-03-22 Thread Constantine Gavrilov
:25 PM Subject:[EXTERNAL] Re: [Wireshark-dev] 16 byte integer decoding Sent by:"Wireshark-dev" On Mar 22, 2021, at 11:35 AM, Constantine Gavrilov wrote: > There are two repeated patterns for this: > > 1. For capacity (bytes, blocks, etc.). > 2. For

Re: [Wireshark-dev] 16 byte integer decoding

2021-03-22 Thread Guy Harris
On Mar 22, 2021, at 11:35 AM, Constantine Gavrilov wrote: > There are two repeated patterns for this: > > 1. For capacity (bytes, blocks, etc.). > 2. For units (how many times). > > So, I am thinking about two formats: > 1. For bytes. > 2. For units. > > The implementation would get high and l

[Wireshark-dev] 16 byte integer decoding

2021-03-22 Thread Constantine Gavrilov
During my work of NVME dissector, I have encountered many repeated patterns of 16-byte integers. I would like to add a 16-byte integer format, to avoid decoding these many fields with custom functions. Has it been considered before? Will such change be accepted or it is utterly opposed on som