Lines Matching refs:rtnl_link_ops
254 * __rtnl_link_register - Register rtnl_link_ops with rtnetlink.
255 * @ops: struct rtnl_link_ops * to register
263 int __rtnl_link_register(struct rtnl_link_ops *ops)
274 * rtnl_link_register - Register rtnl_link_ops with rtnetlink.
275 * @ops: struct rtnl_link_ops * to register
279 int rtnl_link_register(struct rtnl_link_ops *ops)
290 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops)
296 if (dev->rtnl_link_ops == ops)
302 void rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops)
311 * __rtnl_link_unregister - Unregister rtnl_link_ops from rtnetlink.
312 * @ops: struct rtnl_link_ops * to unregister
316 void __rtnl_link_unregister(struct rtnl_link_ops *ops)
328 * rtnl_link_unregister - Unregister rtnl_link_ops from rtnetlink.
329 * @ops: struct rtnl_link_ops * to unregister
331 void rtnl_link_unregister(struct rtnl_link_ops *ops)
339 static const struct rtnl_link_ops *rtnl_link_ops_get(const char *kind)
341 const struct rtnl_link_ops *ops;
352 const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
374 const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
904 if (dev->rtnl_link_ops) {
1326 const struct rtnl_link_ops *ops;
1351 ops = dev->rtnl_link_ops;
1380 char *ifname, const struct rtnl_link_ops *ops, struct nlattr *tb[])
1399 dev->rtnl_link_ops = ops;
1436 const struct rtnl_link_ops *ops;
1514 if (!ops || ops != dev->rtnl_link_ops ||