blob: 006876c7b78dae8470bb7aa85ade29922d77f801 [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);
11
Ben Hutchings62fe0b42010-09-27 08:24:33 +000012#endif