123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /* wolfssl_thread_entry.h
- *
- * Copyright (C) 2006-2023 wolfSSL Inc.
- *
- * This file is part of wolfSSL.
- *
- * wolfSSL is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * wolfSSL is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
- */
- #ifndef WOLFSSL_THREAD_ENTRY_H_
- #define WOLFSSL_THREAD_ENTRY_H_
- #include <errno.h>
- #include <wolfssl/certs_test.h>
- extern uint8_t g_ether0_mac_address[6];
- static const byte ucIPAddress[4] = { 192, 168, 11, 241 };
- static const byte ucNetMask[4] = { 255, 255, 255, 0 };
- static const byte ucGatewayAddress[4] = { 192, 168, 11, 1 };
- static const byte ucDNSServerAddress[4] = { 192, 168, 11, 1 };
- /* Client connects to the server with these details. */
- #define SERVER_IP "192.168.11.40"
- #define DEFAULT_PORT 11111
- #define CERT ca_cert_der_1024
- #define SIZEOF_CERT sizeof_ca_cert_der_1024
- #define FR_SOCKET_SUCCESS 0
- #endif /* WOLFSSL_THREAD_ENTRY_H_ */
|