1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Plus-TCP synced 2025-10-22 07:51:40 +08:00
Commit Graph

52 Commits

Author SHA1 Message Date
Błażej Sowa
c0f5ba0c82 Fix network down up process (#1030)
* Disable DHCP timer when network goes down

* Don't stop checking the Network Timer

* Fix network down when using RA

* Revert "Don't stop checking the Network Timer"

This reverts commit f5d8d98856.

* Add vSetNotAllNetworksUp function

* Fix unit tests

* Update comments

* Store DHCPv4 socket locally for all endpoints

* Add vDHCPStop and vDHCPv6Stop functions

* Fix IP Utils tests

* Fix most of DHCP unit tests

* Fix formatting

* Change vSetNotAllNetworksUp into a more generic vSetAllNetworksUp

* Fix almost all of DHCP unit tests

* Fix formatting

* Add tests for vDHCPStop and vDHCPv6Stop functions

* Fix formatting

* Remove redundant MISRA comment

* Set all fields of xAddress when binding DHCP socket

* Fix unit test coverage of prvCreateDHCPSocket

* Fix DHCP CBMC memory proof

---------

Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
2023-10-10 16:22:22 +05:30
Soren Ptak
eed294c0ec CI-CD Updates (#1014)
* Use new version of CI-CD Actions,  checkout@v3 instead of checkout@v2 on all jobs
* Use cSpell spell check, and use ubuntu-20.04 for formatting check
* Add in bot formatting action
2023-09-05 14:31:24 -07:00
ActoryOu
f5ecc5f201 Fix MISRA violations Rule 1.1 for forward declaration (#1004)
* Fix MISRA things for forward declaration

* Formatting

* Fix return structure of prvAllowIPPacketIPv4 and comments.
2023-08-10 20:09:17 +08:00
Emil Popov
1c7623da4e Improves the calculation of the offset at which we store the IP version value (#979)
* Defines ipUDP_PAYLOAD_IP_TYPE_OFFSET as an offset dependent on the IPv6 and UDP headers.
Calculates ipIP_TYPE_OFFSET automatically based on the sizes it depends on instead of using a hardcoded number.
Removes the definitions of ipIP_TYPE_OFFSET and ipUDP_PAYLOAD_IP_TYPE_OFFSET from FreeRTOS_IPv6_Private.h because they are already defined in FreeRTOS_IPv4_Private.h
Makes ipIP_TYPE_OFFSET define signed so asserts can properly check for negative values.
Adds an assert to ensure that storing of the IP-Type for IPv4 frames does not result in overwriting the ethernet header which would be the case if ipIP_TYPE_OFFSET somehow became negative or zero.
Adds a comment to the code storing of the IP-Type byte for IPv6 frames emphasizing that it is not required and only used for debugging.

* Uncrustify: triggered by comment.

* Correct the comment of ipUDP_PAYLOAD_IP_TYPE_OFFSET.

---------

Co-authored-by: Emil Popov <epopov@cardinalkinetic.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: ActoryOu <jay2002824@gmail.com>
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
2023-07-28 10:55:34 +05:30
ActoryOu
dd9a203249 [IPv6] Fix checksum calculation of IPv6 with extension headers. (#952)
* Fix IPv6 checksum calculation

* Use HW support option to see if we need to calculate TX checksum on NS/NA/RS packets.
2023-07-11 10:52:03 +08:00
ActoryOu
04afe5f5b5 [IPv6] Fix coverity (#933)
* Fix coverity

* Fix UT

* Fix build combination

* Suppress rule 17.2

* Fix 11.3 and 15.7 violations
2023-06-26 11:18:05 +05:30
Tony Josi
3765d89967 Updating comments for the assert on alignment checks (#885)
* Updating comments for the assert on alignment checks

* making comment and code more easier to read
2023-06-02 18:27:49 +05:30
ActoryOu
bc613e4585 [IPv6] Add Unit Test for FreeRTOS_IP_Utils/FreeRTOS_IPv4_Utils. (#868)
* pxDuplicateNetworkBufferWithDescriptor

* pxUDPPayloadBuffer_to_NetworkBuffer NULL

* Add IPv4 Utils

* Add description for unit test and separate IP_Utils/IPv4_Utils

* usGenerateProtocolChecksum

* prvChecksumProtocolCalculate

* Add description of test cases

* pxUDPPayloadBuffer_to_NetworkBuffer & prvProcessNetworkDownEvent & usGenerateProtocolChecksum

* usGenerateProtocolChecksum

* Full coverage

* Remove dedundant include

* Code beautify

* IPv4_Utils full coverage

* Remove redundant include in IPv4_Utils unit test

* Fix IPv4 UT building

* Fix spelling.

* Add macro for minimum TCP offset.

* Fix doxygen

* Fix again

* Move Stub functions to _stubs.c and fix compile warning

* Update diffconfig UT
2023-05-23 16:55:59 +08:00
Tony Josi
1f98752059 Adding IPv4/v6 build level separation: integration branch (#855)
* use matching endpoint instead of first endpoint

* update with @htibosch  latest changes

* fix formatting

* fix misra and spellings

* code clean up

* wip separation IP

* separation IP

* separation IP

* wip buils separation

* fixing unit tests

* fix unit tests

* fix formatting

* wip , next prvProcessNetworkDownEvent

* adding build separation to ip utils

* fix unit tests

* fix formatting

* update xCheckRequiresARPResolution

* update vARPAgeCache

* update vARPAgeCache

* misra checks

* fix formatting

* fix misra

* wip s/w: FreeRTOS_recvfrom

* wip sockets till prvSocketBindAdd

* adding  build separation to FreeRTOS_Sockets.c

* add build config support to FreeRTOS_inet_pton FreeRTOS_inet_ntop FreeRTOS_GetIPType

* adding build config support

* fix build  issues

* check misra

* minor fix

* fix unit tests

* fix unit tests build

* Uncrustify: triggered by comment

* fix formatting

* build separate FreeRTOS_TCP_IP.c

* build separate FreeRTOS_TCP_Reception.c

* misra fix

* build separate FreeRTOS_TCP_State_Handling.c

* build separate FreeRTOS_TCP_Transmission.c

* build separate FreeRTOS_TCP_Transmission.c fix build

* adding build separation for FreeRTOS_TCP_Utils.c and FreeRTOS_TCP_Transmission.c

* fix formatting

* UDP: Build Separation Changes

Changes in UDP files to support IPv4 and IPv6 Build Separation.

* fix IPv4 build issues post build sep merge

* IPv4 only build

* more - fix IPv4 build issues post build sep merge

* fix DHCP v4

* fix v6 build

* add v6 build checks

* separate v4v6 tcp files

* fix rebase conflicts

* fix formatting

* fix build when TCP disabled

* add more build checks

* adding more ipv4 flags to v4 specific files

* fix udp unit tests

* add build config build tests to CI

* fix formatting

* fix build checks yml

* DNS: Build Separation Changes

Changes for supporting IPv4 and IPv6 build separation in DNS.

* Routing: Build Separtion Changes

Changes for supporting IPv4 and IPv6 build separation in Routing.

* DNS build fix and rebase to latest changes

* fix formatting

* fix unit tests

* fix formatting

* fix MISRA

* updaating ARP functions to be available on all configs

* plus_tcp_demo_cli build config changes

* fix formatting, guard FreeRTOS_FillEndPoint inside ipconfigUSE_IPv4 check

* more build sepration changes to routing

* build separation plus_tcp_demo_cli.c

* fixing issues with routing, fix formatting

* adding pxFindEndpoint of plus_tcp_demo_cli inside ipconfigUSE_IPv6 != 0 check

* minor build fix

* moving usDNSType of endpoint struct out of ipconfigUSE_IPv6 check

* update code to use IP family while using socket APIs

* moving vSetMultiCastIPv4MacAddress to FreeRTOS_IPv4_Utils.c

* fix routing

* build DNS only if IPv4 is enabled

* fix review feedback

* fix build

* fix build

* fix formatting

* fix comment

* fix wrt reeview feedback

* fix unit tests

* cleanup FreeRTOS_MatchingEndpoint

* fix FreeRTOS_MatchingEndpoint to handle cusstom frames

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: shubnil <103672514+shubnil@users.noreply.github.com>
2023-05-09 19:48:59 +05:30
Monika Singh
a492abb0a8 Fix Additional Clang warnings
Corrects several warnings from Clang flags
for Clang 13.
2023-04-18 11:00:00 +00:00
Kody Stribrny
f15537303c Fix Clang warnings (#809)
Corrects several warnings from Clang flags
for Clang 13.

Inspired by @phelter's bug report
https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/issues/558
2023-04-18 11:00:00 +00:00
Tony Josi
9bb016e72e Fix warnings on IAR (#823)
* fix warnings when compiling on IAR

* Uncrustify: triggered by comment

* fix unit tests

---------

Co-authored-by: GitHub Action <action@github.com>
2023-04-10 13:47:22 +05:30
ActoryOu
5e858325e5 [IPv6] Fix IPv4 TCP. (#813)
* Compare endpoint IP address in TCP.

* Replace ipLOCAL_IP_ADDRESS_POINTER with endpoint.

* Set ipLOCAL_IP_ADDRESS_POINTER in DHCP/network down events.

* Check endpoint in DNS_TreatNBNS.

* Fix MISRA.

* Remove DNS_Parser part.
2023-04-06 16:15:50 +08:00
Tony Josi
89269454b9 CMake changes from main branch [PR: #557, PR: #742] (#803)
* 556 Initial Cmake Module definition. #557

* renaming variables that have conflicting names with MSC and *nix headers

* fix build issue for posix port

* Fix warning: -Waddress-of-packed-member when calculating checksum directly from network packets

* fix warnings with prvInitialiseTCPFields declaration

* removing macros that hides the structure fields

* Updating build check enable all config to enable all config macros

* CMake: Fix GIT_REPOSITORY and GIT_TAG (#742)

* moving ipTRUE_BOOL and ipFALSE_BOOL out of #ifndef pdTRUE_SIGNED check as they are not defined in kernel

* minor fix to the cmake files and main file

* Uncrustify: triggered by comment.

* adding doxygen comments to new functions

* Uncrustify: triggered by comment

* Add more warnings check and fix warnings

* Uncrustify: triggered by comment

* fix review feedback and more debug printf warnings fix

* more warnings fix

* fix misra issues

* Uncrustify: triggered by comment

* replace sin_addr with sin_address.ulIP_IPv4 in +TCP demos

* replace sin_addr6 with sin_address.xIP_IPv6 in +TCP demos

* replace freertos_sockaddr6 with freertos_sockaddr in +TCP demos

* review feedback changes

* removing duplicate def for prvStreamBufferAdd from winpcap

* fix more warnings from MSVC

* Uncrustify: triggered by comment

* review feedback changes

* Uncrustify: triggered by comment

---------

Co-authored-by: phelter <paulheltera@gmail.com>
Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2023-03-27 10:52:02 +05:30
Tony Josi
d8fc3200a2 Add backward compatibility with main branch with ipconfigIPv4_BACKWARD_COMPATIBLE (#756)
* 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>
2023-03-07 20:55:27 +05:30
Monika Singh
5c9a511629 MISRA: Fix 8.9 and 10.4 violation (#752) 2023-03-02 18:36:10 +05:30
Hein Tibosch
66d4455921 A few minor changes after testing Xueli's branch, mostly in TCP_Transmission (#702) 2023-02-08 18:04:57 +05:30
Tony Josi
0639fd45a0 Fix unit test build issues and test failures for IP Utils (#699)
* 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>
2023-02-07 10:19:09 +05:30
Hein Tibosch
f88dea60ca Reparations and recommendations for the dev/IPv6_integration branch (#664)
* 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
2023-01-25 18:33:44 +05:30
Monika Singh
7315e4b3ba Fix FreeRTOS_IP test cases (#666)
* 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>
2023-01-16 21:07:57 +05:30
kar-rahul-aws
bf32bf336e Demo changes for IPv4 Endpoint changes (#660)
* Update FreeRTOS_ARP.c
* Update FreeRTOS_UDP_IPv4.c
* Update FreeRTOS_TCP_Transmission_IPV4.c
* Update FreeRTOS_IP.c
* Update FreeRTOS_DHCP.c
* Update FreeRTOS_DNS.c
* Update NetworkInterface.c

Add Functions  To avoid scheduler suspension: xPacketBouncedBack and prvStreamBufferAdd
2023-01-10 19:27:49 +05:30
Monika Singh
4624fb0e00 Remove use of ipconfigCOMPATIBLE_WITH_SINGLE (#646)
As ipconfigCOMPATIBLE_WITH_SINGLE is never enabled and used partially, removing the rest of the instances of the same.
Ran uncrustify.
2022-12-21 20:09:40 +05:30
xuelix
1b8cb751bb Fixing MISRA violations for FreeRTOS_TCP* files (#620)
Fix TCP compilation errors
Add missing fix of TCP compilation
Update for TCP misra violation fix
2022-12-19 15:34:54 +05:30
Monika Singh
70492ce2b4 Fix Compilation Errors (#609)
Fix compilation errors after adding Endpoint changes in ARP file.
Run uncrustify.
2022-12-14 23:27:58 +05:30
xuelix
f29870920d Fixing MISRA violation for FreeRTOS_IP*, FreeRTOS_DHCP* (#604)
* Fixing MISRA violation for FreeRTOS_IP*, FreeRTOS_DHCP*
* remove temp change
2022-12-14 09:19:08 +05:30
Monika Singh
1d3f1a4e88 Add endpoint changes to DHCP files (#593)
* DHCP.c changes and compilation fix
* Update end point changes
* Run uncrustify
2022-12-08 11:30:24 +05:30
Monika Singh
96643cedf1 Add IPv6 data path and endpoint changes to FreeRTOS_IP.c (#591)
* Add IPv6 data path and endpoint changes to FreeRTOS_IP.c
* Add FreeRTOS_IPv4.h and FreeRTOS_IPv6.h files.
* Fix compilation issues and run Uncrustify
2022-12-06 11:59:32 +05:30
xuelix
4a453b5495 Fix compilation errors and misra violations (#594)
* Fix compilation errors and misra violations

* Fix compilation error
2022-12-02 17:20:46 +05:30
Monika Singh
70c261d986 Add IPv6 changes to FreeRTOS_IP_Timer FreeRTOS_IP_Utils file. (#572)
- Add IPv6 changes to FreeRTOS_IP_Timer FreeRTOS_IP_Utils
- Add FreeRTOS_DHCPv6.h
- Update generateChecksum.
- MISRA: Fix rule 1.1, 8.13, 8.5, 20.9 and Suppress rule 8.9, 11.3
- Limit the use of ipconfigUSE_IPV6
- Run uncrustify and update the files
2022-11-21 14:22:29 +05:30
Monika Singh
6b20f521dd Add IPv6 specific header files and structures. (#566)
* Add IPv6 specific header files.

* Update according to Coding Guidelines and Uncrustify

* Adding common IP file to handle common strctures

Co-authored-by: Monika Singh <moninom@amazon.com>
2022-11-04 14:03:43 +05:30
Paul Bartell
4b9a36f337 FreeRTOS_IP_Utils: Fix a pritnf warning on 64-bit targets 2022-09-12 15:12:58 -07:00
Aniruddha Kanhere
1ab6eb8885 Update version numbers and licensing info (#541)
* 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>
2022-08-12 16:21:44 -07:00
alfred gedeon
4ac10c84a3 Misra fix or suppress remaining violations (#529)
* Fix Remaning misra issues

* Suppress rule 8.6

* Fix/Suppress more misra violations

* Style: for formatting

* Style: fix formatting

* Style: fix spelling

* Fix Rule 11.1

* Fix undeteced suppressions

* Enable 32 bits

* Fix more misra leftover violations

* Add justification for a missed violation

* Fix comment for rule 8.13

* Fix comment

* fix misra comments

* Update MISRA.md

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update source/FreeRTOS_Sockets.c

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update source/portable/BufferManagement/BufferAllocation_2.c

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update MISRA.md

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update MISRA.md

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Suppress Rule 8.9

* Fix build error

* fix build error

* Fix coverity supression bugs

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-08-08 10:45:09 -07:00
xuelix
f8c72717cd MISRA violation fix 17.7, 1.2, 8.9 (#530)
* MISRA violation fix 17.7, 1.2, 8.9

* Fixing spell check error

* Added comment for PR review

Co-authored-by: gitwallit <56273942+gitwallit@users.noreply.github.com>
2022-08-02 12:20:51 -07:00
xuelix
b81e0ae4b0 Fixing MISRA violation 4.6, 10.4 (#527)
* Fixing MISRA violation 4.6, 10.4

* Remove snprintf cast
2022-07-28 17:19:08 -07:00
alfred gedeon
80876f5301 Consolidate all misra inline violation justifications into a single file (#521)
* Consolidate all misra inline violation justification into a single file

* Style: fix formatting error

* Style: fix formatting error

* Fix build error

* fix merge errors

* fix merge conflicts

* Style: improve misra exception file

* Updated the justification for MISRA rule 2.2 violation

* Fix comments and justification for MISRA rule 8.9

* Update justification for MISRA rule 11.3

* Updated wording of violation of rule 11.4 ref 5

* Updated the justification of rule 11.4 ref 29

* Fixed comment and justification for ref 31

* Update rule 11.6

* Fix some violations

* Update justifications of various violations

* Fix formatting

* Remove the previous verison of violation table

* Update formatting to separate reference numbers from the text

* Update ref for rule 2.2 and 8.9

* Update rule 11.3 references

* Added rule 11.4

* Added rule 11.6

* Added rule 11.8

* Update refs in MISRA.md

* Add rule 14.3

* Fix 21.6, 17.2 and 20.10

* Fix spell check

* Fix mis-spelled words and address review comments

* Add link to 8.9

* Add 11.3 link

* Add link for 11.4

* Add links for 14.3

* Add remaining links

* Updated some justifications and simplified code to remove deviation

* Fixed spelling errors

* Fix justification for rule 11.3 violation

* Update the link to be a hyperlink

* Update comments for misaligned access

* Add link to project wide suppression file

* Updated wording in MISRA config

* Fix grammar and reorder file

* Address comments

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-07-26 11:30:42 -07:00
alfred gedeon
9a4bd5f21b Code: remove macro cast and replace with direct cast (#523)
* Code: remove macro cast and replace with direct cast

* Style: fix formatting
2022-07-22 10:11:29 -07:00
alfred gedeon
170ef60b98 Misra: supressing rule 18.3 (#496)
* Misra: supressing rule 18.3

* test misra fix

* misra rule 18.3 remove violation

* testig coredump

* invetigate test failing locally only

* modified code

* Bring some changes back

* off by one bug

* off by one or 2 error

* Fix ut

* trigger github actions

* Fix Unit test

* Fix ut

* Fix ut

* UT fix ut

* Fix UT

* Fix UT

* Style: fix formatting

* Fix UT

* Remove printf

* Remove dead code

* Address PR comments

* Change cast type
2022-07-15 17:30:12 -07:00
alfred gedeon
4e151a0dc6 MISRA: fix rule 8.9 violations (#511)
* MISRA: fix rule 8.9 violations

* Style: Fix format error and build error

* Style: format error and build error

* Fix build error

* Doc: fix doxygen error

* Retrigger the CI

* Comment: make comment follow the code move

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-07-14 00:18:57 -07:00
alfred gedeon
bf885f1f6c MISRA: fix rule 11.8 (#502)
* MISRA: fix rule 11.8

* Fix PR comments

* Style fix formatting

* Update source/FreeRTOS_IP_Utils.c

Co-authored-by: Paul Bartell <paul.bartell@gmail.com>

* Update source/FreeRTOS_IP_Utils.c

Co-authored-by: Paul Bartell <paul.bartell@gmail.com>

Co-authored-by: Paul Bartell <paul.bartell@gmail.com>
2022-07-13 15:23:15 -07:00
alfred gedeon
8c74d2e823 Fix MISRA 11.6 violations (#484)
* Fix MISRA 11.6 violations

* Add exceptions

* Fix formatting

* Fix formatting error

* Format: fix errors

* Fix Mira rule number suppression

* Format errors

* Fix formatting

* Add lost statement statement

* Fix comment message

* Fix spell

* Add justification for misra 11.6

* Spell: fix error

* Style: fix formatting erros
2022-07-13 14:57:49 -07:00
xuelix
ab519329f4 Misra rule 11.3, 11.4 suppression and 4.6 fix (#512)
* Misra rule 11.3 inline suppression

* Added several MISRA deviations

* MISRA Rule 11.4 inline suppression

* Misra violation fix 4.6

* Misra rule 1.2 suppression
2022-07-12 14:20:52 -07:00
alfred gedeon
f0eb3b96e6 MISRA: fix rule 10.8 (#498) 2022-07-08 14:00:37 -07:00
alfred gedeon
6b84c44e07 Misra: Fix Rule 8.13 violations (#507)
* MISRA: fix rule 8.13 violations

* Fix more 8.3 rules violation

* Misra rule 8.13 fixes

* Fix Unit Test
2022-07-08 10:06:10 -07:00
alfred gedeon
c8e98d323d Misra: Supress misra rule 21.6 (#497) 2022-07-06 16:02:21 -07:00
alfred gedeon
3df8a759fe Misra: rule 2.2 fix and suppression (#504)
Co-authored-by: Paul Bartell <paul.bartell@gmail.com>
2022-07-06 15:15:51 -07:00
Aniruddha Kanhere
f44d36d5ce Update version number of TCP to development (#516)
* 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
2022-07-06 10:29:48 -07:00
alfred gedeon
aeac4fa9ed Misra: Rule 10.4 violations (#495)
* Misra: Rule 10.4 violations

* Style: Fix formatting
2022-07-01 13:28:37 -07:00
alfred gedeon
590bc27fb9 Mirsa Rule 10.3 violations (#492)
* MISRA: fix Rule 10.3 vilations

* MISRA: Fix more Rule 10.3 vilations

* Style: fix format errors

* Spell: fix variable name

* Fix PR comments

* Fix: variable names

* Style: fix format

* Fix PR comments

* Fix variable check in cache

* Remove non needed check

* Coverage: fix coverage

* test commit

* Test commit

* Remove print statements

* Initialize some memeory

* Testing workflow

* Testing on workflow

* Fix: ut coverage

* Revert workflow changes

* Style: fix format error
2022-06-25 05:26:42 -07:00
holden-zenith
b6a4e40eb4 Fix various compiler warnings (#494)
* Fix various compiler warnings

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-06-24 15:22:10 -07:00