From owner-cvs-all Mon Jan 20 11: 8:48 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD53A37B401; Mon, 20 Jan 2003 11:08:47 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 430A043F1E; Mon, 20 Jan 2003 11:08:47 -0800 (PST) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0KJ8lfh096989; Mon, 20 Jan 2003 11:08:47 -0800 (PST) (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0KJ8knx096988; Mon, 20 Jan 2003 11:08:46 -0800 (PST) Message-Id: <200301201908.h0KJ8knx096988@repoman.freebsd.org> From: Sam Leffler Date: Mon, 20 Jan 2003 11:08:46 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bpf.c bpf.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sam 2003/01/20 11:08:46 PST Modified files: sys/net bpf.c bpf.h Log: o add BIOCGDLTLIST and BIOCSDLT ioctls to get the data link type list and set the link type for use by libpcap and tcpdump o move mtx unlock in bpfdetach up; it doesn't need to be held so long o change printf in bpf_detach to distinguish it from the same one in bpfsetdlt Note there are locking issues here related to ioctl processing; they have not been addressed here. Submitted by: Guy Harris Obtained from: NetBSD (w/ locking modifications) Revision Changes Path 1.104 +101 -4 src/sys/net/bpf.c 1.28 +10 -0 src/sys/net/bpf.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message