History log of /freebsd-9.3-release/usr.sbin/usbdump/usbdump.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 267053 04-Jun-2014 hselasky

MFC r266798 and r266803:
Fix for big-endian architectures.

Approved by: re, marius @


# 261222 28-Jan-2014 hselasky

MFC r260978:
Add check for "hw.usb.no_pf" sysctl value.


# 235003 04-May-2012 hselasky

MFC r234636 and r234655:
Improve support for USB packet filtering also when reading dumps, and
allow filtered data to be dumped to a binary file.

Add missing and probably also mandatory -h option.


# 233315 22-Mar-2012 hselasky

MFC r233037 and r233039:
Fix cross-platform issue about the file-format in which
usbdump stores data.


# 232035 23-Feb-2012 hselasky

MFC r231835:
Add support for filtering USB traces using the BPF functionality.


# 226565 20-Oct-2011 hselasky

MFC r226474:
Make the usbdump utility work again by using the correct BPF structures.

Approved by: re (kib)


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 221604 07-May-2011 hselasky

Minor usbdump update:
- Use memcpy() instead of bcopy().
- Replace all asserts() by standard error messages.
- Update usage().

MFC after: 7 days


# 220314 04-Apr-2011 thompsa

fix printing of tv_usec


# 220301 03-Apr-2011 hselasky

- Improvements to USB PF solution
- Add more fields for USB device and host mode
- Add more information to USB PF header so that decoding
can easily be done by software analyzer tools like
Wireshark.
- Optimise usbdump to display USB streams in text format
more efficiently.
- Software using USB PF must be recompiled after
this commit, due to structure changes.

MFC after: 7 days
Approved by: thompsa (mentor)


# 218010 28-Jan-2011 hselasky

- Remove double semicolon.
- Remove reference to sprintf. Use printf directly. This part of
the code should be optimised further to avoid many small printouts.
Setting a sensible line buffer length could help aswell when printing
out megabytes of data per second.

Approved by: thompsa (mentor)


# 216138 02-Dec-2010 weongyo

Changes the meaning of each characters '<' and '>' that it could be
confused with USB OUT or USB IN packets though it just represents USB
submit or done. To know the USB packet direction, the endpoint address
should be referred.

Requested by: jkim


# 215803 24-Nov-2010 weongyo

As a refection of r215802 it should use BPF interfaces because the
duplication code of USB pf is removed.


# 215651 21-Nov-2010 weongyo

Adds usbdump(8) tool that currently it only supports the very basic
feature set. It's not connected to the build yet.

Reviewed by: hps