]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/dst.h
Pull bugfix into test branch
[linux-2.6-omap-h63xx.git] / include / net / dst.h
index 36d54fc248b001cc1bbd9915039c005931fd14d1..62b7e7598e9adfbb246abb5a692515fbf0e99e0e 100644 (file)
@@ -54,6 +54,7 @@ struct dst_entry
        unsigned long           expires;
 
        unsigned short          header_len;     /* more space at head required */
+       unsigned short          nfheader_len;   /* more non-fragment space at head required */
        unsigned short          trailer_len;    /* space to reserve at tail */
 
        u32                     metrics[RTAX_MAX];
@@ -83,7 +84,7 @@ struct dst_entry
 struct dst_ops
 {
        unsigned short          family;
-       unsigned short          protocol;
+       __be16                  protocol;
        unsigned                gc_thresh;
 
        int                     (*gc)(void);
@@ -97,7 +98,7 @@ struct dst_ops
        int                     entry_size;
 
        atomic_t                entries;
-       kmem_cache_t            *kmem_cachep;
+       struct kmem_cache               *kmem_cachep;
 };
 
 #ifdef __KERNEL__