1*ded21b72SJeremy Kerr /* SPDX-License-Identifier: GPL-2.0 */ 2*ded21b72SJeremy Kerr 3*ded21b72SJeremy Kerr #ifndef __NET_MCTP_TEST_UTILS_H 4*ded21b72SJeremy Kerr #define __NET_MCTP_TEST_UTILS_H 5*ded21b72SJeremy Kerr 6*ded21b72SJeremy Kerr #include <kunit/test.h> 7*ded21b72SJeremy Kerr 8*ded21b72SJeremy Kerr #define MCTP_DEV_TEST_MTU 68 9*ded21b72SJeremy Kerr 10*ded21b72SJeremy Kerr struct mctp_test_dev { 11*ded21b72SJeremy Kerr struct net_device *ndev; 12*ded21b72SJeremy Kerr struct mctp_dev *mdev; 13*ded21b72SJeremy Kerr }; 14*ded21b72SJeremy Kerr 15*ded21b72SJeremy Kerr struct mctp_test_dev; 16*ded21b72SJeremy Kerr 17*ded21b72SJeremy Kerr struct mctp_test_dev *mctp_test_create_dev(void); 18*ded21b72SJeremy Kerr void mctp_test_destroy_dev(struct mctp_test_dev *dev); 19*ded21b72SJeremy Kerr 20*ded21b72SJeremy Kerr #endif /* __NET_MCTP_TEST_UTILS_H */ 21