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

source code of linux/net/core/net-sysfs.h