1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 2 3 #ifndef __NET_MCTP_TEST_UTILS_H 3 #ifndef __NET_MCTP_TEST_UTILS_H 4 #define __NET_MCTP_TEST_UTILS_H 4 #define __NET_MCTP_TEST_UTILS_H 5 5 6 #include <kunit/test.h> 6 #include <kunit/test.h> 7 7 8 #define MCTP_DEV_TEST_MTU 68 8 #define MCTP_DEV_TEST_MTU 68 9 9 10 struct mctp_test_dev { 10 struct mctp_test_dev { 11 struct net_device *ndev; 11 struct net_device *ndev; 12 struct mctp_dev *mdev; 12 struct mctp_dev *mdev; 13 }; 13 }; 14 14 15 struct mctp_test_dev; 15 struct mctp_test_dev; 16 16 17 struct mctp_test_dev *mctp_test_create_dev(voi 17 struct mctp_test_dev *mctp_test_create_dev(void); 18 void mctp_test_destroy_dev(struct mctp_test_de 18 void mctp_test_destroy_dev(struct mctp_test_dev *dev); 19 19 20 #endif /* __NET_MCTP_TEST_UTILS_H */ 20 #endif /* __NET_MCTP_TEST_UTILS_H */ 21 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.