xref: /openbmc/linux/net/core/net-sysfs.h (revision a5b2c10c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NET_SYSFS_H__
3 #define __NET_SYSFS_H__
4 
5 int __init netdev_kobject_init(void);
6 int netdev_register_kobject(struct net_device *);
7 void netdev_unregister_kobject(struct net_device *);
8 int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
9 int netdev_queue_update_kobjects(struct net_device *net,
10 				 int old_num, int new_num);
11 int netdev_change_owner(struct net_device *, const struct net *net_old,
12 			const struct net *net_new);
13 
14 #endif
15