* Add network down test in prvIPTask
* Align IP test configurations
* Remove redundant define check
* Fix unit test cases
* Fix stubs in some UT
* Add test cases for DHCPv6 and backward compatible
* Add test cases for FreeRTOS_GetUDPPayloadBuffer_Multi IPv6
* Test case for FreeRTOS_IPInit_Multi
* FreeRTOS_ReleaseUDPPayloadBuffer
* FreeRTOS_GetEndPointConfiguration
* FreeRTOS_GetAddressConfiguration
* FreeRTOS_GetEndPointConfiguration
* FreeRTOS_SetEndPointConfiguration
* FreeRTOS_GetAddressConfiguration
* Fix UT
* eConsiderFrameForProcessing
* prvProcessIPPacket
* vReturnEthernetFrame
* FreeRTOS_GetIPAddress
* Move IPv4 test under IPv4.
* Move IPv4 unit test cases from IP folders to IPv4 folders.
* prvProcessIPPacket
* vReturnEthernetFrame
* FreeRTOS_GetIPAddress
* FreeRTOS_IsNetworkUp
* FreeRTOS_AllEndPointsUp
* uxIPHeaderSizeSocket
* IP coverage
* FreeRTOS_SetIPAddress
* FreeRTOS_GetGatewayAddress
* FreeRTOS_GetDNSServerAddress
* FreeRTOS_GetNetmask
* FreeRTOS_UpdateMACAddress
* FreeRTOS_GetMACAddress
* FreeRTOS_SetNetmask
* FreeRTOS_SetGatewayAddress
* FreeRTOS_GetUDPPayloadBuffer_Multi
* IP coverage
* Code beautify
* prvAllowIPPacketIPv4
* prvCheckIP4HeaderOptions
* Remove legacy ipLOCAL_IP_ADDRESS_POINTER
* Add descriptions for IP test cases
* Remove redundant includes in test files.
* Add test description for IPv4 unit test
* Remove unnecessary config change
* Code beautify.
* Spelling
* Fix UT
* add FreeRTOS_GetAddressConfiguration and FreeRTOS_SetAddressConfiguration
* renaming FreeRTOS_GetUDPPayloadBuffer_ByIPType to FreeRTOS_GetUDPPayloadBuffer_Multi
* adding ipconfigIPv4_BACKWARD_COMPATIBLE to all main branch APIs that got changed except hooks
* rename vApplicationIPNetworkEventHook to vApplicationIPNetworkEventHook_Multi when ipconfigIPv4_BACKWARD_COMPATIBLE is disabled
* renaming xApplicationDNSQueryHook to xApplicationDNSQueryHook_Multi when ipconfigIPv4_BACKWARD_COMPATIBLE is disabled
* Uncrustify: triggered by comment
* fix DNS_ParseDNSReply complexity issue
* Uncrustify: triggered by comment
* replacing with ipconfigIPv4_BACKWARD_COMPATIBLE flag
* minor unit test fix
---------
Co-authored-by: GitHub Action <action@github.com>
* fix ip timers unit tests
* fix FreeRTOS_IP_Utils_DiffConfig_utest tests
* fixed FreeRTOS_IP_Utils_utest
* fix dns cache unit test
* wip arp utests
* fixing arp unit tests
* fix dhcp errors
* clearing structs before usage
* fix dns parser seg fault
* fix dns parser seg fault in unit test
* fix arp uunit tests
* fix arp unit tests
* fixing dns unit test and updating the CBMC proofs
* fixing udp unit tests
* fixing TCP IP unit tests
* fixing TCP IP diffconfig unit tests
* adding additional header file for ARP for declaring missing stub headers
* minor fix
* Uncrustify: triggered by comment
* fixing comments
---------
Co-authored-by: GitHub Action <action@github.com>
* Change in UDP process flow to drop packet in case of invalid payload length for IPv4
* Uncrustify: triggered by comment.
* Update FreeRTOS_IP.h
---------
Co-authored-by: GitHub Action <action@github.com>
* Fix seg fault
* Remove ipconfigUSE_IPV6
* Add change for FreeRTOS_IP_Utils unit test case
* Fix comments
* Uncrustify: triggered by comment.
* Fixed build issue with IP utils unit test build.
* Removed calculation of checksum being done twice for debug printf
---------
Co-authored-by: Monika Singh <moninom@amazon.com>
Co-authored-by: Monika Singh <108652024+moninom1@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
* WIP
* Fixed ARP, with 2 test cases pending which requires src changes which are not priority. Fixed TCP and UDP test cases.
* return value of xProcessReceivedUDPPacket initialized to pdFAIL
* fixing UDP test cases
* fixed arp unit tests
* Fix tcp transmission unit test cases.
* Fixed tcp ip failing unit tests
* Fixed tcp reception failing unit tests
* Fixed tcp state handling failing unit tests.
* Fixed ARP diffconfig unit tests.
* WIP
* Fixed ARP, with 2 test cases pending which requires src changes which are not priority. Fixed TCP and UDP test cases.
* return value of xProcessReceivedUDPPacket initialized to pdFAIL
* Fixed minor issue with build
* Fix minor compilation error with latest unit test changes
* WIP
* Fixed failing tcp transmission unit tests
* Undo commenting few test cases that were commented by mistake
* Fix PR review comments
* Fix FreeRTOS_IP and FreeRTOS_IP_DiffConfig test cases
* Remove test_prvProcessIPEventsAndTimers_eNetworkDownEvent test Case
- eNetworkDownEvent no longer support xNetworkUp variable, the network status
is kept in pxEndPoint->bits.bEndPointUp.
* Run Uncrustify.
Co-authored-by: GitHub Action <action@github.com>
* WIP fix tests for failing ARP unit tests
* WIP fix failing test cases for ARP unit tests
* WIP fix failing test cases for the ARP unit test cases
* Fixed failing test cases for the FreeRTOS_ARP_DataLenLessThanMinPacket_utest unit tests
* Fixed failing test cases for ARP unit tests
* Update source location for coverity
* Add coverage checker
* Add build check with default configuration
* Fix build combination and DNS error
* uncrustified and fixed cmakelists
* This commit updates version number in all files to Development-Branch
* Update version number macros
* This commit fixes a typo in version number macro
* Added a 'critical section' to prevent a race condition in stream buffers
* Uncrustify: triggered by comment.
* Fixed unit-tests by adding mocked functions
* Initial commit of file README.md
* Update README.md
* Fix the title of README file in coverity
* Addressed issue comments
* Update command
* Add details about remaining exception
* Move file to original location
* Remove use of sudo in commands
* Fix links; added coverity version note
* Update README.md
* Remove CMake installation instructions
* Update manifest/history and copyright year
* Update kernel version to 10.4.5
* Update remaining copyright year instances
* Update the version number macros
* Update license header titles
* Remove kernel license header and add TCP header
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit brings in the refactoring and restructuring changes
from IntegrationTesting1 branch to the main branch.
It also includes additional unit tests for 100% coverage.
The rationale behind not creating a PR is that the conflicts were too
huge to be resolved correctly. Thus, a force push to the main branch is
being done.