From owner-cvs-all Wed Sep 18 12:49: 0 2002 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 D8DBF37B401; Wed, 18 Sep 2002 12:48:59 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A4DE43E3B; Wed, 18 Sep 2002 12:48:59 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from freefall.freebsd.org (phk@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8IJmxCo044630; Wed, 18 Sep 2002 12:48:59 -0700 (PDT) (envelope-from phk@freefall.freebsd.org) Received: (from phk@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8IJmxBU044629; Wed, 18 Sep 2002 12:48:59 -0700 (PDT) Message-Id: <200209181948.g8IJmxBU044629@freefall.freebsd.org> From: Poul-Henning Kamp Date: Wed, 18 Sep 2002 12:48:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bpf.c 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 phk 2002/09/18 12:48:59 PDT Modified files: sys/net bpf.c Log: Use m_length() instead of home-rolled. In bpf_mtap(), if the entire packet is in one mbuf, call bpf_tap() instead since it is a tad faster. Sponsored by: http://www.babeltech.dk/ Revision Changes Path 1.95 +3 -4 src/sys/net/bpf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message