diff options
author | David S. Miller <davem@davemloft.net> | 2012-06-11 00:01:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-11 02:09:16 -0700 |
commit | 8e77327783c753689a1a766ab9d301b81c2529f1 (patch) | |
tree | 5b178d092f57519d809c6ba69b14c36c1c5f8ff0 /include/net/ip_fib.h | |
parent | b48c80ece973e9eddb042f6685b482b261ff0d47 (diff) | |
download | linux-8e77327783c753689a1a766ab9d301b81c2529f1.tar.gz linux-8e77327783c753689a1a766ab9d301b81c2529f1.tar.bz2 linux-8e77327783c753689a1a766ab9d301b81c2529f1.zip |
inet: Add inetpeer tree roots to the FIB tables.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r-- | include/net/ip_fib.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 78df0866cc38..4b347c0ca094 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -19,6 +19,7 @@ #include <net/flow.h> #include <linux/seq_file.h> #include <net/fib_rules.h> +#include <net/inetpeer.h> struct fib_config { u8 fc_dst_len; @@ -157,11 +158,12 @@ extern __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh); FIB_RES_SADDR(net, res)) struct fib_table { - struct hlist_node tb_hlist; - u32 tb_id; - int tb_default; - int tb_num_default; - unsigned long tb_data[0]; + struct hlist_node tb_hlist; + u32 tb_id; + int tb_default; + int tb_num_default; + struct inet_peer_base tb_peers; + unsigned long tb_data[0]; }; extern int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, |