docs/develop: Remove obsolete "net" documents.
They've been "obsolete" since 2006, so they must be extra-obsolete by now :-)
This commit is contained in:
parent
e7b5f0a6f7
commit
d3b7157201
@ -1,53 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit: Network apps</H1>
|
||||
|
||||
<H2>The Haiku Network Kit comes with some basic network utilities:</H2>
|
||||
|
||||
<UL>
|
||||
<LI><B>The Network GUI preference app</B><BR>
|
||||
<I>Location</I>: No one yet, as nothing exist yet!
|
||||
<LI><B>ping</B><BR>
|
||||
<I>Location</I>: <CODE>src/apps/bin/ping</CODE>
|
||||
<LI><B>ifconfig</B><BR>
|
||||
<I>Location</I>: <CODE>src/apps/bin/ifconfig</CODE>
|
||||
<LI><B>route</B><BR>
|
||||
<I>Location</I>: <CODE>src/apps/bin/route</CODE>
|
||||
<LI><B>traceroute</B><BR>
|
||||
<I>Location</I>: <CODE>src/apps/bin/traceroute</CODE>
|
||||
<LI><B>arp</B><BR>
|
||||
<I>Location</I>: <CODE>src/apps/bin/arp</CODE>
|
||||
</UL>
|
||||
|
||||
</UL>
|
||||
|
||||
<HR>
|
||||
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -1,142 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Haiku Network Kit</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<style type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
<h1>Haiku Network Kit: Build & installation instructions</h1>
|
||||
<p>Although the stack isn't quite finished, you can already test some basics. <br>
|
||||
You'll have to get the code, build it, install it and run it. <br>
|
||||
There isn't yet an easier way of getting the network stack, we're far from ready to release
|
||||
a binary package. </p>
|
||||
<p>So, if you accept your mission :</p>
|
||||
|
||||
<ol>
|
||||
<li><b>Get familiar</b>
|
||||
<p>First, go to <a href="http://open-beos.sourceforge.net/tms/team.php?id=7">team
|
||||
web page</a>.<br>
|
||||
Have a look around and see the current status of the stack. Have a glance
|
||||
over the jobs, perhaps there's something that interests you?
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<li><b>Furbish your tools</b>
|
||||
<p>Get the <a href="http://open-beos.sourceforge.net/dev.php">build tools
|
||||
suite</a>.<br>
|
||||
You'll need CVS, JAM, the fixed LD linker
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<li><b>May the code be with you</b>
|
||||
<p>For dark reason, you should have the source code to build.<br>
|
||||
So, you must checkout (anonymously) the full OBOS CVS:
|
||||
<ul>
|
||||
<li>Using CVS tool: follow the SourceForge <a href="http://sourceforge.net/cvs/?group_id=33869">information
|
||||
on CVS</a>.
|
||||
<li>If you don't want to fight with 'cvs' command line syntax, I recommand
|
||||
you using <a href="http://www.bebits.com/app/3407">CheckItOut</a> tool, with these settings values:
|
||||
<p>
|
||||
<table border=0 cellspacing=4>
|
||||
<tr><td align="right"><i>Project Name:</i></td><td><tt>open-beos</tt></td></tr>
|
||||
<tr><td align="right"><i>Location:</i></td><td><tt>/path/to/where/you/want/to/store/OBOS/cvs/tree/locally</tt></td></tr>
|
||||
<tr><td aligb="right"><i>Module Name:</i></td><td><tt>current</tt></td></tr>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<p>Only check <em>"Open Tracker once Completed"</em> option, if you
|
||||
want. <br>
|
||||
There, click "<em>Go</em>". Patience, it take time (and bandwidth!)</p>
|
||||
|
||||
<li>Other solution: download and unzip the current CVS <a href="http://cvs.sourceforge.net/cvstarballs/open-beos-cvsroot.tar.gz%20">snapshot
|
||||
tarball</a> from SourceForge. <br>
|
||||
Beware, it's huge, expect around 13MB.
|
||||
</ul>
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<li><b>Build</b>
|
||||
<p>Building the whole Networking Kit stuffs was made easy by Jam rules.<BR>
|
||||
Simply run these commands from a Terminal:</p>
|
||||
<p>
|
||||
<TABLE cellpadding=6 bgcolor=#E5E5E5 border=0>
|
||||
<TR>
|
||||
<TD><TT>$ cd /path/to/your/local/openbeos/current<BR>
|
||||
$ ./configure<BR>
|
||||
$ jam NetworkingKit</TT>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</p>
|
||||
<p>It should build all networking kit stuffs. If you encount any compile or
|
||||
link errors, report it to the network team mailing list.</p>
|
||||
</li>
|
||||
|
||||
<li><b>Install</b>
|
||||
<p>There are basically two ways to install the networking kit. The first way is to do it manually, as is described below. The second way
|
||||
is easier, as you won't have to do anything manually. If you want to use the second way, use the command <tt>jam install-networking</tt>.
|
||||
This way you can skip all the manual steps described below. Please note that the Haiku provided utilities like ping, are located
|
||||
under your local <tt>current/tests/kits/net/</tt>, where you can execute them as often as you like.</p>
|
||||
<p>However, if you are the manual type of person, you can find the networking kit binaries now under your local <tt>current/distro/x86.R1/*</tt><br>
|
||||
To install:
|
||||
<ul>
|
||||
<li>open your <tt>current/distro/x86.R1/beos/system/add-ons/kernel/drivers/bin</tt> folder<br>
|
||||
</li>
|
||||
<li>copy the <tt>net_stack_driver</tt> and <tt>net_server_driver</tt> into
|
||||
your <tt>/boot/home/config/add-ons/kernel/drivers/bin</tt><br>
|
||||
</li>
|
||||
<li>create in your <tt>/boot/home/config/add-ons/kernel/drivers/dev/net</tt>
|
||||
two symlinks <tt>"net_stack_driver"</tt> and <tt>"net_server_driver"</tt>,
|
||||
targetting the ones in <tt>../../bin/net_{stack|server}_driver</tt> (create this 'dev/net'
|
||||
directory if it don't exists yet)
|
||||
</li>
|
||||
<li>copy the whole <tt>current/distro/x86.R1/beos/system/add-ons/kernel/</tt>
|
||||
network folder to your <tt>/boot/home/config/add-ons/kernel</tt><br>
|
||||
<font color="red">BEWARE</font>: BONE users, you should disabled BONE own <tt>/boot/beos/system/add-ons/kernel/network</tt>
|
||||
modules folder, as our stack try to load these modules too, which currently throw you into KDL heaven...<br>
|
||||
So, rename this folder into anything that make sense, like <tt>network.bone</tt>. It'll disabled BONE after a reboot, which is required
|
||||
anyway to test the OBOS stack...
|
||||
</li>
|
||||
<li>copy the <tt>libnet.so</tt> and <tt>libnetapi.so</tt> libraries from your <tt>current/distro/x86.R1/beos/system/lib</tt>
|
||||
to a <tt>lib</tt> folder you should create into your <tt>current/distro/x86.R1/beos/bin</tt>, where the command line
|
||||
OBOS networking kit apps are located.<br>
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<li><b>Test, test, test</b>
|
||||
<p>You should free one of your /dev/net/*/0 network card (by disable in BONEyard,
|
||||
or by disabling in Network for net_server) Then, run the OBOS ifconfig tool from
|
||||
Terminal to see (and start) the stack detected interface(s) Last, play with
|
||||
ping, arp, traceroute, etc. Also check out the details on the <a href="http://philippe.houdoin.free.fr/phil/beos/openbeos/network_kit/">stack
|
||||
design.</a></p>
|
||||
</li>
|
||||
|
||||
</ol>
|
||||
|
||||
<hr>
|
||||
<h6>This document is written by <a href="mailto:philippe_[DOT]_houdoin_[AT]_free_[DOT]_fr">Philippe
|
||||
Houdoin</a> and edited by <a href="mailto:n_[DOT]_reedijk_[AT]_planet_[DOT]_nl">Niels Reedijk</a>.
|
||||
Last updated on July 30th, 2004</h6>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,57 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit: Debugging instructions</H1>
|
||||
|
||||
<P>For debugging purpose, and eventually stack internals learning purpose, we have develop
|
||||
an userland stack version, sharing most of the <A href="stack.html">network stack</A>
|
||||
source code but hosted by a app, <i>net_stack_tester</i>, in contrast with the real one hosted in kernelland, behind the
|
||||
<A href="stack_driver.html">stack driver</A>.
|
||||
</P>
|
||||
|
||||
<P>The following image shows this debug platform overall design:</P>
|
||||
|
||||
<IMG ALT="Haiku Network Stack debugging platform block diagram" SRC="obos_net_server_design_1.gif"><BR>
|
||||
|
||||
<P>The <A href="libs.html#libnet">libnet.so</A> library was modified to check if the NET_STACK_DRIVER_PATH
|
||||
environment variable is defined and use his value as driver path to interface with.
|
||||
To switch to <i>net_stack_tester</i> hosted stack version, just run this
|
||||
from a Terminal:</P>
|
||||
|
||||
<p>
|
||||
<TABLE cellpadding=6 bgcolor=#E5E5E5 border=0>
|
||||
<TR><TD><TT>$ export NET_STACK_DRIVER_PATH=/dev/net/server</TT>
|
||||
</TABLE>
|
||||
</p>
|
||||
|
||||
<P>Starting from there, all apps using libnet.so services will use the debug stack version.
|
||||
</P>
|
||||
|
||||
<HR>
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -1,72 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit</H1>
|
||||
|
||||
<P>
|
||||
<UL>
|
||||
<LI><A href="overview.html">Overview</A>
|
||||
<LI><A href="build.html">Build & installation intructions</A>
|
||||
<LI><A href="debugging.html">Debugging intructions</A>
|
||||
<LI>Implementation:
|
||||
<UL>
|
||||
<LI><A href="r5_compatibility.html">BeOS R5 compatibility issues</A>
|
||||
<LI><A href="libs.html">The shared libraries</A>
|
||||
<UL>
|
||||
<LI><A href="libs.html#libnet">libnet.so</A>
|
||||
<UL>
|
||||
<LI><A href="libs.html#sockets_api">POSIX/BSD sockets support</A>
|
||||
<LI><A href="libs.html#dns_resolver">DNS resolver</A>
|
||||
<LI><A href="libs.html#libnet_misc">Misc functions</A>
|
||||
</UL>
|
||||
<LI><A href="libs.html#libnetapi">libnetapi.so</A>
|
||||
</UL>
|
||||
<LI><A href="stack_driver.html">The stack driver</A>
|
||||
<LI><A href="stack.html">The network stack</A>
|
||||
<UL>
|
||||
<LI><A href="stack.html#core">Core module
|
||||
<LI><A href="stack.html#interfaces">Interfaces modules</A>
|
||||
<LI><A href="stack.html#protocols">Protocols modules</A>
|
||||
</UL>
|
||||
<LI><A href="apps.html">Network apps</A>
|
||||
<UL>
|
||||
<LI><A href="apps.html#preflet">The Network GUI preference app</A>
|
||||
<LI><A href="apps.html#ping">ping</A>
|
||||
<LI><A href="apps.html#ifconfig">ifconfig</A>
|
||||
<LI><A href="apps.html#route">route</A>
|
||||
<LI><A href="apps.html#traceroute">traceroute</A>
|
||||
<LI><A href="apps.html#arp">arp</A>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<HR>
|
||||
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -1,51 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit: The Shared Libraries</H1>
|
||||
|
||||
<UL>
|
||||
|
||||
<LI><A name="libnet">
|
||||
<H2>The libnet.so shared library</H2>
|
||||
<I>Location</I>: <CODE>src/kits/network/libnet</CODE>
|
||||
<P>This shared library is the way BeOS R5 provide the sockets POSIX/BSD API to apps. Being
|
||||
binary compatible with R5 make this library implementation tedious.</P>
|
||||
|
||||
<LI><A name="libnetapi">
|
||||
<H2>The libnetapi.so shared library</H2>
|
||||
<I>Location</I>: <CODE>src/kits/network/libnetapi</CODE>
|
||||
<P>This shared library contains thin C++ classes wrapping the C sockets POSIX/BSD API into
|
||||
these BNet* classes we're used under BeOS: look at them in your <A href="file:///boot/beos/documentation/Be%20Book/The%20Network%20Kit/index.html">
|
||||
BeBook</A></P>
|
||||
|
||||
</UL>
|
||||
|
||||
<HR>
|
||||
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
@ -1,50 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit: Overview</H1>
|
||||
|
||||
<P>The Haiku Network Kit consists of:
|
||||
<UL>
|
||||
<LI>A modular, add-ons based <A href="stack.html">network stack</A>
|
||||
<LI>Two shared libraries, <A href="libs.html#libnet">libnet.so</A> and
|
||||
<A href="libs.html#libnetapi">libnetapi.so</A>
|
||||
<LI>A <A href="stack_driver.html">stack driver</A>, acting as interface between the
|
||||
<A href="stack.html">network stack</A> and <A href="libs.html#libnet">libnet.so</A>
|
||||
<LI>Basic <A href="apps.html">network apps</A>
|
||||
<LI>A modular GUI <A href="apps.html#preflet">preflet</A>
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<H2>A picture may talk better?</H2>
|
||||
<P>The following image shows the overall network design:</P>
|
||||
|
||||
<IMG ALT="Haiku Network Kit block diagram" SRC="obos_net_stack_design_1.gif"><BR>
|
||||
|
||||
<HR>
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -1,101 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit: R5 compatibility issues</H1>
|
||||
|
||||
<P>Unfortunatly, R5 and sooner (net_server based) network stack development header file (/develop/headers/be/net/socket.h) definition of
|
||||
network structures and constantes are not BSD standard ones.<BR>
|
||||
BONE, otherwise, try to follow at best these standards definitions which,
|
||||
in turn, break binary compatibility with R5 network apps compiled for R5 network stack.<BR>
|
||||
Hence why you needs to link against libsocket.so, libbind.so and libbnetapi.so BONE apps instead of
|
||||
R5 libnet.so and libnetapi.so libraries...
|
||||
</P>
|
||||
<P>So, here we are. By design, we must:
|
||||
<UL>
|
||||
<LI>Provide backward binary compatibility with old, non-standard, network definitions used
|
||||
by apps linked against R5 network stack;
|
||||
<LI>But use the standard/de-facto BSD network definitions, to increase Unix network apps ports ease under
|
||||
Haiku.
|
||||
</UL>
|
||||
</P>
|
||||
|
||||
<P>Network definitions differences:
|
||||
</P>
|
||||
<P><TABLE cellpadding=2 cellspacing=2 border=0>
|
||||
<TR bgcolor=#E5E5E5 valign="top">
|
||||
<TH>Item<TH width="25%">R5 stack<TH width="25%">BONE stack<TH width="25%">Haiku stack
|
||||
|
||||
<TR bgcolor=#E5E5E5 valign="top">
|
||||
<TD><font color=#0000A0>socket.h</font> header file
|
||||
<TD><font color=#0000A0>be/net/socket.h</font>
|
||||
<TD><font color=#0000A0>be/bone/sys/socket.h</font>
|
||||
<TD><font color=#0000A0>posix/sys/socket.h</font>
|
||||
|
||||
<TR bgcolor=#E5E5E5><TD>SOCK_DGRAM<TD>1<TD>2<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SOCK_STREAM<TD>2<TD>1<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SOCK_RAW<TD>not defined<TD>3<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SOCK_MISC<TD>not defined<TD>255<TD>idem as BONE
|
||||
|
||||
<TR bgcolor=#E5E5E5><TD>SOL_SOCKET<TD>1<TD>0xffffffff<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SO_DEBUG<TD>1<TD>0x00000004<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SO_REUSEADDR<TD>2<TD>0x00000040<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SO_NONBLOCK<TD>3<TD>0x40000009<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SO_REUSEPORT<TD>4<TD>0x00000080<TD>idem as BONE
|
||||
<TR bgcolor=#E5E5E5><TD>SO_FIONREAD<TD>5<TD>?<TD>?
|
||||
|
||||
|
||||
<TR bgcolor=#E5E5E5 valign="top"><TD>sockaddr
|
||||
<TD><TT>struct sockaddr {<BR>
|
||||
unsigned short sa_family;<BR>
|
||||
char sa_data[10];<BR>
|
||||
};</TT>
|
||||
<TD><TT>struct sockaddr {<BR>
|
||||
uint8 sa_len;<BR>
|
||||
uint8 sa_family;<BR>
|
||||
uint8 sa_data[30];<BR>
|
||||
};</TT>
|
||||
<TD>idem as BONE
|
||||
|
||||
<TR bgcolor=#E5E5E5><TD>closesocket()
|
||||
<TD>defined<TD>not defined<TD>defined, call close()
|
||||
|
||||
|
||||
<TR bgcolor=#E5E5E5 valign="top">
|
||||
<TD><font color=#0000A0>in.h</font> header file
|
||||
<TD><font color=#0000A0>be/net/netinet/in.h</font>, which in turn include <BR>
|
||||
<font color=#0000A0>be/net/socket.h</font>
|
||||
<TD><font color=#0000A0>be/bone/netinet/in.h</font>
|
||||
<TD><font color=#0000A0>posix/netinet/in.h</font>
|
||||
|
||||
</TABLE>
|
||||
</P>
|
||||
|
||||
<HR>
|
||||
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -1,55 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit: The Network Stack</H1>
|
||||
|
||||
<I>Location</I>: <CODE>src/add-ons/kernel/network</CODE>
|
||||
<P>[Write a short overview about it!!!]</P>
|
||||
|
||||
<UL>
|
||||
<LI><A name="core">
|
||||
<H2>Core module</H2>
|
||||
<I>Location</I>: <CODE>src/add-ons/kernel/network/core</CODE>
|
||||
<P>[Tell all about this module here!!!]</P>
|
||||
|
||||
<LI><A name="interfaces">
|
||||
<H2>Interfaces modules</H2>
|
||||
<I>Location</I>: <CODE>src/add-ons/kernel/network/interfaces</CODE>
|
||||
<P>[Tell all about these modules here!!!]</P>
|
||||
|
||||
<LI><A name="protocols">
|
||||
<H2>Protocols modules</H2>
|
||||
<I>Location</I>: <CODE>src/add-ons/kernel/network/protocols</CODE>
|
||||
<P>[Tell all about these modules here!!!]</P>
|
||||
|
||||
</UL>
|
||||
|
||||
<HR>
|
||||
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -1,45 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
||||
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Haiku Network Kit</TITLE>
|
||||
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
|
||||
<STYLE type="text/css">
|
||||
body
|
||||
{
|
||||
text-indent: 0in;
|
||||
font-stretch: normal;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
font-variant: normal;
|
||||
color: #000000;
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
widows: 2;
|
||||
font-family: "Century Gothic", "Trebuchet MS", "Trebuchet", "Arial", "Helvetica";
|
||||
background-color: #ffffff;
|
||||
}
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY text=#000000 vLink=#0000a0 aLink=#0000ff link=#0000c0 bgColor=#ffffff>
|
||||
|
||||
<H1>Haiku Network Kit: The Stack Driver</H1>
|
||||
|
||||
<I>Location</I>: <CODE>src/add-ons/kernel/drivers/network/stack</CODE>
|
||||
<P>The stack driver is the interface between <A href="libs.html#libnet">libnet</A> and the real stack behind him,
|
||||
host by the <A href="stack.html">network stack</A> kernel modules.</P>
|
||||
His purpose is multiple:
|
||||
<OL>
|
||||
<LI>Provide the sockets == file descriptors support
|
||||
<LI>Provide a support for select() on sockets
|
||||
<LI>Load the network stack at first access, and keep it that way then...
|
||||
</OL>
|
||||
</P>
|
||||
|
||||
<HR>
|
||||
|
||||
<H6>Philippe Houdoin, July 30th, 2004</H6>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
Loading…
Reference in New Issue
Block a user