2 * FreeRTOS+UDP V1.0.0 (C) 2013 Real Time Engineers ltd.
\r
4 * This file is part of the FreeRTOS+UDP distribution. The FreeRTOS+UDP license
\r
5 * terms are different to the FreeRTOS license terms.
\r
7 * FreeRTOS+UDP uses a dual license model that allows the software to be used
\r
8 * under a standard GPL open source license, or a commercial license. The
\r
9 * standard GPL license (unlike the modified GPL license under which FreeRTOS
\r
10 * itself is distributed) requires that all software statically linked with
\r
11 * FreeRTOS+UDP is also distributed under the same GPL V2 license terms.
\r
12 * Details of both license options follow:
\r
14 * - Open source licensing -
\r
15 * FreeRTOS+UDP is a free download and may be used, modified, evaluated and
\r
16 * distributed without charge provided the user adheres to version two of the
\r
17 * GNU General Public License (GPL) and does not remove the copyright notice or
\r
18 * this text. The GPL V2 text is available on the gnu.org web site, and on the
\r
19 * following URL: http://www.FreeRTOS.org/gpl-2.0.txt.
\r
21 * - Commercial licensing -
\r
22 * Businesses and individuals that for commercial or other reasons cannot comply
\r
23 * with the terms of the GPL V2 license must obtain a commercial license before
\r
24 * incorporating FreeRTOS+UDP into proprietary software for distribution in any
\r
25 * form. Commercial licenses can be purchased from http://shop.freertos.org/udp
\r
26 * and do not require any source files to be changed.
\r
28 * FreeRTOS+UDP is distributed in the hope that it will be useful. You cannot
\r
29 * use FreeRTOS+UDP unless you agree that you use the software 'as is'.
\r
30 * FreeRTOS+UDP is provided WITHOUT ANY WARRANTY; without even the implied
\r
31 * warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
\r
32 * PURPOSE. Real Time Engineers Ltd. disclaims all conditions and terms, be they
\r
33 * implied, expressed, or statutory.
\r
35 * 1 tab == 4 spaces!
\r
37 * http://www.FreeRTOS.org
\r
38 * http://www.FreeRTOS.org/udp
\r
42 /* This file provides default (empty) implementations for any IP trace macros
\r
43 that are not defined by the user. See
\r
44 http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/UDP_IP_Trace.shtml */
\r
46 #ifndef UDP_TRACE_MACRO_DEFAULTS_H
\r
47 #define UDP_TRACE_MACRO_DEFAULTS_H
\r
49 #ifndef iptraceNETWORK_DOWN
\r
50 #define iptraceNETWORK_DOWN()
\r
53 #ifndef iptraceNETWORK_BUFFER_RELEASED
\r
54 #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )
\r
57 #ifndef iptraceNETWORK_BUFFER_OBTAINED
\r
58 #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )
\r
61 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR
\r
62 #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )
\r
65 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER
\r
66 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()
\r
69 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR
\r
70 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()
\r
73 #ifndef iptraceCREATING_ARP_REQUEST
\r
74 #define iptraceCREATING_ARP_REQUEST( ulIPAddress )
\r
77 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE
\r
78 #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )
\r
81 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED
\r
82 #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )
\r
85 #ifndef iptraceARP_TABLE_ENTRY_CREATED
\r
86 #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )
\r
89 #ifndef iptraceSENDING_UDP_PACKET
\r
90 #define iptraceSENDING_UDP_PACKET( ulIPAddress )
\r
93 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP
\r
94 #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )
\r
97 #ifndef iptraceICMP_PACKET_RECEIVED
\r
98 #define iptraceICMP_PACKET_RECEIVED()
\r
101 #ifndef iptraceSENDING_PING_REPLY
\r
102 #define iptraceSENDING_PING_REPLY( ulIPAddress )
\r
105 #ifndef traceARP_PACKET_RECEIVED
\r
106 #define traceARP_PACKET_RECEIVED()
\r
109 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY
\r
110 #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )
\r
113 #ifndef iptraceSENDING_ARP_REPLY
\r
114 #define iptraceSENDING_ARP_REPLY( ulIPAddress )
\r
117 #ifndef iptraceFAILED_TO_CREATE_SOCKET
\r
118 #define iptraceFAILED_TO_CREATE_SOCKET()
\r
121 #ifndef iptraceRECVFROM_DISCARDING_BYTES
\r
122 #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )
\r
125 #ifndef iptraceETHERNET_RX_EVENT_LOST
\r
126 #define iptraceETHERNET_RX_EVENT_LOST()
\r
129 #ifndef iptraceSTACK_TX_EVENT_LOST
\r
130 #define iptraceSTACK_TX_EVENT_LOST( xEvent )
\r
133 #ifndef iptraceNETWORK_EVENT_RECEIVED
\r
134 #define iptraceNETWORK_EVENT_RECEIVED( eEvent )
\r
137 #ifndef iptraceBIND_FAILED
\r
138 #define iptraceBIND_FAILED( xSocket, usPort )
\r
141 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS
\r
142 #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )
\r
145 #ifndef iptraceSENDING_DHCP_DISCOVER
\r
146 #define iptraceSENDING_DHCP_DISCOVER()
\r
149 #ifndef iptraceSENDING_DHCP_REQUEST
\r
150 #define iptraceSENDING_DHCP_REQUEST()
\r
153 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT
\r
154 #define iptraceNETWORK_INTERFACE_TRANSMIT()
\r
157 #ifndef iptraceNETWORK_INTERFACE_RECEIVE
\r
158 #define iptraceNETWORK_INTERFACE_RECEIVE()
\r
161 #ifndef iptraceSENDING_DNS_REQUEST
\r
162 #define iptraceSENDING_DNS_REQUEST()
\r
165 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR
\r
166 #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR
\r
169 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS
\r
170 #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0
\r
173 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP
\r
174 #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )
\r
176 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */
\r