wireshark/epan/dissectors/asn1/lpp
Tomasz Moń 7b82110092 USB HID: Parse bit fields with correct bit order
Implement little endian support for tvb_get_bits family of functions.
The big/little endian refers to bit numbering within an octet. In big
endian, the most significant bit is considered bit 0, while in little
endian the least significant bit is considered bit 0.

Add encoding parameters to proto tree bits format family functions.
Specify ENC_BIG_ENDIAN in all dissectors using these functions except in
USB HID that requires ENC_LITTLE_ENDIAN to work correctly.

When formatting bits values, always display most significant bit on the
leftmost position regardless of the encoding. This results in no gaps
between octets and makes the displayed value comprehensible.

Close #4478
Fix #17014
2021-09-26 18:16:28 +02:00
..
CMakeLists.txt LPP: upgrade dissector to v16.3.0 2021-01-07 11:48:43 +00:00
LPP-Broadcast-Definitions.asn LPP: upgrade dissector to v16.5.0 2021-07-07 18:09:24 +00:00
LPP-PDU-Definitions.asn LPP: upgrade dissector to v16.5.0 2021-07-07 18:09:24 +00:00
lpp.cnf USB HID: Parse bit fields with correct bit order 2021-09-26 18:16:28 +02:00
packet-lpp-template.c LPP: upgrade dissector to v16.5.0 2021-07-07 18:09:24 +00:00
packet-lpp-template.h LPP: upgrade dissector to v16.3.0 2021-01-07 11:48:43 +00:00