History log of /external/iproute2/tc/tc_util.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5c434a9e5a5eafec09ec9939b255948843423f80 01-Mar-2012 Christoph J. Thompson <cjsthompson@gmail.com> iproute2 - Fix up and simplify variables pointing to install directories

Define where is the are located the iproute2 config files.
Get rid of trailing slashes for paths in several file.

Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
/external/iproute2/tc/tc_util.c
f526af995e4b610334ddea250686643b2d6e9729 09-Mar-2012 Andreas Henriksson <andreas@fatal.se> iproute: fix tc -iec display of Mibit rates

As reported by Thomas Mühlgrabner <muehltom@cable.vol.at>
in http://bugs.debian.org/662979 :

When showing htb class configuration with "tc -iec class show",
the output for Mibit is actually the value for bit.
Example: configure a class with a ceil of 1000Mibit.
Output states 1048576000 Mibit.

The cause is missing parenteses in the display code of tc....

(Please also note that a lower value of 100Mibit will be displayed
as 102400 Kibit, which I think is kind of ugly.)

Reported-by: Thomas Mühlgrabner <muehltom@cable.vol.at>
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
/external/iproute2/tc/tc_util.c
3c7950af598beab378a291ee0540da438978a4b2 23-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> netem: add support for 4 state and GE loss model

Incorporate support for new loss models.
/external/iproute2/tc/tc_util.c
5e3bb534ae179be141a92eb1a4e2eb48094193b7 22-Aug-2008 Andreas Henriksson <andreas@fatal.se> iproute: DESTDIR vs LIBDIR.

Hello Rafael Almeida.

I noticed your patch adding DESTDIR support in the latest iproute2 release.
Much appreciated! Soon the debian packages might be able to move to actually
using "make install" rather then it's own installation procedure when
building packages. I've noticed something that will break though....

Debian packages usually sets DESTDIR=debian/tmp/ and packages the contents
of that directory as if it where the root file system. This will break
the /usr/lib/{tc,ip}/ module loading, because they DESTDIR (/usr) will be
/whatever-the-build-path-was/debian/tmp/lib/{tc,ip}/.
I beleive others usually call this the LIBDIR to make the separation between
DISTDIR being the (possibly temporary) place things are put when build is
done, and LIBDIR (and others) are used for actual runtime paths.

I'm attaching a patch that I think fixes this, but would be really happy if
you could have a look at to verify I'm not screwing something up.

--
Regards,
Andreas Henriksson

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/tc_util.c
839c8456fbe08fc2497857673805b84dffb45507 25-Jul-2008 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> add generic size table for qdiscs

Patch adds generic size table that is similiar to rate table, with
difference that size table stores link layer packet size.

Based on patch by Patrick McHardy
http://marc.info/?l=linux-netdev&m=115201979221729&w=2

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/tc_util.c
b514b3587ee56552fcc87a066c955a7ff4f55d6f 02-Jun-2008 Rafael Almeida <rafaelc@dcc.ufmg.br> Fixed installation when changing DESTDIR

After changing the DESTDIR the installated binaries have some issues
due to hard coded paths. For example, using distributions on NetEm
would segfault.

I've changed iplink.c and tc_util.c so they are now aware of DESTDIR.
Along with that change I needed to change the main Makefile so it
defines the DESTDIR macro when calling gcc.

I also changed the paths so that during the installation sbin, etc,
share and lib directories are created directly inside of the DESTDIR,
instead of creating a usr directory inside that. That's the behaviour
of most packages out there, so I think most users will be expecting
that to happen.
/external/iproute2/tc/tc_util.c
292f29b42c3444375b5ae7086484c99da7129d94 09-Apr-2008 Jesper Dangaard Brouer <hawk@diku.dk> ATM cell alignment.

Introducing the function that does the ATM cell alignment, and
modifying tc_calc_rtable() to use this based upon a linklayer
parameter.

Modified from original to use constants from atm.h and
fix all the usages of rtable in same patch.

Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/external/iproute2/tc/tc_util.c
aa27f88c8444ad6a87ebb563d6ffacb4fe95d87c 21-Jun-2007 Stephen Hemminger <shemminger@linux-foundation.org> Add TC_LIB_DIR environment variable.

Don't hardcode /usr/lib/tc as a path

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/tc_util.c
891514473be4b587f38c237c5977c8db2ca7c6df 14-Mar-2007 Stephen Hemminger <shemminger@linux-foundation.org> Revert "Increase internal clock resolution to nsec"

This reverts fd784ccaf649128965be016f857708669e798479 commit.

Thanks Stephen, but actually I think the last patch (increase clock
resolution) shouldn't go in yet. I'm not done yet looking at all
the compatibility issues and it does change the range of valid
values for everything dealing with times. Most places I looked
at still accept reasonable ranges, but I would feel more comfortable
to make sure everything is fine first.
/external/iproute2/tc/tc_util.c
fd784ccaf649128965be016f857708669e798479 04-Mar-2007 Patrick McHardy <kaber@trash.net> Increase internal clock resolution to nsec

