repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
15 lines
510 B
C
15 lines
510 B
C
/* 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
|