]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Labs/Source/FreeRTOS-Plus-TCP/include/IPTraceMacroDefaults.h
Add the Labs projects provided in the V10.2.1_191129 zip file.
[freertos] / FreeRTOS-Labs / Source / FreeRTOS-Plus-TCP / include / IPTraceMacroDefaults.h
diff --git a/FreeRTOS-Labs/Source/FreeRTOS-Plus-TCP/include/IPTraceMacroDefaults.h b/FreeRTOS-Labs/Source/FreeRTOS-Plus-TCP/include/IPTraceMacroDefaults.h
new file mode 100644 (file)
index 0000000..d17299d
--- /dev/null
@@ -0,0 +1,193 @@
+/*\r
+ * FreeRTOS+TCP 191100 experimental\r
+ * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
+ *\r
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
+ * this software and associated documentation files (the "Software"), to deal in\r
+ * the Software without restriction, including without limitation the rights to\r
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
+ * the Software, and to permit persons to whom the Software is furnished to do so,\r
+ * subject to the following conditions:\r
+ *\r
+ * The above copyright notice and this permission notice shall be included in all\r
+ * copies or substantial portions of the Software.\r
+ *\r
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+ *\r
+ * http://aws.amazon.com/freertos\r
+ * http://www.FreeRTOS.org\r
+ */\r
+\r
+/* This file provides default (empty) implementations for any IP trace macros\r
+that are not defined by the user.  See\r
+http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_IP_Trace.html */\r
+\r
+#ifndef UDP_TRACE_MACRO_DEFAULTS_H\r
+#define UDP_TRACE_MACRO_DEFAULTS_H\r
+\r
+#ifndef iptraceNETWORK_DOWN\r
+       #define iptraceNETWORK_DOWN()\r
+#endif\r
+\r
+#ifndef iptraceNETWORK_BUFFER_RELEASED\r
+       #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )\r
+#endif\r
+\r
+#ifndef iptraceNETWORK_BUFFER_OBTAINED\r
+       #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )\r
+#endif\r
+\r
+#ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR\r
+       #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )\r
+#endif\r
+\r
+#ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER\r
+       #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()\r
+#endif\r
+\r
+#ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR\r
+       #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()\r
+#endif\r
+\r
+#ifndef iptraceCREATING_ARP_REQUEST\r
+       #define iptraceCREATING_ARP_REQUEST( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE\r
+       #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptraceARP_TABLE_ENTRY_EXPIRED\r
+       #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptraceARP_TABLE_ENTRY_CREATED\r
+       #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )\r
+#endif\r
+\r
+#ifndef iptraceSENDING_UDP_PACKET\r
+       #define iptraceSENDING_UDP_PACKET( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP\r
+       #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptraceICMP_PACKET_RECEIVED\r
+       #define iptraceICMP_PACKET_RECEIVED()\r
+#endif\r
+\r
+#ifndef iptraceSENDING_PING_REPLY\r
+       #define iptraceSENDING_PING_REPLY( ulIPAddress )\r
+#endif\r
+\r
+#ifndef traceARP_PACKET_RECEIVED\r
+       #define traceARP_PACKET_RECEIVED()\r
+#endif\r
+\r
+#ifndef iptracePROCESSING_RECEIVED_ARP_REPLY\r
+       #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptraceSENDING_ARP_REPLY\r
+       #define iptraceSENDING_ARP_REPLY( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptraceFAILED_TO_CREATE_SOCKET\r
+       #define iptraceFAILED_TO_CREATE_SOCKET()\r
+#endif\r
+\r
+#ifndef iptraceFAILED_TO_CREATE_EVENT_GROUP\r
+       #define iptraceFAILED_TO_CREATE_EVENT_GROUP()\r
+#endif\r
+\r
+#ifndef iptraceRECVFROM_DISCARDING_BYTES\r
+       #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )\r
+#endif\r
+\r
+#ifndef iptraceETHERNET_RX_EVENT_LOST\r
+       #define iptraceETHERNET_RX_EVENT_LOST()\r
+#endif\r
+\r
+#ifndef iptraceSTACK_TX_EVENT_LOST\r
+       #define iptraceSTACK_TX_EVENT_LOST( xEvent )\r
+#endif\r
+\r
+#ifndef iptraceNETWORK_EVENT_RECEIVED\r
+       #define iptraceNETWORK_EVENT_RECEIVED( eEvent )\r
+#endif\r
+\r
+#ifndef iptraceBIND_FAILED\r
+       #define iptraceBIND_FAILED( xSocket, usPort )\r
+#endif\r
+\r
+#ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS\r
+       #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )\r
+#endif\r
+\r
+#ifndef iptraceSENDING_DHCP_DISCOVER\r
+       #define iptraceSENDING_DHCP_DISCOVER()\r
+#endif\r
+\r
+#ifndef iptraceSENDING_DHCP_REQUEST\r
+       #define iptraceSENDING_DHCP_REQUEST()\r
+#endif\r
+\r
+#ifndef iptraceDHCP_SUCCEDEED\r
+       #define iptraceDHCP_SUCCEDEED( address )\r
+#endif\r
+\r
+#ifndef iptraceNETWORK_INTERFACE_TRANSMIT\r
+       #define iptraceNETWORK_INTERFACE_TRANSMIT()\r
+#endif\r
+\r
+#ifndef iptraceNETWORK_INTERFACE_RECEIVE\r
+       #define iptraceNETWORK_INTERFACE_RECEIVE()\r
+#endif\r
+\r
+#ifndef iptraceSENDING_DNS_REQUEST\r
+       #define iptraceSENDING_DNS_REQUEST()\r
+#endif\r
+\r
+#ifndef        iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
+       #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR()\r
+#endif\r
+\r
+#ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS\r
+       #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0\r
+#endif\r
+\r
+#ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP\r
+       #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )\r
+#endif\r
+\r
+#ifndef pvPortMallocSocket\r
+       #define pvPortMallocSocket(xSize) pvPortMalloc( ( xSize ) )\r
+#endif\r
+\r
+#ifndef iptraceRECVFROM_TIMEOUT\r
+       #define iptraceRECVFROM_TIMEOUT()\r
+#endif\r
+\r
+#ifndef iptraceRECVFROM_INTERRUPTED\r
+       #define iptraceRECVFROM_INTERRUPTED()\r
+#endif\r
+\r
+#ifndef iptraceNO_BUFFER_FOR_SENDTO\r
+       #define iptraceNO_BUFFER_FOR_SENDTO()\r
+#endif\r
+\r
+#ifndef iptraceSENDTO_SOCKET_NOT_BOUND\r
+       #define iptraceSENDTO_SOCKET_NOT_BOUND()\r
+#endif\r
+\r
+#ifndef iptraceSENDTO_DATA_TOO_LONG\r
+       #define iptraceSENDTO_DATA_TOO_LONG()\r
+#endif\r
+\r
+#endif /* UDP_TRACE_MACRO_DEFAULTS_H */\r