xref: /linux/include/net/selftests.h (revision de8c12110a130337c8e7e7b8250de0580e644dee)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NET_SELFTESTS
3 #define _NET_SELFTESTS
4 
5 #include <linux/ethtool.h>
6 
7 void net_selftest(struct net_device *ndev, struct ethtool_test *etest,
8 		  u64 *buf);
9 int net_selftest_get_count(void);
10 void net_selftest_get_strings(u8 *data);
11 
12 #endif /* _NET_SELFTESTS */
13