diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-08-22 03:01:08 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:12 -0400 |
commit | 86872cb57925c46a6499887d77afb880a892c0ec (patch) | |
tree | bc0442efb85226adac5c7ae43e632639dd1b6899 /include/net/ip6_route.h | |
parent | 40e22e8f3d4d4f1ff68fb03683f007c53ee8b348 (diff) |
[IPv6] route: FIB6 configuration using struct fib6_config
Replaces the struct in6_rtmsg based interface orignating from
the ioctl interface with a struct fib6_config based on. Allows
changing the interface without breaking the ioctl interface
and avoids passing on tons of parameters.
The recently introduced struct nl_info is used to pass on
netlink authorship information for notifications.
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 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 172c4761e2bf..3f170f667c7b 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -60,11 +60,7 @@ extern void ip6_route_cleanup(void); | |||
60 | 60 | ||
61 | extern int ipv6_route_ioctl(unsigned int cmd, void __user *arg); | 61 | extern int ipv6_route_ioctl(unsigned int cmd, void __user *arg); |
62 | 62 | ||
63 | extern int ip6_route_add(struct in6_rtmsg *rtmsg, | 63 | extern int ip6_route_add(struct fib6_config *cfg); |
64 | struct nlmsghdr *, | ||
65 | void *rtattr, | ||
66 | struct netlink_skb_parms *req, | ||
67 | u32 table_id); | ||
68 | extern int ip6_ins_rt(struct rt6_info *); | 64 | extern int ip6_ins_rt(struct rt6_info *); |
69 | extern int ip6_del_rt(struct rt6_info *); | 65 | extern int ip6_del_rt(struct rt6_info *); |
70 | 66 | ||