> What I think would be very useful would be if the usb-developers could
> allocate a new libpcap frame type for USB packets.
> And then provide an API in the usb subsystem so that libpcap could
> sniff data in the same way as libpcap today can sniff packets from
> various types of NICs and WANlinks.

Someone did a prototype of that as a Master's degree project
last year, as I recall. GUI (in Java) and all.  I agree that a having a
more formal interface for that would be a good thing.  (I think the
link to that project has since succumbed to bitrot.)

You'll notice that the "hcd" framework identifies a few strategically
located spots where a "generic device/urb monitoring hook" would
go.  Check out "hcd.c" for hcd_monitor_hook, to see those spots.

It'll be a lot easier to provide such hooks if it doesn't require changes
to every HCD.  Luckily we're part way there in the 2.5 series ... the
main missing link is a UHCI driver that offloads more work to that
shared code.

- Dave



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to