]> begriffs open source - freertos/blob - FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/IPTraceMacroDefaults.h
Add FreeRTOS-Plus directory with new directory structure so it matches the FreeRTOS...
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-UDP / include / IPTraceMacroDefaults.h
1 /*\r
2  * FreeRTOS+UDP V1.0.0 (C) 2013 Real Time Engineers ltd.\r
3  *\r
4  * FreeRTOS+UDP is an add-on component to FreeRTOS.  It is not, in itself, part\r
5  * of the FreeRTOS kernel.  FreeRTOS+UDP is licensed separately from FreeRTOS,\r
6  * and uses a different license to FreeRTOS.  FreeRTOS+UDP uses a dual license\r
7  * model, information on which is provided below:\r
8  *\r
9  * - Open source licensing -\r
10  * FreeRTOS+UDP is a free download and may be used, modified and distributed\r
11  * without charge provided the user adheres to version two of the GNU General\r
12  * Public license (GPL) and does not remove the copyright notice or this text.\r
13  * The GPL V2 text is available on the gnu.org web site, and on the following\r
14  * URL: http://www.FreeRTOS.org/gpl-2.0.txt\r
15  *\r
16  * - Commercial licensing -\r
17  * Businesses and individuals who wish to incorporate FreeRTOS+UDP into\r
18  * proprietary software for redistribution in any form must first obtain a\r
19  * (very) low cost commercial license - and in-so-doing support the maintenance,\r
20  * support and further development of the FreeRTOS+UDP product.  Commercial\r
21  * licenses can be obtained from http://shop.freertos.org and do not require any\r
22  * source files to be changed.\r
23  *\r
24  * FreeRTOS+UDP is distributed in the hope that it will be useful.  You cannot\r
25  * use FreeRTOS+UDP unless you agree that you use the software 'as is'.\r
26  * FreeRTOS+UDP is provided WITHOUT ANY WARRANTY; without even the implied\r
27  * warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR\r
28  * PURPOSE. Real Time Engineers Ltd. disclaims all conditions and terms, be they\r
29  * implied, expressed, or statutory.\r
30  *\r
31  * 1 tab == 4 spaces!\r
32  *\r
33  * http://www.FreeRTOS.org\r
34  * http://www.FreeRTOS.org/udp\r
35  *\r
36  */\r
37 \r
38 /* This file provides default (empty) implementations for any IP trace macros\r
39 that are not defined by the user.  See\r
40 http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/UDP_IP_Trace.shtml */\r
41 \r
42 #ifndef UDP_TRACE_MACRO_DEFAULTS_H\r
43 #define UDP_TRACE_MACRO_DEFAULTS_H\r
44 \r
45 #ifndef iptraceNETWORK_DOWN\r
46         #define iptraceNETWORK_DOWN()\r
47 #endif\r
48 \r
49 #ifndef iptraceNETWORK_BUFFER_RELEASED\r
50         #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )\r
51 #endif\r
52 \r
53 #ifndef iptraceNETWORK_BUFFER_OBTAINED\r
54         #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )\r
55 #endif\r
56 \r
57 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR\r
58         #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )\r
59 #endif\r
60 \r
61 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER\r
62         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()\r
63 #endif\r
64 \r
65 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR\r
66         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()\r
67 #endif\r
68 \r
69 #ifndef iptraceCREATING_ARP_REQUEST\r
70         #define iptraceCREATING_ARP_REQUEST( ulIPAddress )\r
71 #endif\r
72 \r
73 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE\r
74         #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )\r
75 #endif\r
76 \r
77 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED\r
78         #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )\r
79 #endif\r
80 \r
81 #ifndef iptraceARP_TABLE_ENTRY_CREATED\r
82         #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )\r
83 #endif\r
84 \r
85 #ifndef iptraceSENDING_UDP_PACKET\r
86         #define iptraceSENDING_UDP_PACKET( ulIPAddress )\r
87 #endif\r
88 \r
89 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP\r
90         #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )\r
91 #endif\r
92 \r
93 #ifndef iptraceICMP_PACKET_RECEIVED\r
94         #define iptraceICMP_PACKET_RECEIVED()\r
95 #endif\r
96 \r
97 #ifndef iptraceSENDING_PING_REPLY\r
98         #define iptraceSENDING_PING_REPLY( ulIPAddress )\r
99 #endif\r
100 \r
101 #ifndef traceARP_PACKET_RECEIVED\r
102         #define traceARP_PACKET_RECEIVED()\r
103 #endif\r
104 \r
105 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY\r
106         #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )\r
107 #endif\r
108 \r
109 #ifndef iptraceSENDING_ARP_REPLY\r
110         #define iptraceSENDING_ARP_REPLY( ulIPAddress )\r
111 #endif\r
112 \r
113 #ifndef iptraceFAILED_TO_CREATE_SOCKET\r
114         #define iptraceFAILED_TO_CREATE_SOCKET()\r
115 #endif\r
116 \r
117 #ifndef iptraceRECVFROM_DISCARDING_BYTES\r
118         #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )\r
119 #endif\r
120 \r
121 #ifndef iptraceETHERNET_RX_EVENT_LOST\r
122         #define iptraceETHERNET_RX_EVENT_LOST()\r
123 #endif\r
124 \r
125 #ifndef iptraceSTACK_TX_EVENT_LOST\r
126         #define iptraceSTACK_TX_EVENT_LOST( xEvent )\r
127 #endif\r
128 \r
129 #ifndef iptraceNETWORK_EVENT_RECEIVED\r
130         #define iptraceNETWORK_EVENT_RECEIVED( eEvent )\r
131 #endif\r
132 \r
133 #ifndef iptraceBIND_FAILED\r
134         #define iptraceBIND_FAILED( xSocket, usPort )\r
135 #endif\r
136 \r
137 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS\r
138         #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )\r
139 #endif\r
140 \r
141 #ifndef iptraceSENDING_DHCP_DISCOVER\r
142         #define iptraceSENDING_DHCP_DISCOVER()\r
143 #endif\r
144 \r
145 #ifndef iptraceSENDING_DHCP_REQUEST\r
146         #define iptraceSENDING_DHCP_REQUEST()\r
147 #endif\r
148 \r
149 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT\r
150         #define iptraceNETWORK_INTERFACE_TRANSMIT()\r
151 #endif\r
152 \r
153 #ifndef iptraceNETWORK_INTERFACE_RECEIVE\r
154         #define iptraceNETWORK_INTERFACE_RECEIVE()\r
155 #endif\r
156 \r
157 #ifndef iptraceSENDING_DNS_REQUEST\r
158         #define iptraceSENDING_DNS_REQUEST()\r
159 #endif\r
160 \r
161 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
162         #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
163 #endif\r
164 \r
165 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS\r
166         #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0\r
167 #endif\r
168 \r
169 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP\r
170         #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )\r
171 #endif\r
172 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */\r