patch-2.3.14 linux/net/ax25/ax25_route.c
Next file: linux/net/ax25/ax25_subr.c
Previous file: linux/net/ax25/ax25_out.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_route.c
- Orig date:
Wed May 20 18:55:17 1998
diff -u --recursive --new-file v2.3.13/linux/net/ax25/ax25_route.c linux/net/ax25/ax25_route.c
@@ -66,7 +66,7 @@
static ax25_route *ax25_route_list = NULL;
-static ax25_route *ax25_find_route(ax25_address *, struct device *);
+static ax25_route *ax25_find_route(ax25_address *, struct net_device *);
/*
* small macro to drop non-digipeated digipeaters and reverse path
@@ -84,7 +84,7 @@
ax25_digi_invert(in, out);
}
-void ax25_rt_device_down(struct device *dev)
+void ax25_rt_device_down(struct net_device *dev)
{
ax25_route *s, *t, *ax25_rt = ax25_route_list;
@@ -300,7 +300,7 @@
/*
* Find AX.25 route
*/
-static ax25_route *ax25_find_route(ax25_address *addr, struct device *dev)
+static ax25_route *ax25_find_route(ax25_address *addr, struct net_device *dev)
{
ax25_route *ax25_spe_rt = NULL;
ax25_route *ax25_def_rt = NULL;
@@ -387,7 +387,7 @@
* dl1bke 960117: build digipeater path
* dl1bke 960301: use the default route if it exists
*/
-ax25_route *ax25_rt_find_route(ax25_address *addr, struct device *dev)
+ax25_route *ax25_rt_find_route(ax25_address *addr, struct net_device *dev)
{
static ax25_route route;
ax25_route *ax25_rt;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)