patch-2.3.14 linux/net/ipv4/fib_semantics.c
Next file: linux/net/ipv4/icmp.c
Previous file: linux/net/ipv4/fib_rules.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Wed Aug 18 11:38:49 1999
- Orig file:
v2.3.13/linux/net/ipv4/fib_semantics.c
- Orig date:
Sun Mar 21 07:22:00 1999
diff -u --recursive --new-file v2.3.13/linux/net/ipv4/fib_semantics.c linux/net/ipv4/fib_semantics.c
@@ -156,7 +156,7 @@
Used only by redirect accept routine.
*/
-int ip_fib_check_default(u32 gw, struct device *dev)
+int ip_fib_check_default(u32 gw, struct net_device *dev)
{
for_fib_info() {
if (fi->fib_flags & RTNH_F_DEAD)
@@ -331,7 +331,7 @@
return 0;
#endif
if (nh->nh_flags&RTNH_F_ONLINK) {
- struct device *dev;
+ struct net_device *dev;
if (r->rtm_scope >= RT_SCOPE_LINK)
return -EINVAL;
@@ -731,7 +731,7 @@
#ifdef CONFIG_IP_ALIAS
char *colon;
#endif
- struct device *dev;
+ struct net_device *dev;
char devname[IFNAMSIZ];
if (copy_from_user(devname, r->rt_dev, IFNAMSIZ-1))
@@ -821,7 +821,7 @@
- device went down -> we must shutdown all nexthops going via it.
*/
-int fib_sync_down(u32 local, struct device *dev, int force)
+int fib_sync_down(u32 local, struct net_device *dev, int force)
{
int ret = 0;
int scope = RT_SCOPE_NOWHERE;
@@ -865,7 +865,7 @@
It takes sense only on multipath routes.
*/
-int fib_sync_up(struct device *dev)
+int fib_sync_up(struct net_device *dev)
{
int ret = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)