diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-08-22 03:00:21 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:11 -0400 |
commit | e0a1ad73d34fd6dfdb630479400511e9879069c0 (patch) | |
tree | eda7611d42a7184131056e08b0bfb13d18b0e24e /include/net/ip6_route.h | |
parent | e9ce1cd3cf6cf35b21d0ce990f2e738f35907386 (diff) |
[IPv6] route: Simplify ip6_del_rt()
Provide a simple ip6_del_rt() for the majority of users and
an alternative for the exception via netlink. Avoids code
obfuscation.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 01bfe404784f..a7e6086a2bd4 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -69,10 +69,7 @@ extern int ip6_ins_rt(struct rt6_info *, | |||
69 | struct nlmsghdr *, | 69 | struct nlmsghdr *, |
70 | void *rtattr, | 70 | void *rtattr, |
71 | struct netlink_skb_parms *req); | 71 | struct netlink_skb_parms *req); |
72 | extern int ip6_del_rt(struct rt6_info *, | 72 | extern int ip6_del_rt(struct rt6_info *); |
73 | struct nlmsghdr *, | ||
74 | void *rtattr, | ||
75 | struct netlink_skb_parms *req); | ||
76 | 73 | ||
77 | extern int ip6_rt_addr_add(struct in6_addr *addr, | 74 | extern int ip6_rt_addr_add(struct in6_addr *addr, |
78 | struct net_device *dev, | 75 | struct net_device *dev, |