snap: use const for descriptor
[safe/jmp/linux-2.6] / include / net / atmclip.h
index 47048b1..467c531 100644 (file)
@@ -7,7 +7,6 @@
 #define _ATMCLIP_H
 
 #include <linux/netdevice.h>
-#include <linux/skbuff.h>
 #include <linux/atm.h>
 #include <linux/atmdev.h>
 #include <linux/atmarp.h>
@@ -18,6 +17,7 @@
 #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back))
 #define NEIGH2ENTRY(neigh) ((struct atmarp_entry *) (neigh)->primary_key)
 
+struct sk_buff;
 
 struct clip_vcc {
        struct atm_vcc  *vcc;           /* VCC descriptor */
@@ -36,7 +36,7 @@ struct clip_vcc {
 
 
 struct atmarp_entry {
-       u32             ip;             /* IP address */
+       __be32          ip;             /* IP address */
        struct clip_vcc *vccs;          /* active VCCs; NULL if resolution is
                                           pending */
        unsigned long   expires;        /* entry expiration time */
@@ -50,7 +50,6 @@ struct atmarp_entry {
 struct clip_priv {
        int number;                     /* for convenience ... */
        spinlock_t xoff_lock;           /* ensures that pop is atomic (SMP) */
-       struct net_device_stats stats;
        struct net_device *next;        /* next CLIP interface */
 };