Skip to content

Refactored net#20

Merged
differrari merged 20 commits intodifferrari:mainfrom
CodeAnarchist:refactored_net
Aug 6, 2025
Merged

Refactored net#20
differrari merged 20 commits intodifferrari:mainfrom
CodeAnarchist:refactored_net

Conversation

@CodeAnarchist
Copy link
Copy Markdown
Contributor

complete refactor of the networking components, both shared/net and kernel/networking:
isolated protocol layers and divided them by folder
added ARP table, static ARP entries, and an ARP service
added socket classes for TCP, UDP, and HTTP
added ICMP handling
implemented ephemeral port management and update port manager
port based segment multiplexing/demultiplexing separated for TCP and UDP
added routing table for ipv4
updated all protocols, particularly TCP, for improved standards compliance
updated DHCP to run as a service, supporting all states and persisting all relevant informations
refactored dispatcher into a service that communicates only with drivers and ethernet, handling packets via queues
added a couple of methods to string.h and updated scheduler.c to fix a bug in sleep()
an HTTP server was added on port 80, which starts after executing DHCP and normal network tests

@CodeAnarchist CodeAnarchist force-pushed the refactored_net branch 2 times, most recently from 1eed563 to 99932e2 Compare August 5, 2025 21:26
@CodeAnarchist CodeAnarchist deleted the refactored_net branch August 6, 2025 10:06
@CodeAnarchist CodeAnarchist restored the refactored_net branch August 6, 2025 10:08
@CodeAnarchist CodeAnarchist reopened this Aug 6, 2025
@differrari differrari merged commit 07687ea into differrari:main Aug 6, 2025
1 check passed
differrari pushed a commit that referenced this pull request Aug 9, 2025
@CodeAnarchist CodeAnarchist deleted the refactored_net branch October 12, 2025 11:57
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