]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/FreeRTOS-Plus-UDP/include/IPTraceMacroDefaults.h
Update license information text files for the CLI, TCP and UDP products to be correct...
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-UDP / include / IPTraceMacroDefaults.h
1 /*\r
2  * FreeRTOS+UDP V1.0.4\r
3  * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
4  *\r
5  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
6  * this software and associated documentation files (the "Software"), to deal in\r
7  * the Software without restriction, including without limitation the rights to\r
8  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
9  * the Software, and to permit persons to whom the Software is furnished to do so,\r
10  * subject to the following conditions:\r
11  *\r
12  * The above copyright notice and this permission notice shall be included in all\r
13  * copies or substantial portions of the Software. If you wish to use our Amazon\r
14  * FreeRTOS name, please do so in a fair use way that does not cause confusion.\r
15  *\r
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
18  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
19  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
20  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
21  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
22  *\r
23  * http://www.FreeRTOS.org\r
24  * http://aws.amazon.com/freertos\r
25  *\r
26  * 1 tab == 4 spaces!\r
27  */\r
28 \r
29 /* This file provides default (empty) implementations for any IP trace macros\r
30 that are not defined by the user.  See\r
31 http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/UDP_IP_Trace.shtml */\r
32 \r
33 #ifndef UDP_TRACE_MACRO_DEFAULTS_H\r
34 #define UDP_TRACE_MACRO_DEFAULTS_H\r
35 \r
36 #ifndef iptraceNETWORK_DOWN\r
37         #define iptraceNETWORK_DOWN()\r
38 #endif\r
39 \r
40 #ifndef iptraceNETWORK_BUFFER_RELEASED\r
41         #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )\r
42 #endif\r
43 \r
44 #ifndef iptraceNETWORK_BUFFER_OBTAINED\r
45         #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )\r
46 #endif\r
47 \r
48 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR\r
49         #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )\r
50 #endif\r
51 \r
52 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER\r
53         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()\r
54 #endif\r
55 \r
56 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR\r
57         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()\r
58 #endif\r
59 \r
60 #ifndef iptraceCREATING_ARP_REQUEST\r
61         #define iptraceCREATING_ARP_REQUEST( ulIPAddress )\r
62 #endif\r
63 \r
64 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE\r
65         #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )\r
66 #endif\r
67 \r
68 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED\r
69         #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )\r
70 #endif\r
71 \r
72 #ifndef iptraceARP_TABLE_ENTRY_CREATED\r
73         #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )\r
74 #endif\r
75 \r
76 #ifndef iptraceSENDING_UDP_PACKET\r
77         #define iptraceSENDING_UDP_PACKET( ulIPAddress )\r
78 #endif\r
79 \r
80 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP\r
81         #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )\r
82 #endif\r
83 \r
84 #ifndef iptraceICMP_PACKET_RECEIVED\r
85         #define iptraceICMP_PACKET_RECEIVED()\r
86 #endif\r
87 \r
88 #ifndef iptraceSENDING_PING_REPLY\r
89         #define iptraceSENDING_PING_REPLY( ulIPAddress )\r
90 #endif\r
91 \r
92 #ifndef traceARP_PACKET_RECEIVED\r
93         #define traceARP_PACKET_RECEIVED()\r
94 #endif\r
95 \r
96 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY\r
97         #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )\r
98 #endif\r
99 \r
100 #ifndef iptraceSENDING_ARP_REPLY\r
101         #define iptraceSENDING_ARP_REPLY( ulIPAddress )\r
102 #endif\r
103 \r
104 #ifndef iptraceFAILED_TO_CREATE_SOCKET\r
105         #define iptraceFAILED_TO_CREATE_SOCKET()\r
106 #endif\r
107 \r
108 #ifndef iptraceRECVFROM_DISCARDING_BYTES\r
109         #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )\r
110 #endif\r
111 \r
112 #ifndef iptraceETHERNET_RX_EVENT_LOST\r
113         #define iptraceETHERNET_RX_EVENT_LOST()\r
114 #endif\r
115 \r
116 #ifndef iptraceSTACK_TX_EVENT_LOST\r
117         #define iptraceSTACK_TX_EVENT_LOST( xEvent )\r
118 #endif\r
119 \r
120 #ifndef iptraceNETWORK_EVENT_RECEIVED\r
121         #define iptraceNETWORK_EVENT_RECEIVED( eEvent )\r
122 #endif\r
123 \r
124 #ifndef iptraceBIND_FAILED\r
125         #define iptraceBIND_FAILED( xSocket, usPort )\r
126 #endif\r
127 \r
128 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS\r
129         #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )\r
130 #endif\r
131 \r
132 #ifndef iptraceSENDING_DHCP_DISCOVER\r
133         #define iptraceSENDING_DHCP_DISCOVER()\r
134 #endif\r
135 \r
136 #ifndef iptraceSENDING_DHCP_REQUEST\r
137         #define iptraceSENDING_DHCP_REQUEST()\r
138 #endif\r
139 \r
140 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT\r
141         #define iptraceNETWORK_INTERFACE_TRANSMIT()\r
142 #endif\r
143 \r
144 #ifndef iptraceNETWORK_INTERFACE_RECEIVE\r
145         #define iptraceNETWORK_INTERFACE_RECEIVE()\r
146 #endif\r
147 \r
148 #ifndef iptraceSENDING_DNS_REQUEST\r
149         #define iptraceSENDING_DNS_REQUEST()\r
150 #endif\r
151 \r
152 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
153         #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR()\r
154 #endif\r
155 \r
156 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS\r
157         #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0\r
158 #endif\r
159 \r
160 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP\r
161         #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )\r
162 #endif\r
163 \r
164 #ifndef iptraceRECVFROM_TIMEOUT\r
165         #define iptraceRECVFROM_TIMEOUT()\r
166 #endif\r
167 \r
168 #ifndef iptraceNO_BUFFER_FOR_SENDTO\r
169         #define iptraceNO_BUFFER_FOR_SENDTO()\r
170 #endif\r
171 \r
172 #ifndef iptraceSENDTO_SOCKET_NOT_BOUND\r
173         #define iptraceSENDTO_SOCKET_NOT_BOUND()\r
174 #endif\r
175 \r
176 #ifndef iptraceSENDTO_DATA_TOO_LONG\r
177         #define iptraceSENDTO_DATA_TOO_LONG()\r
178 #endif\r
179 \r
180 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */\r