projects/linux·blob master · refs

18 lines · 652 B

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_uevent_add(struct net_device *dev);
8void netdev_unregister_kobject(struct net_device *);
9int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
10int netdev_queue_update_kobjects(struct net_device *net,
11 int old_num, int new_num);
12int netdev_change_owner(struct net_device *, const struct net *net_old,
13 const struct net *net_new);
14
15extern struct mutex rps_default_mask_mutex;
16
17DECLARE_STATIC_KEY_FALSE(skb_defer_disable_key);
18#endif