Wireshark mailing list archives
Re: Filtering USB HID fields
From: Tomasz Moń <desowin () gmail com>
Date: Tue, 5 Oct 2021 13:36:56 +0200
On Wed, Sep 29, 2021 at 2:13 PM João Valverde via Wireshark-dev <wireshark-dev () wireshark org> wrote:
A completely different approach would be to have generic hf and make the filter value somehow encode usage page, id and value (if any).How about having an fvalue type FVALUE_USB_HID and a display filter function that also returns FVALUE_USB_HID given some input parameters, like page and id, or whatever else??
I thought about FT_USB_HID, but I don't quite see how to initialize it. Currently all ftypes require only actual data (tvb, offset, length and encoding) but in this case the dissector would have to provide the HID page and id in addition to the actual data. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Filtering USB HID fields Tomasz Moń (Oct 05)