[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs commit: src/sys/netgraph ng_car.c
- To: src-committers_(_at_)_FreeBSD_(_dot_)_org, cvs-src_(_at_)_FreeBSD_(_dot_)_org, cvs-all_(_at_)_FreeBSD_(_dot_)_org
- Subject: cvs commit: src/sys/netgraph ng_car.c
- From: Alexander Motin <mav_(_at_)_FreeBSD_(_dot_)_org>
- Date: Tue, 1 Apr 2008 13:58:10 +0000 (UTC)
- Cc:
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
_______________________________________________
cvs-all_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org