aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-08-22 03:00:45 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:55:11 -0400
commit40e22e8f3d4d4f1ff68fb03683f007c53ee8b348 (patch)
treee630e465a8fdd12e674d8a160a695a72cf81ca8d /include/net/ip6_route.h
parente0a1ad73d34fd6dfdb630479400511e9879069c0 (diff)
[IPv6] route: Simplify ip6_ins_rt()
Provide a simple ip6_ins_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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index a7e6086a2bd4..172c4761e2bf 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -65,10 +65,7 @@ extern int ip6_route_add(struct in6_rtmsg *rtmsg,
65 void *rtattr, 65 void *rtattr,
66 struct netlink_skb_parms *req, 66 struct netlink_skb_parms *req,
67 u32 table_id); 67 u32 table_id);
68extern int ip6_ins_rt(struct rt6_info *, 68extern int ip6_ins_rt(struct rt6_info *);
69 struct nlmsghdr *,
70 void *rtattr,
71 struct netlink_skb_parms *req);
72extern int ip6_del_rt(struct rt6_info *); 69extern int ip6_del_rt(struct rt6_info *);
73 70
74extern int ip6_rt_addr_add(struct in6_addr *addr, 71extern int ip6_rt_addr_add(struct in6_addr *addr,