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