]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
Add support for larger number of routing tables
authorPatrick McHardy <kaber@trash.net>
Thu, 10 Aug 2006 22:14:51 +0000 (00:14 +0200)
committerStephen Hemminger <shemminger@osdl.org>
Thu, 10 Aug 2006 23:12:07 +0000 (16:12 -0700)
commit34e9564753075c756f96597e7aa57f969a403aaf
treefe0c9058392ceb544c85a19b3b2413f51519c709
parent9c47d877d86b0e102979e3cad5d91c34f20f1275
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>
include/linux/rtnetlink.h
include/rt_names.h
ip/ip_common.h
ip/iproute.c
ip/iprule.c
lib/rt_names.c