Missing URB_FUNCTION_ABORT_PIPE packets?

32 views
Skip to first unread message

Ilnur Iskh

unread,
Dec 11, 2018, 2:07:39 PM12/11/18
to USBPcap
Hi guys.
While looking at code in USBPcapURB.c I noticed that large switch in USBPcapAnalyzeURB func lacks URB_FUNCTION_ABORT_PIPE and URB_FUNCTION_RESET_PIPE checks.
Does it mean USBPcap cannot capture this kind of requests?

Tomasz Moń

unread,
Jun 21, 2019, 2:34:38 AM6/21/19
to USBPcap
On Tue, Dec 11, 2018 at 8:07 PM Ilnur Iskh <ilnur.i...@gmail.com> wrote:
> While looking at code in USBPcapURB.c I noticed that large switch in USBPcapAnalyzeURB func lacks URB_FUNCTION_ABORT_PIPE and URB_FUNCTION_RESET_PIPE checks.
> Does it mean USBPcap cannot capture this kind of requests?

They were not captured at all in old USBPcap versions before 1.4.0.0.
In USBPcap 1.4.0.0 - 1.4.1.0, these are captured as
USBPCAP_TRANSFER_UNKNOWN (no endpoint information available).
In USBPcap 1.5.0.0 these are captured as USBPCAP_TRANSFER_IRP_INFO
(proper endpoint in USBPcap pseudoheader).
Reply all
Reply to author
Forward
0 new messages