https://github.com/torvalds/linux
Raw File
Tip revision: ceaa837f96adb69c0df0397937cd74991d5d821a authored by Linus Torvalds on 12 February 2023, 22:10:17 UTC
Linux 6.2-rc8
Tip revision: ceaa837
net-sysfs.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NET_SYSFS_H__
#define __NET_SYSFS_H__

int __init netdev_kobject_init(void);
int netdev_register_kobject(struct net_device *);
void netdev_unregister_kobject(struct net_device *);
int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
int netdev_queue_update_kobjects(struct net_device *net,
				 int old_num, int new_num);
int netdev_change_owner(struct net_device *, const struct net *net_old,
			const struct net *net_new);

#endif
back to top