-
Notifications
You must be signed in to change notification settings - Fork 7.6k
net: lib: dhcpv4: Support INIT-REBOOT #91902
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
Conversation
60a925b
to
6f73884
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good to my eyes. I wonder if we are able to add some tests for this.
Working on it ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable
When reading and printing hosname or domain name from DHCP options, we need to skip the leftover bytes that do not fit into the provided buffers. Signed-off-by: Pieter De Gendt <[email protected]>
Add the init-reboot state for DHCPv4 to request an already assigned IP address. Signed-off-by: Pieter De Gendt <[email protected]>
6f73884
to
0df0e8e
Compare
0df0e8e
to
c01a0de
Compare
Use k_event bit flags to test individual events and callbacks. Don't rely on the number of events that happened. Signed-off-by: Pieter De Gendt <[email protected]>
c01a0de
to
86ae1b7
Compare
Add tests that verify the behavior of stopping and starting the DHCPv4 client. Signed-off-by: Pieter De Gendt <[email protected]>
6dda59e
86ae1b7
to
6dda59e
Compare
Last push:
|
|
Add the init-reboot state for DHCPv4 to request an already assigned IP address.