diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/rtnetlink.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 3861c05cdf0f..8218288ab7ee 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h | |||
@@ -78,6 +78,10 @@ extern void __rtnl_link_unregister(struct rtnl_link_ops *ops); | |||
78 | extern int rtnl_link_register(struct rtnl_link_ops *ops); | 78 | extern int rtnl_link_register(struct rtnl_link_ops *ops); |
79 | extern void rtnl_link_unregister(struct rtnl_link_ops *ops); | 79 | extern void rtnl_link_unregister(struct rtnl_link_ops *ops); |
80 | 80 | ||
81 | extern struct net_device *rtnl_create_link(char *ifname, | ||
82 | const struct rtnl_link_ops *ops, struct nlattr *tb[]); | ||
83 | extern const struct nla_policy ifla_policy[IFLA_MAX+1]; | ||
84 | |||
81 | #define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind) | 85 | #define MODULE_ALIAS_RTNL_LINK(kind) MODULE_ALIAS("rtnl-link-" kind) |
82 | 86 | ||
83 | #endif | 87 | #endif |