/*\r
- * FreeRTOS+TCP V2.0.1\r
+ * FreeRTOS+TCP V2.0.3\r
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
*\r
* Permission is hereby granted, free of charge, to any person obtaining a copy of\r
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
*\r
- * http://www.FreeRTOS.org\r
* http://aws.amazon.com/freertos\r
- *\r
- * 1 tab == 4 spaces!\r
+ * http://www.FreeRTOS.org\r
*/\r
\r
/*\r
{\r
/* calculate the IP header checksum, in case the driver won't do that. */\r
pxIPHeader->usHeaderChecksum = 0x00u;\r
- pxIPHeader->usHeaderChecksum = usGenerateChecksum( 0u, ( uint8_t * ) &( pxIPHeader->ucVersionHeaderLength ), ipSIZE_OF_IPv4_HEADER );\r
+ pxIPHeader->usHeaderChecksum = usGenerateChecksum( 0UL, ( uint8_t * ) &( pxIPHeader->ucVersionHeaderLength ), ipSIZE_OF_IPv4_HEADER );\r
pxIPHeader->usHeaderChecksum = ~FreeRTOS_htons( pxIPHeader->usHeaderChecksum );\r
\r
/* calculate the TCP checksum for an outgoing packet. */\r
default:\r
/* Count the number of times it couldn't find the ARP address. */\r
pxSocket->u.xTCP.ucRepCount++;\r
- \r
+\r
FreeRTOS_debug_printf( ( "ARP for %lxip (using %lxip): rc=%d %02X:%02X:%02X %02X:%02X:%02X\n",\r
pxSocket->u.xTCP.ulRemoteIP,\r
FreeRTOS_htonl( ulRemoteIP ),\r
xEthAddress.ucBytes[ 3 ],\r
xEthAddress.ucBytes[ 4 ],\r
xEthAddress.ucBytes[ 5 ] ) );\r
- \r
+\r
/* And issue a (new) ARP request */\r
FreeRTOS_OutputARPRequest( ulRemoteIP );\r
- \r
+\r
xReturn = pdFALSE;\r
break;\r
}\r