aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/atmclip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/atmclip.h')
-rw-r--r--include/net/atmclip.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/atmclip.h b/include/net/atmclip.h
index 497ef6444a7a..5865924d4aac 100644
--- a/include/net/atmclip.h
+++ b/include/net/atmclip.h
@@ -15,7 +15,6 @@
15 15
16 16
17#define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back)) 17#define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back))
18#define NEIGH2ENTRY(neigh) ((struct atmarp_entry *) (neigh)->primary_key)
19 18
20struct sk_buff; 19struct sk_buff;
21 20
@@ -36,24 +35,18 @@ struct clip_vcc {
36 35
37 36
38struct atmarp_entry { 37struct atmarp_entry {
39 __be32 ip; /* IP address */
40 struct clip_vcc *vccs; /* active VCCs; NULL if resolution is 38 struct clip_vcc *vccs; /* active VCCs; NULL if resolution is
41 pending */ 39 pending */
42 unsigned long expires; /* entry expiration time */ 40 unsigned long expires; /* entry expiration time */
43 struct neighbour *neigh; /* neighbour back-pointer */ 41 struct neighbour *neigh; /* neighbour back-pointer */
44}; 42};
45 43
46
47#define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) 44#define PRIV(dev) ((struct clip_priv *) netdev_priv(dev))
48 45
49
50struct clip_priv { 46struct clip_priv {
51 int number; /* for convenience ... */ 47 int number; /* for convenience ... */
52 spinlock_t xoff_lock; /* ensures that pop is atomic (SMP) */ 48 spinlock_t xoff_lock; /* ensures that pop is atomic (SMP) */
53 struct net_device *next; /* next CLIP interface */ 49 struct net_device *next; /* next CLIP interface */
54}; 50};
55 51
56
57extern struct neigh_table *clip_tbl_hook;
58
59#endif 52#endif