* [Qemu-devel] Dumping USB packets
@ 2013-06-27 13:06 Jordan Bouyat
0 siblings, 0 replies; only message in thread
From: Jordan Bouyat @ 2013-06-27 13:06 UTC (permalink / raw)
To: qemu-devel
Hi !
I recently grab a dummy usb
driver(https://github.com/pkt/qemu-dummyusb/commit/c5f61398dcebc9831f4ca409553ae85b438f27a2)
and modified it to behave like an HID mouse with the help of
(hw/usb/dev-hid.c).
It works, but my goal is to dump the whole USB packet in order to modify
it or replaying it.
I spend some hours to search in the source code, but the only data I
succeeded to dump are the content data of the USB packet in the
usb_dummy_handle_data() with the uint8_t buf[p->iov.size] variable.
I also search in the USBPacket strucure (include/hw/usb.h) with the
attribute data-buf[4096], but didn't succeed.
Could someone help me ?
Regards,
lafouine.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-27 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 13:06 [Qemu-devel] Dumping USB packets Jordan Bouyat
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.