[IPROUTE]: Increase internal clock resolution to nsec

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/tc_util.c
bd29e35d9de9dc0b9015dd3a178ee2c716ce8301 04-Mar-2007 Patrick McHardy <kaber@trash.net> Add sprint_ticks() function and use in CBQ

[IPROUTE]: Add sprint_ticks() function and use in CBQ

Add helper function to print ticks to avoid assumptions about clock
resolution in CBQ.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/tc_util.c
8f34caafbdbc8f87d228d577872591e138caadb1 04-Mar-2007 Patrick McHardy <kaber@trash.net> Replace "usec" by "time" in function names

[IPROUTE]: Replace "usec" by "time" in function names

Rename functions containing "usec" since they don't necessarily return
usec units anymore.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/tc_util.c
f0bda7e5a52d880a85af698a041afa7dc379e76e 04-Mar-2007 Patrick McHardy <kaber@trash.net> Introduce TIME_UNITS_PER_SEC to represent internal clock resolution

[IPROUTE]: Introduce TIME_UNITS_PER_SEC to represent internal clock resolution

Introduce TIME_UNITS_PER_SEC and conversion functions between internal
resolution and resolution expected by the kernel (currently implemented as
NOPs, only needed by HFSC, which currently always uses microseconds).

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/tc_util.c
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/tc_util.c
5e8bc6316b1a6c56598cdb29a737d1d670d74e69 14-Mar-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2-hz

(Logical change 1.159)
/external/iproute2/tc/tc_util.c
63ae25d0edc8f05308edfcb8916914fa11374f92 10-Mar-2005 osdl.net!shemminger <osdl.net!shemminger> Build warning fix

(Logical change 1.153)
/external/iproute2/tc/tc_util.c
a8b303cc3f5a867539cec4215f856de4f69606a6 07-Feb-2005 osdl.net!shemminger <osdl.net!shemminger> validate classid

(Logical change 1.137)
/external/iproute2/tc/tc_util.c
7d69fd97ecc7d15288787276424d9ac2ced9c41d 18-Jan-2005 14!tgraf <14!tgraf> Use parse_rtattr_nested

(Logical change 1.129)
/external/iproute2/tc/tc_util.c
b906243b62c832f24473de3ead7d7feef0e75e4b 18-Jan-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2.116

(Logical change 1.118)
/external/iproute2/tc/tc_util.c
e5879dc603ca2e9f27ca6d754fdf5e20f8072344 08-Dec-2004 ch[shemminger]!tgraf <ch[shemminger]!tgraf> iproute2: gnet_stats

(Logical change 1.107)
/external/iproute2/tc/tc_util.c
abf1d0b09798a2c0b290be551a903f927efa4540 19-Oct-2004 osdl.net!shemminger <osdl.net!shemminger> fix scaling in print_rates (for bits).

(Logical change 1.95)
/external/iproute2/tc/tc_util.c
6dc9f016347441fbf94cf851c054b0f45ba32c1c 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> make all filtering handles take const args.

(Logical change 1.77)
/external/iproute2/tc/tc_util.c
25f869096f8a9222c48fd97744e87ebc6333eedd 24-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Auto merged

2004/08/24 11:54:13-07:00 osdl.net!shemminger
Fix calculation of percent to u32 scaling.

(Logical change 1.72)
/external/iproute2/tc/tc_util.c
2373fde9b0ba14c1758290a68332f1af9882abc0 14-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> new stuff from jamal.

(Logical change 1.66)
/external/iproute2/tc/tc_util.c
26ab0b103c63c006feacc67c1e6df9574bc16473 14-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Make get_rates be table based and go up to terrabits.

(Logical change 1.65)
/external/iproute2/tc/tc_util.c
d40b38b4d8566f020af89990d51112432b7b1834 28-Jun-2004 osdl.net!shemminger <osdl.net!shemminger> add -iec flag, and since all print functions return 0, change to just
void.

(Logical change 1.40)
/external/iproute2/tc/tc_util.c
63e989f5e043a3a45857fe4ba083c49050eb3300 25-Jun-2004 osdl.net!shemminger <osdl.net!shemminger> add loss paramater.

(Logical change 1.31)
/external/iproute2/tc/tc_util.c
72fc2040f5d96183ae99a2651cf43938d31a4f42 10-Jun-2004 osdl.org!shemminger <osdl.org!shemminger> Add more complete rate values including IEC syntax.

(Logical change 1.26)
/external/iproute2/tc/tc_util.c
4703e08a930d82c753e1184edb9127b62d031b28 09-Jun-2004 osdl.org!shemminger <osdl.org!shemminger> Display rates ad mutiple of 1000 not 1024

(Logical change 1.22)
/external/iproute2/tc/tc_util.c
dbd90dc267227deffd54c658e7fb5d3d8667c2cd 02-Jun-2004 osdl.org!shemminger <osdl.org!shemminger> handl gbit as well.
const char *

(Logical change 1.6)
/external/iproute2/tc/tc_util.c
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/tc/tc_util.c
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/tc/tc_util.c