]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/IPTraceMacroDefaults.h
29b42df4ed054daa52db51fcf3d638872d48882f
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-UDP / include / IPTraceMacroDefaults.h
1 /*\r
2  * FreeRTOS+UDP V1.0.1 (C) 2013 Real Time Engineers ltd.\r
3  * All rights reserved\r
4  *\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
7  *\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
14  *\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
21  *\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
28  *\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
35  *\r
36  * 1 tab == 4 spaces!\r
37  *\r
38  * http://www.FreeRTOS.org\r
39  * http://www.FreeRTOS.org/udp\r
40  *\r
41  */\r
42 \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
46 \r
47 #ifndef UDP_TRACE_MACRO_DEFAULTS_H\r
48 #define UDP_TRACE_MACRO_DEFAULTS_H\r
49 \r
50 #ifndef iptraceNETWORK_DOWN\r
51         #define iptraceNETWORK_DOWN()\r
52 #endif\r
53 \r
54 #ifndef iptraceNETWORK_BUFFER_RELEASED\r
55         #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )\r
56 #endif\r
57 \r
58 #ifndef iptraceNETWORK_BUFFER_OBTAINED\r
59         #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )\r
60 #endif\r
61 \r
62 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR\r
63         #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )\r
64 #endif\r
65 \r
66 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER\r
67         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()\r
68 #endif\r
69 \r
70 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR\r
71         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()\r
72 #endif\r
73 \r
74 #ifndef iptraceCREATING_ARP_REQUEST\r
75         #define iptraceCREATING_ARP_REQUEST( ulIPAddress )\r
76 #endif\r
77 \r
78 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE\r
79         #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )\r
80 #endif\r
81 \r
82 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED\r
83         #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )\r
84 #endif\r
85 \r
86 #ifndef iptraceARP_TABLE_ENTRY_CREATED\r
87         #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )\r
88 #endif\r
89 \r
90 #ifndef iptraceSENDING_UDP_PACKET\r
91         #define iptraceSENDING_UDP_PACKET( ulIPAddress )\r
92 #endif\r
93 \r
94 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP\r
95         #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )\r
96 #endif\r
97 \r
98 #ifndef iptraceICMP_PACKET_RECEIVED\r
99         #define iptraceICMP_PACKET_RECEIVED()\r
100 #endif\r
101 \r
102 #ifndef iptraceSENDING_PING_REPLY\r
103         #define iptraceSENDING_PING_REPLY( ulIPAddress )\r
104 #endif\r
105 \r
106 #ifndef traceARP_PACKET_RECEIVED\r
107         #define traceARP_PACKET_RECEIVED()\r
108 #endif\r
109 \r
110 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY\r
111         #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )\r
112 #endif\r
113 \r
114 #ifndef iptraceSENDING_ARP_REPLY\r
115         #define iptraceSENDING_ARP_REPLY( ulIPAddress )\r
116 #endif\r
117 \r
118 #ifndef iptraceFAILED_TO_CREATE_SOCKET\r
119         #define iptraceFAILED_TO_CREATE_SOCKET()\r
120 #endif\r
121 \r
122 #ifndef iptraceRECVFROM_DISCARDING_BYTES\r
123         #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )\r
124 #endif\r
125 \r
126 #ifndef iptraceETHERNET_RX_EVENT_LOST\r
127         #define iptraceETHERNET_RX_EVENT_LOST()\r
128 #endif\r
129 \r
130 #ifndef iptraceSTACK_TX_EVENT_LOST\r
131         #define iptraceSTACK_TX_EVENT_LOST( xEvent )\r
132 #endif\r
133 \r
134 #ifndef iptraceNETWORK_EVENT_RECEIVED\r
135         #define iptraceNETWORK_EVENT_RECEIVED( eEvent )\r
136 #endif\r
137 \r
138 #ifndef iptraceBIND_FAILED\r
139         #define iptraceBIND_FAILED( xSocket, usPort )\r
140 #endif\r
141 \r
142 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS\r
143         #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )\r
144 #endif\r
145 \r
146 #ifndef iptraceSENDING_DHCP_DISCOVER\r
147         #define iptraceSENDING_DHCP_DISCOVER()\r
148 #endif\r
149 \r
150 #ifndef iptraceSENDING_DHCP_REQUEST\r
151         #define iptraceSENDING_DHCP_REQUEST()\r
152 #endif\r
153 \r
154 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT\r
155         #define iptraceNETWORK_INTERFACE_TRANSMIT()\r
156 #endif\r
157 \r
158 #ifndef iptraceNETWORK_INTERFACE_RECEIVE\r
159         #define iptraceNETWORK_INTERFACE_RECEIVE()\r
160 #endif\r
161 \r
162 #ifndef iptraceSENDING_DNS_REQUEST\r
163         #define iptraceSENDING_DNS_REQUEST()\r
164 #endif\r
165 \r
166 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
167         #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR()\r
168 #endif\r
169 \r
170 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS\r
171         #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0\r
172 #endif\r
173 \r
174 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP\r
175         #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )\r
176 #endif\r
177 \r
178 #ifndef iptraceRECVFROM_TIMEOUT\r
179         #define iptraceRECVFROM_TIMEOUT()\r
180 #endif\r
181 \r
182 #ifndef iptraceNO_BUFFER_FOR_SENDTO\r
183         #define iptraceNO_BUFFER_FOR_SENDTO()\r
184 #endif\r
185 \r
186 #ifndef iptraceSENDTO_SOCKET_NOT_BOUND\r
187         #define iptraceSENDTO_SOCKET_NOT_BOUND()\r
188 #endif\r
189 \r
190 #ifndef iptraceSENDTO_DATA_TOO_LONG\r
191         #define iptraceSENDTO_DATA_TOO_LONG()\r
192 #endif\r
193 \r
194 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */\r