]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/IPTraceMacroDefaults.h
Slight modification to license blub text in header comments.
[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  * This file is part of the FreeRTOS+UDP distribution.  The FreeRTOS+UDP license\r
5  * terms are different to the FreeRTOS license terms.\r
6  *\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
13  *\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
20  *\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
27  *\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
34  *\r
35  * 1 tab == 4 spaces!\r
36  *\r
37  * http://www.FreeRTOS.org\r
38  * http://www.FreeRTOS.org/udp\r
39  *\r
40  */\r
41 \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
45 \r
46 #ifndef UDP_TRACE_MACRO_DEFAULTS_H\r
47 #define UDP_TRACE_MACRO_DEFAULTS_H\r
48 \r
49 #ifndef iptraceNETWORK_DOWN\r
50         #define iptraceNETWORK_DOWN()\r
51 #endif\r
52 \r
53 #ifndef iptraceNETWORK_BUFFER_RELEASED\r
54         #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )\r
55 #endif\r
56 \r
57 #ifndef iptraceNETWORK_BUFFER_OBTAINED\r
58         #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )\r
59 #endif\r
60 \r
61 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR\r
62         #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )\r
63 #endif\r
64 \r
65 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER\r
66         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()\r
67 #endif\r
68 \r
69 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR\r
70         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()\r
71 #endif\r
72 \r
73 #ifndef iptraceCREATING_ARP_REQUEST\r
74         #define iptraceCREATING_ARP_REQUEST( ulIPAddress )\r
75 #endif\r
76 \r
77 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE\r
78         #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )\r
79 #endif\r
80 \r
81 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED\r
82         #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )\r
83 #endif\r
84 \r
85 #ifndef iptraceARP_TABLE_ENTRY_CREATED\r
86         #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )\r
87 #endif\r
88 \r
89 #ifndef iptraceSENDING_UDP_PACKET\r
90         #define iptraceSENDING_UDP_PACKET( ulIPAddress )\r
91 #endif\r
92 \r
93 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP\r
94         #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )\r
95 #endif\r
96 \r
97 #ifndef iptraceICMP_PACKET_RECEIVED\r
98         #define iptraceICMP_PACKET_RECEIVED()\r
99 #endif\r
100 \r
101 #ifndef iptraceSENDING_PING_REPLY\r
102         #define iptraceSENDING_PING_REPLY( ulIPAddress )\r
103 #endif\r
104 \r
105 #ifndef traceARP_PACKET_RECEIVED\r
106         #define traceARP_PACKET_RECEIVED()\r
107 #endif\r
108 \r
109 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY\r
110         #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )\r
111 #endif\r
112 \r
113 #ifndef iptraceSENDING_ARP_REPLY\r
114         #define iptraceSENDING_ARP_REPLY( ulIPAddress )\r
115 #endif\r
116 \r
117 #ifndef iptraceFAILED_TO_CREATE_SOCKET\r
118         #define iptraceFAILED_TO_CREATE_SOCKET()\r
119 #endif\r
120 \r
121 #ifndef iptraceRECVFROM_DISCARDING_BYTES\r
122         #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )\r
123 #endif\r
124 \r
125 #ifndef iptraceETHERNET_RX_EVENT_LOST\r
126         #define iptraceETHERNET_RX_EVENT_LOST()\r
127 #endif\r
128 \r
129 #ifndef iptraceSTACK_TX_EVENT_LOST\r
130         #define iptraceSTACK_TX_EVENT_LOST( xEvent )\r
131 #endif\r
132 \r
133 #ifndef iptraceNETWORK_EVENT_RECEIVED\r
134         #define iptraceNETWORK_EVENT_RECEIVED( eEvent )\r
135 #endif\r
136 \r
137 #ifndef iptraceBIND_FAILED\r
138         #define iptraceBIND_FAILED( xSocket, usPort )\r
139 #endif\r
140 \r
141 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS\r
142         #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )\r
143 #endif\r
144 \r
145 #ifndef iptraceSENDING_DHCP_DISCOVER\r
146         #define iptraceSENDING_DHCP_DISCOVER()\r
147 #endif\r
148 \r
149 #ifndef iptraceSENDING_DHCP_REQUEST\r
150         #define iptraceSENDING_DHCP_REQUEST()\r
151 #endif\r
152 \r
153 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT\r
154         #define iptraceNETWORK_INTERFACE_TRANSMIT()\r
155 #endif\r
156 \r
157 #ifndef iptraceNETWORK_INTERFACE_RECEIVE\r
158         #define iptraceNETWORK_INTERFACE_RECEIVE()\r
159 #endif\r
160 \r
161 #ifndef iptraceSENDING_DNS_REQUEST\r
162         #define iptraceSENDING_DNS_REQUEST()\r
163 #endif\r
164 \r
165 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
166         #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
167 #endif\r
168 \r
169 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS\r
170         #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0\r
171 #endif\r
172 \r
173 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP\r
174         #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )\r
175 #endif\r
176 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */\r