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