1 /* 2 * Copyright (c) 2020 Friedt Professional Engineering Services, Inc 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef TEST_SOCKETPAIR_THREAD_H_ 8 #define TEST_SOCKETPAIR_THREAD_H_ 9 10 #include <errno.h> 11 #include <string.h> 12 13 #include <zephyr/logging/log.h> 14 #include <zephyr/posix/fcntl.h> 15 #include <zephyr/net/socket.h> 16 #include <zephyr/sys/util.h> 17 #include <zephyr/ztest.h> 18 19 #if !defined(_main_defined) 20 LOG_MODULE_DECLARE(net_test, CONFIG_NET_SOCKETS_LOG_LEVEL); 21 #endif 22 23 struct net_socketpair_fixture { 24 int sv[2]; 25 }; 26 27 #endif /* TEST_SOCKETPAIR_THREAD_H_ */ 28