Skip to content

feat(iface): support runtime link configuration - #25

Merged
fslongjin merged 1 commit into
dragonos/v0.12.0from
codex/issue-2233-link-runtime-config
Sep 4, 2026
Merged

feat(iface): support runtime link configuration#25
fslongjin merged 1 commit into
dragonos/v0.12.0from
codex/issue-2233-link-runtime-config

Conversation

@fslongjin

@fslongjin fslongjin commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

  • add bounded runtime IP MTU updates for cached interface capabilities
  • add Linux-compatible runtime neighbor-discovery control for DragonOS IFF_NOARP
  • keep explicit permanent neighbors and IPv6 solicitation replies working while disabling dynamic resolution
  • invalidate cached neighbors and pending fragments when link policy changes

Validation

  • cargo fmt --all -- --check
  • cargo test (632 unit tests and 7 doc tests)
  • no-default-feature checks for IPv4/IP/UDP, IPv4/Ethernet/DHCPv4, and IPv6/Ethernet/UDP

DragonOS-Community/DragonOS#2233

Add bounded runtime IP MTU updates so cached interface capabilities, TCP MSS calculations, and native fragmentation observe administrative MTU changes without rebuilding the interface. Preserve the device capability ceiling and reject unsafe values atomically.

Add a runtime neighbor-discovery mode for DragonOS IFF_NOARP integration. Dynamic ARP and NDISC learning is disabled while Linux-compatible IPv6 solicitation replies, explicit permanent neighbors, direct device-address fallback, readiness reporting, and fragment invalidation remain coherent across mode transitions.

Cover MTU boundaries, dynamic cache invalidation, ARP/NDISC behavior, permanent-neighbor priority, and pending-fragment transitions.

Signed-off-by: longjin <longjin@dragonos.org>
@fslongjin
fslongjin merged commit 0e3ff92 into dragonos/v0.12.0 Sep 4, 2026
6 of 12 checks passed
@fslongjin
fslongjin deleted the codex/issue-2233-link-runtime-config branch September 4, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant