Commit Graph

9 Commits

Author SHA1 Message Date
Boian Bonev
887a5d0091 Display local route table name correctly in output of:
ip ru
2006-11-27 14:12:31 -08:00
Patrick McHardy
34e9564753 Add support for larger number of routing tables
[IPROUTE]: Add support for larger number of routing tables

Support support for 2^32 routing tables by using the new RTA_TABLE
attribute for specifying tables > 255 and intepreting it if it is
sent by the kernel.

When tables > 255 are used on a kernel not supporting it an error will
occur because of the unknown netlink attribute.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
2006-08-10 16:12:07 -07:00
Patrick McHardy
9c47d877d8 Use hash for routing table name cache
[IPROUTE]: Use hash for routing table name cache

Use a hash for routing table name cache instead of the fixed size array.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
2006-08-10 16:11:59 -07:00
shemminger
40b6c62c63 Add more rtproto values 2006-03-10 23:44:04 +00:00
osdl.org!shemminger
a7452b20cd Solve build problems on older systems.
(Logical change 1.27)
2004-06-09 22:51:59 +00:00
osdl.org!shemminger
b88fd9f48c Build fixes for 2.4 and align functions with protos
use initializers.

(Logical change 1.16)
2004-06-08 23:50:43 +00:00
org[shemminger]!shemminger
010b0f65fa Import patch iproute2-2.4.7-default.patch
(Logical change 1.11)
2004-06-07 22:05:31 +00:00
osdl.org!shemminger
aba5acdfdb (Logical change 1.3) 2004-04-15 20:56:59 +00:00
osdl.org!shemminger
86fdf0e47b Initial revision 2004-04-15 20:56:59 +00:00