]> err.no Git - linux-2.6/blobdiff - include/net/dst.h
[NETFILTER]: Use const in struct xt_match, xt_target, xt_table
[linux-2.6] / include / net / dst.h
index c45dcc31b3bbcebab5d25f26501c774e623d08fe..e3ac7d0fc4e1807e62d1246b74aefa5d9ae9f23a 100644 (file)
@@ -56,7 +56,11 @@ struct dst_entry
        struct dst_entry        *path;
 
        unsigned long           rate_last;      /* rate limiting for ICMP */
-       unsigned long           rate_tokens;
+       unsigned int            rate_tokens;
+
+#ifdef CONFIG_NET_CLS_ROUTE
+       __u32                   tclassid;
+#endif
 
        struct neighbour        *neighbour;
        struct hh_cache         *hh;
@@ -65,10 +69,6 @@ struct dst_entry
        int                     (*input)(struct sk_buff*);
        int                     (*output)(struct sk_buff*);
 
-#ifdef CONFIG_NET_CLS_ROUTE
-       __u32                   tclassid;
-#endif
-
        struct  dst_ops         *ops;
                
        unsigned long           lastuse;