#
349665 |
|
03-Jul-2019 |
hselasky |
MFC r349370: Fix parsing of corrupt data in usbdump(8). Check that the transfer type array lookup is within bounds to avoid segfault.
PR: 238801 Sponsored by: Mellanox Technologies
|
#
330449 |
|
05-Mar-2018 |
eadler |
MFC r326276:
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended.
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
298216 |
|
18-Apr-2016 |
pfg |
Reuse our roundup2() macro instead of reinventing the wheel.
Obtained from: DragonflyBSD
|
#
266803 |
|
28-May-2014 |
hselasky |
Remove nop.
MFC after: 1 week
|
#
266798 |
|
28-May-2014 |
hselasky |
Fix for big endian architectures. The "up_address" field is 8-bit and does not need byte swapping.
MFC after: 1 week
|
#
260978 |
|
21-Jan-2014 |
hselasky |
Add check for "hw.usb.no_pf" sysctl value.
Submitted by: Warren Block <wblock@wonkity.com> MFC after: 1 week
|
#
238279 |
|
09-Jul-2012 |
hrs |
Make usbusN logging pseudo-interface used by usbdump(8) clonable. One is now created/destroyed automatically by usbdump(8).
Note that "hw.usb.no_pf" loader tunable is now obsolete.
Reviewed by: hselasky
|
#
234655 |
|
24-Apr-2012 |
hselasky |
Add missing and probably also mandatory -h option.
MFC after: 1 week
|
#
234636 |
|
24-Apr-2012 |
hselasky |
Improve support for USB packet filtering also when reading dumps, and allow filtered data to be dumped to a binary file.
MFC after: 1 week
|
#
233039 |
|
16-Mar-2012 |
hselasky |
Create new file header format to simplify the endian and cross platform issues. This patch does not break binary compatibility with previous versions.
MFC after: 1 week
|
#
233037 |
|
16-Mar-2012 |
hselasky |
Fix cross-platform issue about the file-format in which usbdump stores data. Until this patch it was not possible to exchange traces between 32-bit, 64-bit, big- and little endian platforms. The problem is the dynamic nature of the BPF timestamp in the header. All other fields are fixed size and little endian.
MFC after: 5 days
|
#
231835 |
|
16-Feb-2012 |
hselasky |
Add support for filtering USB devices and USB endpoints to the usbdump utility when making software USB traces.
MFC after: 1 week
|
#
226474 |
|
17-Oct-2011 |
hselasky |
Make the usbdump utility work again by using the correct BPF structures.
MFC after: 3 days
|
#
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
|