2 * FreeRTOS+UDP V1.0.1 (C) 2013 Real Time Engineers ltd.
\r
3 * All rights reserved
\r
5 * This file is part of the FreeRTOS+UDP distribution. The FreeRTOS+UDP license
\r
6 * terms are different to the FreeRTOS license terms.
\r
8 * FreeRTOS+UDP uses a dual license model that allows the software to be used
\r
9 * under a standard GPL open source license, or a commercial license. The
\r
10 * standard GPL license (unlike the modified GPL license under which FreeRTOS
\r
11 * itself is distributed) requires that all software statically linked with
\r
12 * FreeRTOS+UDP is also distributed under the same GPL V2 license terms.
\r
13 * Details of both license options follow:
\r
15 * - Open source licensing -
\r
16 * FreeRTOS+UDP is a free download and may be used, modified, evaluated and
\r
17 * distributed without charge provided the user adheres to version two of the
\r
18 * GNU General Public License (GPL) and does not remove the copyright notice or
\r
19 * this text. The GPL V2 text is available on the gnu.org web site, and on the
\r
20 * following URL: http://www.FreeRTOS.org/gpl-2.0.txt.
\r
22 * - Commercial licensing -
\r
23 * Businesses and individuals that for commercial or other reasons cannot comply
\r
24 * with the terms of the GPL V2 license must obtain a commercial license before
\r
25 * incorporating FreeRTOS+UDP into proprietary software for distribution in any
\r
26 * form. Commercial licenses can be purchased from http://shop.freertos.org/udp
\r
27 * and do not require any source files to be changed.
\r
29 * FreeRTOS+UDP is distributed in the hope that it will be useful. You cannot
\r
30 * use FreeRTOS+UDP unless you agree that you use the software 'as is'.
\r
31 * FreeRTOS+UDP is provided WITHOUT ANY WARRANTY; without even the implied
\r
32 * warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
\r
33 * PURPOSE. Real Time Engineers Ltd. disclaims all conditions and terms, be they
\r
34 * implied, expressed, or statutory.
\r
36 * 1 tab == 4 spaces!
\r
38 * http://www.FreeRTOS.org
\r
39 * http://www.FreeRTOS.org/udp
\r
43 /* This file provides default (empty) implementations for any IP trace macros
\r
44 that are not defined by the user. See
\r
45 http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/UDP_IP_Trace.shtml */
\r
47 #ifndef UDP_TRACE_MACRO_DEFAULTS_H
\r
48 #define UDP_TRACE_MACRO_DEFAULTS_H
\r
50 #ifndef iptraceNETWORK_DOWN
\r
51 #define iptraceNETWORK_DOWN()
\r
54 #ifndef iptraceNETWORK_BUFFER_RELEASED
\r
55 #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )
\r
58 #ifndef iptraceNETWORK_BUFFER_OBTAINED
\r
59 #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )
\r
62 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR
\r
63 #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )
\r
66 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER
\r
67 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()
\r
70 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR
\r
71 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()
\r
74 #ifndef iptraceCREATING_ARP_REQUEST
\r
75 #define iptraceCREATING_ARP_REQUEST( ulIPAddress )
\r
78 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE
\r
79 #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )
\r
82 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED
\r
83 #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )
\r
86 #ifndef iptraceARP_TABLE_ENTRY_CREATED
\r
87 #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )
\r
90 #ifndef iptraceSENDING_UDP_PACKET
\r
91 #define iptraceSENDING_UDP_PACKET( ulIPAddress )
\r
94 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP
\r
95 #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )
\r
98 #ifndef iptraceICMP_PACKET_RECEIVED
\r
99 #define iptraceICMP_PACKET_RECEIVED()
\r
102 #ifndef iptraceSENDING_PING_REPLY
\r
103 #define iptraceSENDING_PING_REPLY( ulIPAddress )
\r
106 #ifndef traceARP_PACKET_RECEIVED
\r
107 #define traceARP_PACKET_RECEIVED()
\r
110 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY
\r
111 #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )
\r
114 #ifndef iptraceSENDING_ARP_REPLY
\r
115 #define iptraceSENDING_ARP_REPLY( ulIPAddress )
\r
118 #ifndef iptraceFAILED_TO_CREATE_SOCKET
\r
119 #define iptraceFAILED_TO_CREATE_SOCKET()
\r
122 #ifndef iptraceRECVFROM_DISCARDING_BYTES
\r
123 #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )
\r
126 #ifndef iptraceETHERNET_RX_EVENT_LOST
\r
127 #define iptraceETHERNET_RX_EVENT_LOST()
\r
130 #ifndef iptraceSTACK_TX_EVENT_LOST
\r
131 #define iptraceSTACK_TX_EVENT_LOST( xEvent )
\r
134 #ifndef iptraceNETWORK_EVENT_RECEIVED
\r
135 #define iptraceNETWORK_EVENT_RECEIVED( eEvent )
\r
138 #ifndef iptraceBIND_FAILED
\r
139 #define iptraceBIND_FAILED( xSocket, usPort )
\r
142 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS
\r
143 #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )
\r
146 #ifndef iptraceSENDING_DHCP_DISCOVER
\r
147 #define iptraceSENDING_DHCP_DISCOVER()
\r
150 #ifndef iptraceSENDING_DHCP_REQUEST
\r
151 #define iptraceSENDING_DHCP_REQUEST()
\r
154 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT
\r
155 #define iptraceNETWORK_INTERFACE_TRANSMIT()
\r
158 #ifndef iptraceNETWORK_INTERFACE_RECEIVE
\r
159 #define iptraceNETWORK_INTERFACE_RECEIVE()
\r
162 #ifndef iptraceSENDING_DNS_REQUEST
\r
163 #define iptraceSENDING_DNS_REQUEST()
\r
166 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR
\r
167 #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR()
\r
170 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS
\r
171 #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0
\r
174 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP
\r
175 #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )
\r
178 #ifndef iptraceRECVFROM_TIMEOUT
\r
179 #define iptraceRECVFROM_TIMEOUT()
\r
182 #ifndef iptraceNO_BUFFER_FOR_SENDTO
\r
183 #define iptraceNO_BUFFER_FOR_SENDTO()
\r
186 #ifndef iptraceSENDTO_SOCKET_NOT_BOUND
\r
187 #define iptraceSENDTO_SOCKET_NOT_BOUND()
\r
190 #ifndef iptraceSENDTO_DATA_TOO_LONG
\r
191 #define iptraceSENDTO_DATA_TOO_LONG()
\r
194 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */
\r