Linux 6.10-rc3
[linux-block.git] / net / core / net-sysfs.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
342709ef
PE
2#ifndef __NET_SYSFS_H__
3#define __NET_SYSFS_H__
4
a48d4bb0 5int __init netdev_kobject_init(void);
342709ef
PE
6int netdev_register_kobject(struct net_device *);
7void netdev_unregister_kobject(struct net_device *);
62fe0b40 8int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
1d24eb48
TH
9int netdev_queue_update_kobjects(struct net_device *net,
10 int old_num, int new_num);
e6dee9f3
CB
11int netdev_change_owner(struct net_device *, const struct net *net_old,
12 const struct net *net_new);
1d24eb48 13
62fe0b40 14#endif