svn commit: r216091 - head/sys/dev/usb

Jung-uk Kim jkim at
Wed Dec 1 23:58:28 UTC 2010

On Tuesday 30 November 2010 10:51 pm, Weongyo Jeong wrote:
> Author: weongyo
> Date: Wed Dec  1 03:51:06 2010
> New Revision: 216091
> URL:
> Log:
>   Explicitly UP and DOWN the usbus interfaces (IFT_USB) when it's
> attached or detached.  Normally it should be changed through user
> land ioctl(2) system calls but it looks there's no apps for USB and
> no need.
>   With this patch, libpcap would detect the usbus interfaces
> correctly and tcpdump(1) could dump the USB packets into PCAP
> format with -w option. However it couldn't print the output to
> console because there's no printer-routine at tcpdump(1).

I have written a very hackish USB packet printer for tcpdump based on 
Linux version.

Note we can only print headers as Linux version does.

Are you planning on adopting DLT_USB_LINUX or DLT_USB_LINUX_MMAPPED or 
applying for our own DLT, BTW?

Jung-uk Kim

More information about the svn-src-all mailing list