patch-2.1.22 linux/include/linux/atalk.h
Next file: linux/include/linux/ax25.h
Previous file: linux/include/asm-i386/semaphore.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Jan 19 15:47:26 1997
- Orig file:
v2.1.21/linux/include/linux/atalk.h
- Orig date:
Thu Dec 12 19:37:18 1996
diff -u --recursive --new-file v2.1.21/linux/include/linux/atalk.h linux/include/linux/atalk.h
@@ -88,7 +88,7 @@
};
/*
- * Unused (and currently unsupported)
+ * Short form header
*/
struct ddpshdr
@@ -134,7 +134,16 @@
extern struct datalink_proto *ddp_dl, *aarp_dl;
extern void aarp_proto_init(void);
/* Inter module exports */
-extern struct atalk_iface *atalk_find_dev(struct device *dev);
+
+/*
+ * Give a device find its atif control structure
+ */
+
+extern __inline__ struct atalk_iface *atalk_find_dev(struct device *dev)
+{
+ return dev->atalk_ptr;
+}
+
extern struct at_addr *atalk_find_dev_addr(struct device *dev);
extern int aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr);
extern void aarp_send_probe(struct device *dev, struct at_addr *addr);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov