Skip to content

Add generic UDP networking to Linux95 - #5

Merged
Black7i77 merged 9 commits into
v1.0-devfrom
udp-networking
Sep 26, 2026
Merged

Black7i77 merged 9 commits into
v1.0-devfrom
udp-networking

Conversation

@Black7i77

Copy link
Copy Markdown
Owner

Summary

Adds the Linux95 UDP networking milestone on top of the existing
RTL8139 → Ethernet → ARP → IPv4 stack.

Included

  • Generic UDP packet build/parse support
  • IPv4 UDP checksum handling
  • Fixed UDP port bindings
  • IPv4 receive dispatch for protocol 17
  • UDP transmit path with ARP resolution and bounded pending-send state
  • Real QEMU UDP echo verification
  • Hardened QEMU smoke-test completion checks
  • UDP design spec and implementation plan

Preserved behavior

  • Existing RTL8139 networking
  • Ethernet / ARP / IPv4 / ICMP ping
  • Graphical desktop
  • Ring 3 userspace
  • Timer-driven preemptive scheduling
  • No-network fallback

Verification

  • make clean && make all && make test — PASS
  • make test-qemu — PASS
  • Standalone QEMU modes — UDP echo, no-network, no-user-programs,
    process self-test, process fault, and process preemption — PASS
  • nm -u build/kernel.elf — no unresolved symbols
  • git diff --check — clean

DNS remains out of scope for this PR and is intended as the next
networking layer.

@Black7i77
Black7i77 merged commit 6bcca43 into v1.0-dev Sep 26, 2026
1 check passed
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.

2 participants