Commit Graph

10 Commits

Author SHA1 Message Date
Patrick McHardy
76dc0aa28f Introduce tc_calc_xmitsize and use where appropriate
[IPROUTE]: Introduce tc_calc_xmitsize and use where appropriate

Add tc_calc_xmitsize() as complement to tc_calc_xmittime(), which calculates
the size that can be transmitted at a given rate during a given time.

Replace all expressions of the form "size = rate*tc_core_tick2usec(time))/1000000"
by tc_calc_xmitsize() calls.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
2007-03-13 14:42:15 -07:00
Stephen Hemminger
ae665a522b Remove trailing whitespace
Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
2006-12-05 10:10:22 -08:00
6!tgraf
14ee9e6159 Use parse_rtattr_nested
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
6!tgraf
1b52a7622e Use NLMSG_TAIL
(Logical change 1.127)
2005-01-18 01:24:18 +00:00
net[shemminger]!kaber
95812b56a5 : prevent tc crashes
(Logical change 1.81)
2004-09-28 18:35:49 +00:00
osdl.net!shemminger
f2f99e2eef no longer need xstats stub
(Logical change 1.77)
2004-08-31 17:45:21 +00:00
osdl.net!shemminger
a166d246d8 mpu support
(Logical change 1.58)
2004-07-30 20:26:15 +00:00
osdl.org!shemminger
d0d0e26c82 Use get_hz to pick up system HZ value at runtime.
(Logical change 1.19)
2004-06-09 18:10:55 +00:00
org[shemminger]!shemminger
9e9d615e32 Import patch iproute2-2.4.7-htb3-tc.patch
(Logical change 1.10)
2004-06-07 22:04:51 +00:00
org[shemminger]!shemminger
a46718956b Initial revision 2004-06-07 22:04:51 +00:00