2 * FreeRTOS+TCP V2.0.3
\r
3 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
\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
12 * The above copyright notice and this permission notice shall be included in all
\r
13 * copies or substantial portions of the Software.
\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
22 * http://aws.amazon.com/freertos
\r
23 * http://www.FreeRTOS.org
\r
26 /* This file provides default (empty) implementations for any IP trace macros
\r
27 that are not defined by the user. See
\r
28 http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP_IP_Trace.html */
\r
30 #ifndef UDP_TRACE_MACRO_DEFAULTS_H
\r
31 #define UDP_TRACE_MACRO_DEFAULTS_H
\r
33 #ifndef iptraceNETWORK_DOWN
\r
34 #define iptraceNETWORK_DOWN()
\r
37 #ifndef iptraceNETWORK_BUFFER_RELEASED
\r
38 #define iptraceNETWORK_BUFFER_RELEASED( pxBufferAddress )
\r
41 #ifndef iptraceNETWORK_BUFFER_OBTAINED
\r
42 #define iptraceNETWORK_BUFFER_OBTAINED( pxBufferAddress )
\r
45 #ifndef iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR
\r
46 #define iptraceNETWORK_BUFFER_OBTAINED_FROM_ISR( pxBufferAddress )
\r
49 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER
\r
50 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER()
\r
53 #ifndef iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR
\r
54 #define iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER_FROM_ISR()
\r
57 #ifndef iptraceCREATING_ARP_REQUEST
\r
58 #define iptraceCREATING_ARP_REQUEST( ulIPAddress )
\r
61 #ifndef iptraceARP_TABLE_ENTRY_WILL_EXPIRE
\r
62 #define iptraceARP_TABLE_ENTRY_WILL_EXPIRE( ulIPAddress )
\r
65 #ifndef iptraceARP_TABLE_ENTRY_EXPIRED
\r
66 #define iptraceARP_TABLE_ENTRY_EXPIRED( ulIPAddress )
\r
69 #ifndef iptraceARP_TABLE_ENTRY_CREATED
\r
70 #define iptraceARP_TABLE_ENTRY_CREATED( ulIPAddress, ucMACAddress )
\r
73 #ifndef iptraceSENDING_UDP_PACKET
\r
74 #define iptraceSENDING_UDP_PACKET( ulIPAddress )
\r
77 #ifndef iptracePACKET_DROPPED_TO_GENERATE_ARP
\r
78 #define iptracePACKET_DROPPED_TO_GENERATE_ARP( ulIPAddress )
\r
81 #ifndef iptraceICMP_PACKET_RECEIVED
\r
82 #define iptraceICMP_PACKET_RECEIVED()
\r
85 #ifndef iptraceSENDING_PING_REPLY
\r
86 #define iptraceSENDING_PING_REPLY( ulIPAddress )
\r
89 #ifndef traceARP_PACKET_RECEIVED
\r
90 #define traceARP_PACKET_RECEIVED()
\r
93 #ifndef iptracePROCESSING_RECEIVED_ARP_REPLY
\r
94 #define iptracePROCESSING_RECEIVED_ARP_REPLY( ulIPAddress )
\r
97 #ifndef iptraceSENDING_ARP_REPLY
\r
98 #define iptraceSENDING_ARP_REPLY( ulIPAddress )
\r
101 #ifndef iptraceFAILED_TO_CREATE_SOCKET
\r
102 #define iptraceFAILED_TO_CREATE_SOCKET()
\r
105 #ifndef iptraceFAILED_TO_CREATE_EVENT_GROUP
\r
106 #define iptraceFAILED_TO_CREATE_EVENT_GROUP()
\r
109 #ifndef iptraceRECVFROM_DISCARDING_BYTES
\r
110 #define iptraceRECVFROM_DISCARDING_BYTES( xNumberOfBytesDiscarded )
\r
113 #ifndef iptraceETHERNET_RX_EVENT_LOST
\r
114 #define iptraceETHERNET_RX_EVENT_LOST()
\r
117 #ifndef iptraceSTACK_TX_EVENT_LOST
\r
118 #define iptraceSTACK_TX_EVENT_LOST( xEvent )
\r
121 #ifndef iptraceNETWORK_EVENT_RECEIVED
\r
122 #define iptraceNETWORK_EVENT_RECEIVED( eEvent )
\r
125 #ifndef iptraceBIND_FAILED
\r
126 #define iptraceBIND_FAILED( xSocket, usPort )
\r
129 #ifndef iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS
\r
130 #define iptraceDHCP_REQUESTS_FAILED_USING_DEFAULT_IP_ADDRESS( ulIPAddress )
\r
133 #ifndef iptraceSENDING_DHCP_DISCOVER
\r
134 #define iptraceSENDING_DHCP_DISCOVER()
\r
137 #ifndef iptraceSENDING_DHCP_REQUEST
\r
138 #define iptraceSENDING_DHCP_REQUEST()
\r
141 #ifndef iptraceDHCP_SUCCEDEED
\r
142 #define iptraceDHCP_SUCCEDEED( address )
\r
145 #ifndef iptraceNETWORK_INTERFACE_TRANSMIT
\r
146 #define iptraceNETWORK_INTERFACE_TRANSMIT()
\r
149 #ifndef iptraceNETWORK_INTERFACE_RECEIVE
\r
150 #define iptraceNETWORK_INTERFACE_RECEIVE()
\r
153 #ifndef iptraceSENDING_DNS_REQUEST
\r
154 #define iptraceSENDING_DNS_REQUEST()
\r
157 #ifndef iptraceWAITING_FOR_TX_DMA_DESCRIPTOR
\r
158 #define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR()
\r
161 #ifndef ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS
\r
162 #define ipconfigINCLUDE_EXAMPLE_FREERTOS_PLUS_TRACE_CALLS 0
\r
165 #ifndef iptraceFAILED_TO_NOTIFY_SELECT_GROUP
\r
166 #define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket )
\r
169 #ifndef pvPortMallocSocket
\r
170 #define pvPortMallocSocket(xSize) pvPortMalloc( ( xSize ) )
\r
173 #ifndef iptraceRECVFROM_TIMEOUT
\r
174 #define iptraceRECVFROM_TIMEOUT()
\r
177 #ifndef iptraceRECVFROM_INTERRUPTED
\r
178 #define iptraceRECVFROM_INTERRUPTED()
\r
181 #ifndef iptraceNO_BUFFER_FOR_SENDTO
\r
182 #define iptraceNO_BUFFER_FOR_SENDTO()
\r
185 #ifndef iptraceSENDTO_SOCKET_NOT_BOUND
\r
186 #define iptraceSENDTO_SOCKET_NOT_BOUND()
\r
189 #ifndef iptraceSENDTO_DATA_TOO_LONG
\r
190 #define iptraceSENDTO_DATA_TOO_LONG()
\r
193 #endif /* UDP_TRACE_MACRO_DEFAULTS_H */
\r