]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/include/IPTraceMacroDefaults.h
Roll up the minor changes checked into svn since V10.0.0 into new V10.0.1 ready for...
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-TCP / include / IPTraceMacroDefaults.h
1 /*\r
2  * FreeRTOS+TCP V2.0.1\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.\r
14  *\r
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
17  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
18  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
19  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
20  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
21  *\r
22  * http://www.FreeRTOS.org\r
23  * http://aws.amazon.com/freertos\r
24  *\r
25  * 1 tab == 4 spaces!\r
26  */\r
27 \r
28 /* This file provides default (empty) implementations for any IP trace macros\r
29 that are not defined by the user.  See\r
30 http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_IP_Trace.html */\r
31 \r
32 #ifndef UDP_TRACE_MACRO_DEFAULTS_H\r
33 #define UDP_TRACE_MACRO_DEFAULTS_H\r
34 \r
35 #ifndef iptraceNETWORK_DOWN\r
36         #define iptraceNETWORK_DOWN()\r
37 #endif\r
38 \r
39 #ifndef iptraceNETWORK_BUFFER_RELEASED\r
40         #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )\r
41 #endif\r
42 \r
43 #ifndef iptraceNETWORK_BUFFER_OBTAINED\r
44         #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )\r
45 #endif\r
46 \r
47 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR\r
48         #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )\r
49 #endif\r
50 \r
51 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER\r
52         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()\r
53 #endif\r
54 \r
55 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR\r
56         #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()\r
57 #endif\r
58 \r
59 #ifndef iptraceCREATING_ARP_REQUEST\r
60         #define iptraceCREATING_ARP_REQUEST( ulIPAddress )\r
61 #endif\r
62 \r
63 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE\r
64         #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )\r
65 #endif\r
66 \r
67 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED\r
68         #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )\r
69 #endif\r
70 \r
71 #ifndef iptraceARP_TABLE_ENTRY_CREATED\r
72         #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )\r
73 #endif\r
74 \r
75 #ifndef iptraceSENDING_UDP_PACKET\r
76         #define iptraceSENDING_UDP_PACKET( ulIPAddress )\r
77 #endif\r
78 \r
79 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP\r
80         #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )\r
81 #endif\r
82 \r
83 #ifndef iptraceICMP_PACKET_RECEIVED\r
84         #define iptraceICMP_PACKET_RECEIVED()\r
85 #endif\r
86 \r
87 #ifndef iptraceSENDING_PING_REPLY\r
88         #define iptraceSENDING_PING_REPLY( ulIPAddress )\r
89 #endif\r
90 \r
91 #ifndef traceARP_PACKET_RECEIVED\r
92         #define traceARP_PACKET_RECEIVED()\r
93 #endif\r
94 \r
95 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY\r
96         #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )\r
97 #endif\r
98 \r
99 #ifndef iptraceSENDING_ARP_REPLY\r
100         #define iptraceSENDING_ARP_REPLY( ulIPAddress )\r
101 #endif\r
102 \r
103 #ifndef iptraceFAILED_TO_CREATE_SOCKET\r
104         #define iptraceFAILED_TO_CREATE_SOCKET()\r
105 #endif\r
106 \r
107 #ifndef iptraceFAILED_TO_CREATE_EVENT_GROUP\r
108         #define iptraceFAILED_TO_CREATE_EVENT_GROUP()\r
109 #endif\r
110 \r
111 #ifndef iptraceRECVFROM_DISCARDING_BYTES\r
112         #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )\r
113 #endif\r
114 \r
115 #ifndef iptraceETHERNET_RX_EVENT_LOST\r
116         #define iptraceETHERNET_RX_EVENT_LOST()\r
117 #endif\r
118 \r
119 #ifndef iptraceSTACK_TX_EVENT_LOST\r
120         #define iptraceSTACK_TX_EVENT_LOST( xEvent )\r
121 #endif\r
122 \r
123 #ifndef iptraceNETWORK_EVENT_RECEIVED\r
124         #define iptraceNETWORK_EVENT_RECEIVED( eEvent )\r
125 #endif\r
126 \r
127 #ifndef iptraceBIND_FAILED\r
128         #define iptraceBIND_FAILED( xSocket, usPort )\r
129 #endif\r
130 \r
131 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS\r
132         #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )\r
133 #endif\r
134 \r
135 #ifndef iptraceSENDING_DHCP_DISCOVER\r
136         #define iptraceSENDING_DHCP_DISCOVER()\r
137 #endif\r
138 \r
139 #ifndef iptraceSENDING_DHCP_REQUEST\r
140         #define iptraceSENDING_DHCP_REQUEST()\r
141 #endif\r
142 \r
143 #ifndef iptraceDHCP_SUCCEDEED\r
144         #define iptraceDHCP_SUCCEDEED( address )\r
145 #endif\r
146 \r
147 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT\r
148         #define iptraceNETWORK_INTERFACE_TRANSMIT()\r
149 #endif\r
150 \r
151 #ifndef iptraceNETWORK_INTERFACE_RECEIVE\r
152         #define iptraceNETWORK_INTERFACE_RECEIVE()\r
153 #endif\r
154 \r
155 #ifndef iptraceSENDING_DNS_REQUEST\r
156         #define iptraceSENDING_DNS_REQUEST()\r
157 #endif\r
158 \r
159 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR\r
160         #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR()\r
161 #endif\r
162 \r
163 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS\r
164         #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0\r
165 #endif\r
166 \r
167 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP\r
168         #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )\r
169 #endif\r
170 \r
171 #ifndef pvPortMallocSocket\r
172         #define pvPortMallocSocket(xSize) pvPortMalloc( ( xSize ) )\r
173 #endif\r
174 \r
175 #ifndef iptraceRECVFROM_TIMEOUT\r
176         #define iptraceRECVFROM_TIMEOUT()\r
177 #endif\r
178 \r
179 #ifndef iptraceRECVFROM_INTERRUPTED\r
180         #define iptraceRECVFROM_INTERRUPTED()\r
181 #endif\r
182 \r
183 #ifndef iptraceNO_BUFFER_FOR_SENDTO\r
184         #define iptraceNO_BUFFER_FOR_SENDTO()\r
185 #endif\r
186 \r
187 #ifndef iptraceSENDTO_SOCKET_NOT_BOUND\r
188         #define iptraceSENDTO_SOCKET_NOT_BOUND()\r
189 #endif\r
190 \r
191 #ifndef iptraceSENDTO_DATA_TOO_LONG\r
192         #define iptraceSENDTO_DATA_TOO_LONG()\r
193 #endif\r
194 \r
195 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */\r