[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>
Showing
- include/linux/fib_rules.h 4 additions, 0 deletionsinclude/linux/fib_rules.h
- include/linux/rtnetlink.h 8 additions, 0 deletionsinclude/linux/rtnetlink.h
- include/net/fib_rules.h 7 additions, 0 deletionsinclude/net/fib_rules.h
- net/core/fib_rules.c 3 additions, 2 deletionsnet/core/fib_rules.c
- net/decnet/dn_fib.c 4 additions, 3 deletionsnet/decnet/dn_fib.c
- net/decnet/dn_route.c 1 addition, 0 deletionsnet/decnet/dn_route.c
- net/decnet/dn_table.c 1 addition, 0 deletionsnet/decnet/dn_table.c
- net/ipv4/fib_frontend.c 4 additions, 3 deletionsnet/ipv4/fib_frontend.c
- net/ipv4/fib_rules.c 1 addition, 0 deletionsnet/ipv4/fib_rules.c
- net/ipv4/fib_semantics.c 1 addition, 0 deletionsnet/ipv4/fib_semantics.c
- net/ipv4/route.c 1 addition, 0 deletionsnet/ipv4/route.c
- net/ipv6/fib6_rules.c 1 addition, 0 deletionsnet/ipv6/fib6_rules.c
- net/ipv6/route.c 9 additions, 4 deletionsnet/ipv6/route.c
Loading
Please register or sign in to comment