[Feature Request] DHCP/RA (optional) restart when link down-to-up transition detected.

Open
#1,344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
22/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c
Domain
networking

Research direction

The payload names no files or tests. Start by finding how the stack handles a NetworkInterface link-state change and where DHCP or RA discovery is started for one interface. The issue leaves open whether the fix is a per-interface option or a public restart API, so a maintainer decision on that choice is needed before any code. Done means that choice is agreed and the restart happens for one interface without restarting the whole stack.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.

When a NetworkInterface's link state transitions from down to up, it should be possible to request the stack to immediately restart DHCP or RA address discovery. Currently, there does not seem to be an automatic
method to detect this nor manually request the stack to restart the DHCP/RA discovery state on a specific network interface.

Describe the solution you'd like

Either a NetworkInterface option to automatically restart the DHCP/RA discovery when link state goes up, or to have a public API that can be used to request that the stack restart address discovery on a specific NetworkInterface.

Describe alternatives you've considered

Currently, the public API makes it appear that I have to restart the stack for all network interfaces to have this occur.

Dominant language
C
Stars
215
Forks
222
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FreeRTOS/FreeRTOS-Plus-TCP

All issues in FreeRTOS/FreeRTOS-Plus-TCP

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.