diff options
author | David S. Miller | 2011-02-01 01:10:03 +0100 |
---|---|---|
committer | David S. Miller | 2011-02-01 01:10:03 +0100 |
commit | 5b4704419cbd0b7597a91c19f9e8e8b17c1af071 (patch) | |
tree | 94ee46905ba2a142bdf910fb26f7450c41ebc46a /include/net/ip_fib.h | |
parent | Merge branch 'batman-adv/next' of git://git.open-mesh.org/ecsv/linux-merge (diff) | |
download | kernel-qcow2-linux-5b4704419cbd0b7597a91c19f9e8e8b17c1af071.tar.gz kernel-qcow2-linux-5b4704419cbd0b7597a91c19f9e8e8b17c1af071.tar.xz kernel-qcow2-linux-5b4704419cbd0b7597a91c19f9e8e8b17c1af071.zip |
ipv4: Remember FIB alias list head and table in lookup results.
This will be used later to implement fib_select_default() in a
completely generic manner, instead of the current situation where the
default route is re-looked up in the TRIE/HASH table and then the
available aliases are analyzed.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 2c0508a6e07c..f5199b08ba53 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -96,12 +96,15 @@ struct fib_info { struct fib_rule; #endif +struct fib_table; struct fib_result { unsigned char prefixlen; unsigned char nh_sel; unsigned char type; unsigned char scope; struct fib_info *fi; + struct fib_table *table; + struct list_head *fa_head; #ifdef CONFIG_IP_MULTIPLE_TABLES struct fib_rule *r; #endif |