* 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>
The sizes of array variables in C must be known at compile time.
Here sizeof result is a constant. However, if we assign it to a
constant variable it is still a variable to C.
* wip
* fix build failure and test failures for FreeRTOS IP unit tests
* new ip diffconfig 1 included in build
* updating prvProcessUDPPacket() as per PR #689 and fixing tests
* wip ip diffconfig
* added diffconfig2 for ip unit tests wrt to diffconfig with ipconfigCOMPATIBLE_WITH_SINGLE set as zero to enable FreeRTOS_IP_init tests and fixed freertos ip diffconfig unit tests
* minor fix on an ARP unit test
* minor fix with ip utils diffconfig unit tests build
* Fixed build failure with ip diffconfig 1 and 2. Pulled latest changes from dev/v6 branch.
* Removed unused code.
* 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.
* fixed failing unit tests
* Fixed failing unit tests for dns networking and parser:
* Fixed issue with vReturnEthernetFrame is called twice during DNS_TreatNBNS
* Minor fix with DNS unit test cases
* Changes after testing all other protocols IPv4 and IPv6
* Clear interface/endpoint when creating a network buffer
* After running uncristify
* Didn't mean to update 'TCP_Transmission_IPV4'
* Removed changes from Routing.h to make merging easier
* 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
* Reparations and recommendations for the dev/IPv6_integration branch
* Applied uncrustify
* More changes after testing ARP, ICMP4, ICMP6, UDPv4 and UDPv6, DNSv6
* A few changes to DNS after testing it
* 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
* WIP dns test cases
* WIP DNS unit tests, fix failing tests
* Fix failing tests for DNS cache unit tests
* WIP dns unt test cases fix
* WIP dns unt test cases fix
* WIP failing test cases for DNS unit test
* WIP fix failing test cases for DNS callback
* WIP fix dns networking unit tests
* WIP fix failing unit test cases for DNS parser
* WIP fix failing test cases for the DNS parser unit tests
* Fixed failing test cases for the DNS networking unit tests
* WIP fix failing unit test cases for DNS
* Fixed failing test cases for DNS unit tests
* Fixed failing test cases for the DNS unit tests
* Fix failing test cases for the DNS callback unit tests
* Fixed failing test cases for DNS parser and updted the TreatNBNS function
* xDNS_IP_Preference kept xPreferenceIPv4 by default
* Fix unit test cases for FreeRTOS_Sockets_TCP_API_utest
* Fix unit test case for FreeRTOS_Sockets_privates_utest
* Fix unit test case for FreeRTOS_Sockets_GenericAPI_utest
* Fix unit test case for FreeRTOS_Sockets_UDP_API_utest
* Update ucASCIIToHex
* WIP fix tcp transmission utests
* WIP fixing failing test cases for TCP transmission unittests
* Fix issue with tcp test case arguments getting changed when passed to functions
* Fixed failing unit tests for TCP transmission unit tests
* WIP fix failing test cases
* Fixed failing tests for UDP IP unit tests
* Fixed unit tests failures after combining v4 specific source with main udp ip source
* Removing unused code
* WIP Fix build for IP ttimers
* Fixed build for IP timers
* removed global config settings specific to ip timers test
* Updating the branch with latestt target branch changes
* Uncrustify: triggered by comment.
Co-authored-by: GitHub Action <action@github.com>
* WIP fix build issues
* Edit unit test files to ake it buuildable
* WIP build issues fix
* Fixed IP utils ut build
* Removed update made on the global freertos ip config used by the unit tests
* Updating branch to the latest target branch
* Running uncrustify
Added changes in WinpCap Port for IPV4 Endpoint changes
* Update NetworkInterface.c/NetworkInterface.h with End point changes.
* Run uncrustify
Co-authored-by: GitHub Action <action@github.com>