Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHCP unit test #211

Merged
merged 68 commits into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
be9fe45
Fix compiler warnings when the TCP Window is not used (#124)
AniruddhaKanhere Dec 18, 2020
f39f440
Move local variables to inner loop in prvNetworkInterfaceInput() (#144)
htibosch Jan 5, 2021
e696768
Update litani submodule (#147)
markrtuttle Jan 7, 2021
307bacb
Fix doxygen check (#149)
AniruddhaKanhere Jan 11, 2021
b80e096
TCP_WIN: fix compile warning on x86_64 (#148)
twpedersen Jan 14, 2021
4a05a0a
fix deprecated volatile compound assignment (#152)
hs2gh Jan 14, 2021
f3650e4
FreeRTOS_ARP.c : store local addresses only (#120)
htibosch Jan 15, 2021
2ecc851
Remove unnecessary #ifndef (#186)
AniruddhaKanhere Jan 28, 2021
82fa238
Don't Fragment Flags patch. (#179)
evpopov Feb 3, 2021
9e364b9
fix IP buffer padding check on 64bit (#146)
twpedersen Feb 8, 2021
20cbc94
Update readme.md (#189)
shrewmouse1 Feb 8, 2021
7a56144
Update files referencing aws_application_version.h to use iot_applica…
paulbartell Feb 8, 2021
a4d261c
Remove function defs from header files (#190)
AniruddhaKanhere Feb 9, 2021
ffc9612
Do not release a network buffer if it equals to NULL (#191)
htibosch Feb 12, 2021
245d1c5
Circumvent Qemu MPS2 networking bug (#142)
alfred2g Feb 16, 2021
38c4054
Add a project for static analysis (#195)
AniruddhaKanhere Feb 19, 2021
809b438
Merge pull request #9 from FreeRTOS/main
AniruddhaKanhere Feb 24, 2021
c35ee3e
Create uncrustify.yml
AniruddhaKanhere Feb 28, 2021
894fe96
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
be69988
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
2ba96b2
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
bfe8232
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
9152cde
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
40410e1
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
d7e314c
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
0a27eb9
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
48beb6b
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
faed2e1
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
6b98a33
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
d621465
Update uncrustify.yml
AniruddhaKanhere Feb 28, 2021
dd3af6b
Add header in the socket file
AniruddhaKanhere Mar 3, 2021
9f6bbfc
Remove unwanted file
AniruddhaKanhere Mar 3, 2021
c1834ce
Merge branch 'main' into AddHeaders
AniruddhaKanhere Mar 3, 2021
54eff5a
remove unwanted changes
AniruddhaKanhere Mar 3, 2021
7273c7d
Merge branch 'AddHeaders' of https://github.com/aniruddhakanhere/free…
AniruddhaKanhere Mar 3, 2021
5aec4f4
First commit
AniruddhaKanhere Mar 5, 2021
838911a
Cleanup
AniruddhaKanhere Mar 5, 2021
1365a24
Update: working version
AniruddhaKanhere Mar 5, 2021
9adaa90
Coverage of eARPGetCacheEntry
AniruddhaKanhere Mar 5, 2021
3464673
Update
AniruddhaKanhere Mar 9, 2021
f33da43
Unit-test and clenaup
AniruddhaKanhere Mar 9, 2021
a2ba7eb
100% line and function coverage
AniruddhaKanhere Mar 10, 2021
daf99bf
Uncrustify and update
AniruddhaKanhere Mar 10, 2021
5270134
100% all coverage
AniruddhaKanhere Mar 10, 2021
2169e6a
Move files to correct location
AniruddhaKanhere Mar 10, 2021
c3903d1
Merge branch 'main' into AddHeaders
AniruddhaKanhere Mar 10, 2021
d7e90ac
Fix tests
AniruddhaKanhere Mar 10, 2021
8871bd4
Merge branch 'AddHeaders' of https://github.com/aniruddhakanhere/free…
AniruddhaKanhere Mar 10, 2021
7f0e008
uncrustified
AniruddhaKanhere Mar 10, 2021
86fca12
Update ci.yml
AniruddhaKanhere Mar 10, 2021
98c4f28
Update
AniruddhaKanhere Mar 10, 2021
12db553
DHCP unit-test initial commit
AniruddhaKanhere Mar 11, 2021
87da7f0
Update
AniruddhaKanhere Mar 15, 2021
c865590
Merge branch 'main' into DHCP_unit_test
AniruddhaKanhere Mar 15, 2021
c0fc671
Update: 60% coverage
AniruddhaKanhere Mar 17, 2021
c5c23fe
Update 75% coverage
AniruddhaKanhere Mar 18, 2021
1f89248
Update 80%
AniruddhaKanhere Mar 18, 2021
36fdec7
Update 91%
AniruddhaKanhere Mar 19, 2021
b1b42f7
Update 100% coverage
AniruddhaKanhere Mar 19, 2021
2ce4fd1
Rebase some files
AniruddhaKanhere Mar 25, 2021
5aaf24b
Merge branch 'main' into DHCP_unit_test
AniruddhaKanhere Mar 25, 2021
8574bd7
Uncrustified and ci checks fixed
AniruddhaKanhere Mar 25, 2021
778b897
Merge branch 'DHCP_unit_test' of https://github.com/aniruddhakanhere/…
AniruddhaKanhere Mar 25, 2021
7012008
Uncrustified and removed unwanted changes
AniruddhaKanhere Mar 25, 2021
29d719d
Update after comments
AniruddhaKanhere Mar 25, 2021
84cd912
More clean-up
AniruddhaKanhere Mar 25, 2021
e557a1c
Corrected assert argument order
AniruddhaKanhere Mar 25, 2021
aaff756
Update after changes
AniruddhaKanhere Mar 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions include/FreeRTOSIPConfigDefaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,13 @@
#endif

#if ( ipconfigDHCP_FALL_BACK_AUTO_IP != 0 )
#undef ipconfigARP_USE_CLASH_DETECTION
#define ipconfigARP_USE_CLASH_DETECTION 1
#ifndef ipconfigARP_USE_CLASH_DETECTION
#define ipconfigARP_USE_CLASH_DETECTION 1
#else
#if ( ipconfigARP_USE_CLASH_DETECTION != 1 )
#error ipconfigARP_USE_CLASH_DETECTION should be defined as 1 when AUTO_IP is used.
#endif
#endif
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All right, I am also happy with that, thank you.


#ifndef ipconfigARP_USE_CLASH_DETECTION
Expand Down
2 changes: 0 additions & 2 deletions include/FreeRTOS_DHCP.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@
/* Internal call: returns true if socket is the current DHCP socket */
BaseType_t xIsDHCPSocket( Socket_t xSocket );

struct xDHCPMessage_IPv4;

#if ( ipconfigUSE_DHCP_HOOK != 0 )

/* Prototype of the hook (or callback) function that must be provided by the
Expand Down
Loading