mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-29 08:46:31 +00:00
2ea6956433
Restructure network stack to use new Interrupt methods instead of hard-coded IRQ numbers. Add line count update into build process. Add progress bars to HTML generation and DoDistro. Clear Network Log border_doc. Fix font chars. Clean up some lingering unconverted variable and directory names. Remove word-wrap DolDoc tag from Clementine bible because of CPU spikes.
95 lines
4.2 KiB
HTML
Executable file
95 lines
4.2 KiB
HTML
Executable file
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
|
|
<meta name="generator" content="ZealOS V0.07">
|
|
<style type="text/css">
|
|
body {background-color:#000000;}
|
|
.c0F{color:#000000;background-color:#ffffff;}
|
|
.cF0{color:#ffffff;background-color:#000000;}
|
|
.cF1{color:#3465a4;background-color:#000000;}
|
|
.cF2{color:#4e9a06;background-color:#000000;}
|
|
.cF3{color:#06989a;background-color:#000000;}
|
|
.cF4{color:#a24444;background-color:#000000;}
|
|
.cF5{color:#75507b;background-color:#000000;}
|
|
.cF6{color:#ce982f;background-color:#000000;}
|
|
.cF7{color:#bcc0b9;background-color:#000000;}
|
|
.cF8{color:#555753;background-color:#000000;}
|
|
.cF9{color:#729fcf;background-color:#000000;}
|
|
.cFA{color:#82bc49;background-color:#000000;}
|
|
.cFB{color:#34e2e2;background-color:#000000;}
|
|
.cFC{color:#ac3535;background-color:#000000;}
|
|
.cFD{color:#ad7fa8;background-color:#000000;}
|
|
.cFE{color:#fce94f;background-color:#000000;}
|
|
.cFF{color:#000000;background-color:#000000;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<pre style="font-family:monospace;font-size:12pt">
|
|
<a name="l1"></a><span class=c0F>Zeal Networking Stack Notes</span><span class=cF0>
|
|
<a name="l2"></a>
|
|
<a name="l3"></a>Departures from Shrine:
|
|
<a name="l4"></a>
|
|
<a name="l5"></a> ARP Cache is Hashtable. Keys are U32 ip addresses converted to "%X" string.
|
|
<a name="l6"></a>
|
|
<a name="l7"></a> DNS Cache is Hashtable. Keys are U8 *hostname.
|
|
<a name="l8"></a>
|
|
<a name="l9"></a> NetFIFO is NetQueue. If problems arise, maybe set a #define max
|
|
<a name="l10"></a> for the length of the Queue.
|
|
<a name="l11"></a>
|
|
<a name="l12"></a> Not defining ntohl and friends. Using Endian functions.
|
|
<a name="l13"></a>
|
|
<a name="l14"></a> Many file global vars have been condensed into global classes.
|
|
<a name="l15"></a>
|
|
<a name="l16"></a> Sockets are a non-standard finite state machine.
|
|
<a name="l17"></a> Protocols extend these to create protocol-specific sockets.
|
|
<a name="l18"></a>
|
|
<a name="l19"></a>Stack progress: (# done, ~ WIP, . N/A)
|
|
<a name="l20"></a>
|
|
<a name="l21"></a> # PCNet-II Driver
|
|
<a name="l22"></a> . Other Network Card Drivers? See </span><a href="https://tomawezome.github.io/ZealOS/Home/Roadmap.DD.html#l10"><span class=cF4>Roadmap</span></a><span class=cF0>.
|
|
<a name="l23"></a>
|
|
<a name="l24"></a> # NetQueue
|
|
<a name="l25"></a>
|
|
<a name="l26"></a> # Ethernet
|
|
<a name="l27"></a> - double check.
|
|
<a name="l28"></a>
|
|
<a name="l29"></a> # ARP (Address Resolution Protocol)
|
|
<a name="l30"></a> - double check.
|
|
<a name="l31"></a>
|
|
<a name="l32"></a> # Sockets
|
|
<a name="l33"></a> - Implemented a Finite State Machine
|
|
<a name="l34"></a> through Socket function calls.
|
|
<a name="l35"></a> Sockets themselves do nothing,
|
|
<a name="l36"></a> all calls simply do/don't alter
|
|
<a name="l37"></a> socket state. Protocols will
|
|
<a name="l38"></a> need to detect socket states
|
|
<a name="l39"></a> and respond appropriately.
|
|
<a name="l40"></a> - keep eyes on verifying socket logic sanity.
|
|
<a name="l41"></a>
|
|
<a name="l42"></a> # IPV4 (Internet Protocol Version 4)
|
|
<a name="l43"></a> - double check, some TODOs.
|
|
<a name="l44"></a>
|
|
<a name="l45"></a> ~ ICMP (Internet Control Message Protocol)
|
|
<a name="l46"></a> - needs ICMPSendRequest implemented.
|
|
<a name="l47"></a>
|
|
<a name="l48"></a> ~ TCP (Transmission Control Protocol)
|
|
<a name="l49"></a> - needs much testing, still many bugs/oddities.
|
|
<a name="l50"></a> - needs reviewing RFC for better compliance.
|
|
<a name="l51"></a>
|
|
<a name="l52"></a> # UDP (User Datagram Protocol)
|
|
<a name="l53"></a> - double check, some TODOs.
|
|
<a name="l54"></a>
|
|
<a name="l55"></a> ~ DNS (Domain Name System)
|
|
<a name="l56"></a> - needs clarifying/rewriting in certain methods.
|
|
<a name="l57"></a>
|
|
<a name="l58"></a> ~ DHCP (Dynamic Host Configuration Protocol)
|
|
<a name="l59"></a> - needs clarifying/rewriting in certain methods.
|
|
<a name="l60"></a>
|
|
<a name="l61"></a> # NetHandler
|
|
<a name="l62"></a> - Uses a switch case with packet ethertype,
|
|
<a name="l63"></a> then directly calls the appropriate handler.
|
|
<a name="l64"></a>
|
|
<a name="l65"></a> - IPV4Handler was moved to NetHandler file.
|
|
</span></pre></body>
|
|
</html>
|