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