[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>
This commit is contained in:
committed by
David S. Miller
parent
40e22e8f3d
commit
86872cb579
@@ -60,11 +60,7 @@ extern void ip6_route_cleanup(void);
|
||||
|
||||
extern int ipv6_route_ioctl(unsigned int cmd, void __user *arg);
|
||||
|
||||
extern int ip6_route_add(struct in6_rtmsg *rtmsg,
|
||||
struct nlmsghdr *,
|
||||
void *rtattr,
|
||||
struct netlink_skb_parms *req,
|
||||
u32 table_id);
|
||||
extern int ip6_route_add(struct fib6_config *cfg);
|
||||
extern int ip6_ins_rt(struct rt6_info *);
|
||||
extern int ip6_del_rt(struct rt6_info *);
|
||||
|
||||
|
Reference in New Issue
Block a user