]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/net/ip_fib.h
ipv4: Cache output routes in fib_info nexthops.
[mirror_ubuntu-zesty-kernel.git] / include / net / ip_fib.h
index 2daf096dfc6021d9e5860a8e0e30464080c5179a..fb62c590360ed289a4534f02fe01c6962308168f 100644 (file)
@@ -46,6 +46,7 @@ struct fib_config {
  };
 
 struct fib_info;
+struct rtable;
 
 struct fib_nh_exception {
        struct fib_nh_exception __rcu   *fnhe_next;
@@ -80,6 +81,7 @@ struct fib_nh {
        __be32                  nh_gw;
        __be32                  nh_saddr;
        int                     nh_saddr_genid;
+       struct rtable           *nh_rth_output;
        struct fnhe_hash_bucket *nh_exceptions;
 };