]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/dst.h
Merge tag 'fbdev-updates-for-3.5' of git://github.com/schandinat/linux-2.6
[karo-tx-linux.git] / include / net / dst.h
index 59c5d18cc3857da85690627b085e1065eeeb78ad..8197eadca819633eb97f3919286a7e6b19bbcddd 100644 (file)
@@ -36,7 +36,11 @@ struct dst_entry {
        struct net_device       *dev;
        struct  dst_ops         *ops;
        unsigned long           _metrics;
-       unsigned long           expires;
+       union {
+               unsigned long           expires;
+               /* point to where the dst_entry copied from */
+               struct dst_entry        *from;
+       };
        struct dst_entry        *path;
        struct neighbour __rcu  *_neighbour;
 #ifdef CONFIG_XFRM
@@ -55,6 +59,8 @@ struct dst_entry {
 #define DST_NOCACHE            0x0010
 #define DST_NOCOUNT            0x0020
 #define DST_NOPEER             0x0040
+#define DST_FAKE_RTABLE                0x0080
+#define DST_XFRM_TUNNEL                0x0100
 
        short                   error;
        short                   obsolete;