Loading...
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
1#ifndef __NET_SYSFS_H__
2#define __NET_SYSFS_H__
3
4int netdev_kobject_init(void);
5int netdev_register_kobject(struct net_device *);
6void netdev_unregister_kobject(struct net_device *);
7int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
8int netdev_queue_update_kobjects(struct net_device *net,
9 int old_num, int new_num);
10
11#endif