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