+TCP: Fix spellings (#302)

* MISRA v5

* Add spelling corrections

* Update after Shubham's comments

* Actually fix the spelling
This commit is contained in:
Aniruddha Kanhere 2020-09-28 09:55:22 -07:00 committed by GitHub
parent ab70c1ce33
commit 6fb8b1fc33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 109 additions and 112 deletions

View file

@ -302,7 +302,7 @@ static BaseType_t xNetworkUp = pdFALSE;
A timer for each of the following processes, all of which need attention on a
regular basis:
1. ARP, to check its table entries
2. DPHC, to send requests and to renew a reservation
2. DHCP, to send requests and to renew a reservation
3. TCP, to check for timeouts, resends
4. DNS, to check for timeouts when looking-up a domain.
*/
@ -1599,7 +1599,7 @@ eFrameProcessingResult_t eReturn = eProcessBuffer;
}
else
{
/* Packet is not fragemented, destination is this device. */
/* Packet is not fragmented, destination is this device. */
}
}
#endif /* ipconfigETHERNET_DRIVER_FILTERS_PACKETS */
@ -2392,7 +2392,7 @@ DEBUG_DECLARE_TRACE_VARIABLE( BaseType_t, xLocation, 0 );
/**
* This method generates a checksum for a given IPv4 header, per RFC791 (page 14).
* The checksum algorithm is decribed as:
* The checksum algorithm is described as:
* "[T]he 16 bit one's complement of the one's complement sum of all 16 bit words in the
* header. For purposes of computing the checksum, the value of the checksum field is zero."
*
@ -2829,7 +2829,7 @@ BaseType_t FreeRTOS_IsNetworkUp( void )
#endif
/*-----------------------------------------------------------*/
/* Utility function: Convert error number to a human readable
* string. Decalartion in FreeRTOS_errno_TCP.h. */
* string. Declaration in FreeRTOS_errno_TCP.h. */
const char *FreeRTOS_strerror_r( BaseType_t xErrnum, char *pcBuffer, size_t uxLength )
{
const char *pcName;