From owner-cvs-src-old@FreeBSD.ORG Wed Dec 1 03:51:14 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 994331065788 for ; Wed, 1 Dec 2010 03:51:14 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 86B4B8FC12 for ; Wed, 1 Dec 2010 03:51:14 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oB13pEp5060973 for ; Wed, 1 Dec 2010 03:51:14 GMT (envelope-from weongyo@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oB13pEpO060972 for cvs-src-old@freebsd.org; Wed, 1 Dec 2010 03:51:14 GMT (envelope-from weongyo@repoman.freebsd.org) Message-Id: <201012010351.oB13pEpO060972@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to weongyo@repoman.freebsd.org using -f From: Weongyo Jeong Date: Wed, 1 Dec 2010 03:51:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb usb_pf.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2010 03:51:14 -0000 weongyo 2010-12-01 03:51:06 UTC FreeBSD src repository Modified files: sys/dev/usb usb_pf.c Log: SVN rev 216091 on 2010-12-01 03:51:06Z by weongyo 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). Revision Changes Path 1.7 +2 -0 src/sys/dev/usb/usb_pf.c