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 pure GPL open source license (as opposed to the modified GPL license
\r
9 * under which FreeRTOS is distributed) or a commercial license. Details of
\r
10 * both license options follow:
\r
12 * - Open source licensing -
\r
13 * FreeRTOS+UDP is a free download and may be used, modified, evaluated and
\r
14 * distributed without charge provided the user adheres to version two of the
\r
15 * GNU General Public License (GPL) and does not remove the copyright notice or
\r
16 * this text. The GPL V2 text is available on the gnu.org web site, and on the
\r
17 * following URL: http://www.FreeRTOS.org/gpl-2.0.txt.
\r
19 * - Commercial licensing -
\r
20 * Businesses and individuals that for commercial or other reasons cannot comply
\r
21 * with the terms of the GPL V2 license must obtain a commercial license before
\r
22 * incorporating FreeRTOS+UDP into proprietary software for distribution in any
\r
23 * form. Commercial licenses can be purchased from http://shop.freertos.org/udp
\r
24 * and do not require any source files to be changed.
\r
26 * FreeRTOS+UDP is distributed in the hope that it will be useful. You cannot
\r
27 * use FreeRTOS+UDP unless you agree that you use the software 'as is'.
\r
28 * FreeRTOS+UDP is provided WITHOUT ANY WARRANTY; without even the implied
\r
29 * warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
\r
30 * PURPOSE. Real Time Engineers Ltd. disclaims all conditions and terms, be they
\r
31 * implied, expressed, or statutory.
\r
33 * 1 tab == 4 spaces!
\r
35 * http://www.FreeRTOS.org
\r
36 * http://www.FreeRTOS.org/udp
\r
40 /* This file provides default (empty) implementations for any IP trace macros
\r
41 that are not defined by the user. See
\r
42 http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/UDP_IP_Trace.shtml */
\r
44 #ifndef UDP_TRACE_MACRO_DEFAULTS_H
\r
45 #define UDP_TRACE_MACRO_DEFAULTS_H
\r
47 #ifndef iptraceNETWORK_DOWN
\r
48 #define iptraceNETWORK_DOWN()
\r
51 #ifndef iptraceNETWORK_BUFFER_RELEASED
\r
52 #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )
\r
55 #ifndef iptraceNETWORK_BUFFER_OBTAINED
\r
56 #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )
\r
59 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR
\r
60 #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )
\r
63 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER
\r
64 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()
\r
67 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR
\r
68 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()
\r
71 #ifndef iptraceCREATING_ARP_REQUEST
\r
72 #define iptraceCREATING_ARP_REQUEST( ulIPAddress )
\r
75 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE
\r
76 #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )
\r
79 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED
\r
80 #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )
\r
83 #ifndef iptraceARP_TABLE_ENTRY_CREATED
\r
84 #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )
\r
87 #ifndef iptraceSENDING_UDP_PACKET
\r
88 #define iptraceSENDING_UDP_PACKET( ulIPAddress )
\r
91 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP
\r
92 #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )
\r
95 #ifndef iptraceICMP_PACKET_RECEIVED
\r
96 #define iptraceICMP_PACKET_RECEIVED()
\r
99 #ifndef iptraceSENDING_PING_REPLY
\r
100 #define iptraceSENDING_PING_REPLY( ulIPAddress )
\r
103 #ifndef traceARP_PACKET_RECEIVED
\r
104 #define traceARP_PACKET_RECEIVED()
\r
107 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY
\r
108 #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )
\r
111 #ifndef iptraceSENDING_ARP_REPLY
\r
112 #define iptraceSENDING_ARP_REPLY( ulIPAddress )
\r
115 #ifndef iptraceFAILED_TO_CREATE_SOCKET
\r
116 #define iptraceFAILED_TO_CREATE_SOCKET()
\r
119 #ifndef iptraceRECVFROM_DISCARDING_BYTES
\r
120 #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )
\r
123 #ifndef iptraceETHERNET_RX_EVENT_LOST
\r
124 #define iptraceETHERNET_RX_EVENT_LOST()
\r
127 #ifndef iptraceSTACK_TX_EVENT_LOST
\r
128 #define iptraceSTACK_TX_EVENT_LOST( xEvent )
\r
131 #ifndef iptraceNETWORK_EVENT_RECEIVED
\r
132 #define iptraceNETWORK_EVENT_RECEIVED( eEvent )
\r
135 #ifndef iptraceBIND_FAILED
\r
136 #define iptraceBIND_FAILED( xSocket, usPort )
\r
139 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS
\r
140 #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )
\r
143 #ifndef iptraceSENDING_DHCP_DISCOVER
\r
144 #define iptraceSENDING_DHCP_DISCOVER()
\r
147 #ifndef iptraceSENDING_DHCP_REQUEST
\r
148 #define iptraceSENDING_DHCP_REQUEST()
\r
151 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT
\r
152 #define iptraceNETWORK_INTERFACE_TRANSMIT()
\r
155 #ifndef iptraceNETWORK_INTERFACE_RECEIVE
\r
156 #define iptraceNETWORK_INTERFACE_RECEIVE()
\r
159 #ifndef iptraceSENDING_DNS_REQUEST
\r
160 #define iptraceSENDING_DNS_REQUEST()
\r
163 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR
\r
164 #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR
\r
167 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS
\r
168 #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0
\r
171 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP
\r
172 #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )
\r
174 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */
\r