Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Pavel Emelyanov | 342709e | 2007-10-23 21:14:45 -0700 | [diff] [blame] | 2 | #ifndef __NET_SYSFS_H__ |
| 3 | #define __NET_SYSFS_H__ |
| 4 | |
Daniel Borkmann | a48d4bb | 2014-01-06 01:20:11 +0100 | [diff] [blame] | 5 | int __init netdev_kobject_init(void); |
Pavel Emelyanov | 342709e | 2007-10-23 21:14:45 -0700 | [diff] [blame] | 6 | int netdev_register_kobject(struct net_device *); |
| 7 | void netdev_unregister_kobject(struct net_device *); |
Ben Hutchings | 62fe0b4 | 2010-09-27 08:24:33 +0000 | [diff] [blame] | 8 | int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num); |
Tom Herbert | 1d24eb4 | 2010-11-21 13:17:27 +0000 | [diff] [blame] | 9 | int netdev_queue_update_kobjects(struct net_device *net, |
| 10 | int old_num, int new_num); |
| 11 | |
Ben Hutchings | 62fe0b4 | 2010-09-27 08:24:33 +0000 | [diff] [blame] | 12 | #endif |