blob: 8a5b04c2699aaee13ccc3a5b1543eecd0fc10d29 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Pavel Emelyanov342709e2007-10-23 21:14:45 -07002#ifndef __NET_SYSFS_H__
3#define __NET_SYSFS_H__
4
Daniel Borkmanna48d4bb2014-01-06 01:20:11 +01005int __init netdev_kobject_init(void);
Pavel Emelyanov342709e2007-10-23 21:14:45 -07006int netdev_register_kobject(struct net_device *);
7void netdev_unregister_kobject(struct net_device *);
Ben Hutchings62fe0b42010-09-27 08:24:33 +00008int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
Tom Herbert1d24eb42010-11-21 13:17:27 +00009int netdev_queue_update_kobjects(struct net_device *net,
10 int old_num, int new_num);
Christian Braunere6dee9f2020-02-27 04:37:17 +010011int netdev_change_owner(struct net_device *, const struct net *net_old,
12 const struct net *net_new);
Tom Herbert1d24eb42010-11-21 13:17:27 +000013
Ben Hutchings62fe0b42010-09-27 08:24:33 +000014#endif