From owner-cvs-src@FreeBSD.ORG Tue Apr 1 13:58:11 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65CFB1065670; Tue, 1 Apr 2008 13:58:11 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFE98FC23; Tue, 1 Apr 2008 13:58:11 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m31DwBgv067903; Tue, 1 Apr 2008 13:58:11 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m31DwBUh067902; Tue, 1 Apr 2008 13:58:11 GMT (envelope-from mav) Message-Id: <200804011358.m31DwBUh067902@repoman.freebsd.org> From: Alexander Motin Date: Tue, 1 Apr 2008 13:58:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/netgraph ng_car.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 13:58:11 -0000 mav 2008-04-01 13:58:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netgraph ng_car.c Log: MFC rev. 1.6-1.7 - Switch from timeval to bintime, to use 1/(2^20) of seconds instead of microseconds. It allows to use bit shifts instead of some heavy 64bit mul/div math operations. - Account all node stats at the shape mode. - Do not check destination hook presence, it will be done by netgraph. - Use u_int instead of int in some places to simplify type conversions. - Use NG_SEND_DATA_ONLY() macro instead of selfmade equivalent. Revision Changes Path 1.4.2.2 +51 -58 src/sys/netgraph/ng_car.c