Date: Tue, 1 Apr 2008 13:58:10 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_car.c Message-ID: <200804011358.m31DwBUh067902@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804011358.m31DwBUh067902>
