[NET]: Introduce RTA_TABLE/FRA_TABLE attributes
authorPatrick McHardy <kaber@trash.net>
Fri, 11 Aug 2006 06:09:48 +0000 (23:09 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:54:25 +0000 (14:54 -0700)
commit9e762a4a89b302cb3b26a1f9bb33eff459eaeca9
tree4be606cc6bfe097beac3aeeea32b4adc107409b7
parent2dfe55b47e3d66ded5a84caf71e0da5710edf48b
[NET]: Introduce RTA_TABLE/FRA_TABLE attributes

Introduce RTA_TABLE route attribute and FRA_TABLE routing rule attribute
to hold 32 bit routing table IDs. Usespace compatibility is provided by
continuing to accept and send the rtm_table field, but because of its
limited size it can only carry the low 8 bits of the table ID. This
implies that if larger IDs are used, _all_ userspace programs using them
need to use RTA_TABLE.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
include/linux/fib_rules.h
include/linux/rtnetlink.h
include/net/fib_rules.h
net/core/fib_rules.c
net/decnet/dn_fib.c
net/decnet/dn_route.c
net/decnet/dn_table.c
net/ipv4/fib_frontend.c
net/ipv4/fib_rules.c
net/ipv4/fib_semantics.c
net/ipv4/route.c
net/ipv6/fib6_rules.c
net/ipv6/route.c