X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Frtnetlink.h;h=3c1895e54b7f91a672cd43c61262b6485184ea52;hb=13c48c490208d9e70d8d66d56f96c5054db69af7;hp=3861c05cdf0fafe41d1dbe692b8fe5a2d5aa5bf7;hpb=aba2da66cfbf7790ad79d4dee95871127d5ddf5e;p=linux-2.6 diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 3861c05cdf..3c1895e54b 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h @@ -74,10 +74,15 @@ struct rtnl_link_ops { extern int __rtnl_link_register(struct rtnl_link_ops *ops); extern void __rtnl_link_unregister(struct rtnl_link_ops *ops); +extern void rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops); extern int rtnl_link_register(struct rtnl_link_ops *ops); extern void rtnl_link_unregister(struct rtnl_link_ops *ops); +extern struct net_device *rtnl_create_link(struct net *net, char *ifname, + const struct rtnl_link_ops *ops, struct nlattr *tb[]); +extern const struct nla_policy ifla_policy[IFLA_MAX+1]; + #define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind) #endif