patch-2.3.14 linux/net/ax25/ax25_iface.c
Next file: linux/net/ax25/ax25_in.c
Previous file: linux/net/ax25/ax25_dev.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Wed Aug 18 11:38:48 1999
- Orig file:
v2.3.13/linux/net/ax25/ax25_iface.c
- Orig date:
Mon Jul 7 08:19:59 1997
diff -u --recursive --new-file v2.3.13/linux/net/ax25/ax25_iface.c linux/net/ax25/ax25_iface.c
@@ -50,7 +50,7 @@
static struct listen_struct {
struct listen_struct *next;
ax25_address callsign;
- struct device *dev;
+ struct net_device *dev;
} *listen_list = NULL;
int ax25_protocol_register(unsigned int pid, int (*func)(struct sk_buff *, ax25_cb *))
@@ -168,7 +168,7 @@
restore_flags(flags);
}
-int ax25_listen_register(ax25_address *callsign, struct device *dev)
+int ax25_listen_register(ax25_address *callsign, struct net_device *dev)
{
struct listen_struct *listen;
unsigned long flags;
@@ -193,7 +193,7 @@
return 1;
}
-void ax25_listen_release(ax25_address *callsign, struct device *dev)
+void ax25_listen_release(ax25_address *callsign, struct net_device *dev)
{
struct listen_struct *s, *listen = listen_list;
unsigned long flags;
@@ -237,7 +237,7 @@
return NULL;
}
-int ax25_listen_mine(ax25_address *callsign, struct device *dev)
+int ax25_listen_mine(ax25_address *callsign, struct net_device *dev)
{
struct listen_struct *listen;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)