diff --git a/docs/develop/net/obsolete/apps.html b/docs/develop/net/obsolete/apps.html deleted file mode 100644 index 3dda26f99d..0000000000 --- a/docs/develop/net/obsolete/apps.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: Network apps

- -

The Haiku Network Kit comes with some basic network utilities:

- - - - - -
- -
Philippe Houdoin, July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/build.html b/docs/develop/net/obsolete/build.html deleted file mode 100644 index 401cc21dd1..0000000000 --- a/docs/develop/net/obsolete/build.html +++ /dev/null @@ -1,142 +0,0 @@ - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: Build & installation instructions

-

Although the stack isn't quite finished, you can already test some basics.
- You'll have to get the code, build it, install it and run it.
- There isn't yet an easier way of getting the network stack, we're far from ready to release - a binary package.

-

So, if you accept your mission :

- -
    -
  1. Get familiar -

    First, go to team - web page.
    - 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? -

    -
  2. - -
  3. Furbish your tools -

    Get the build tools - suite.
    - You'll need CVS, JAM, the fixed LD linker -

    -
  4. - -
  5. May the code be with you -

    For dark reason, you should have the source code to build.
    - So, you must checkout (anonymously) the full OBOS CVS: -

    -

    -
  6. - -
  7. Build -

    Building the whole Networking Kit stuffs was made easy by Jam rules.
    -Simply run these commands from a Terminal:

    -

    - - - - -
    $ cd /path/to/your/local/openbeos/current
    - $ ./configure
    - $ jam NetworkingKit
    -
    -

    -

    It should build all networking kit stuffs. If you encount any compile or - link errors, report it to the network team mailing list.

    -
  8. - -
  9. Install -

    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 jam install-networking. - 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 current/tests/kits/net/, where you can execute them as often as you like.

    -

    However, if you are the manual type of person, you can find the networking kit binaries now under your local current/distro/x86.R1/*
    - To install: -

    -

    -
  10. - -
  11. Test, test, test -

    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 stack - design.

    -
  12. - -
- -
-
This document is written by Philippe - Houdoin and edited by Niels Reedijk. - Last updated on July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/debugging.html b/docs/develop/net/obsolete/debugging.html deleted file mode 100644 index bffa682a5c..0000000000 --- a/docs/develop/net/obsolete/debugging.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: Debugging instructions

- -

For debugging purpose, and eventually stack internals learning purpose, we have develop -an userland stack version, sharing most of the network stack -source code but hosted by a app, net_stack_tester, in contrast with the real one hosted in kernelland, behind the -stack driver. -

- -

The following image shows this debug platform overall design:

- -Haiku Network Stack debugging platform block diagram
- -

The libnet.so 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 net_stack_tester hosted stack version, just run this -from a Terminal:

- -

- -
$ export NET_STACK_DRIVER_PATH=/dev/net/server -
-

- -

Starting from there, all apps using libnet.so services will use the debug stack version. -

- -
-
Philippe Houdoin, July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/index.html b/docs/develop/net/obsolete/index.html deleted file mode 100644 index 691d4ebcce..0000000000 --- a/docs/develop/net/obsolete/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit

- -

-

-

- -
- -
Philippe Houdoin, July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/libs.html b/docs/develop/net/obsolete/libs.html deleted file mode 100644 index 856712b5fd..0000000000 --- a/docs/develop/net/obsolete/libs.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: The Shared Libraries

- - - -
- -
Philippe Houdoin, July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/obos_net_server_design_1.gif b/docs/develop/net/obsolete/obos_net_server_design_1.gif deleted file mode 100644 index ea9160bd99..0000000000 Binary files a/docs/develop/net/obsolete/obos_net_server_design_1.gif and /dev/null differ diff --git a/docs/develop/net/obsolete/obos_net_stack_design_1.gif b/docs/develop/net/obsolete/obos_net_stack_design_1.gif deleted file mode 100644 index d08644e8b6..0000000000 Binary files a/docs/develop/net/obsolete/obos_net_stack_design_1.gif and /dev/null differ diff --git a/docs/develop/net/obsolete/overview.html b/docs/develop/net/obsolete/overview.html deleted file mode 100644 index bbf425af69..0000000000 --- a/docs/develop/net/obsolete/overview.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: Overview

- -

The Haiku Network Kit consists of: -

-

- -

A picture may talk better?

-

The following image shows the overall network design:

- -Haiku Network Kit block diagram
- -
-
Philippe Houdoin, July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/r5_compatibility.html b/docs/develop/net/obsolete/r5_compatibility.html deleted file mode 100644 index 160af146ec..0000000000 --- a/docs/develop/net/obsolete/r5_compatibility.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: R5 compatibility issues

- -

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.
-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.
-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... -

-

So, here we are. By design, we must: -

-

- -

Network definitions differences: -

-

- - - -
ItemR5 stackBONE stackHaiku stack - -
socket.h header file -be/net/socket.h -be/bone/sys/socket.h -posix/sys/socket.h - -
SOCK_DGRAM12idem as BONE -
SOCK_STREAM21idem as BONE -
SOCK_RAWnot defined3idem as BONE -
SOCK_MISCnot defined255idem as BONE - -
SOL_SOCKET10xffffffffidem as BONE -
SO_DEBUG10x00000004idem as BONE -
SO_REUSEADDR20x00000040idem as BONE -
SO_NONBLOCK30x40000009idem as BONE -
SO_REUSEPORT40x00000080idem as BONE -
SO_FIONREAD5?? - - -
sockaddr -struct sockaddr {
-  unsigned short sa_family;
-  char sa_data[10];
-};
-
struct sockaddr {
-  uint8 sa_len;
-  uint8 sa_family;
-  uint8 sa_data[30];
-};
-
idem as BONE - -
closesocket() -definednot defineddefined, call close() - - -
in.h header file -be/net/netinet/in.h, which in turn include
-be/net/socket.h -
be/bone/netinet/in.h -posix/netinet/in.h - -
-

- -
- -
Philippe Houdoin, July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/stack.html b/docs/develop/net/obsolete/stack.html deleted file mode 100644 index 595cf60ee6..0000000000 --- a/docs/develop/net/obsolete/stack.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: The Network Stack

- -Location: src/add-ons/kernel/network -

[Write a short overview about it!!!]

- - - -
- -
Philippe Houdoin, July 30th, 2004
- - - diff --git a/docs/develop/net/obsolete/stack_driver.html b/docs/develop/net/obsolete/stack_driver.html deleted file mode 100644 index eac64d6dfc..0000000000 --- a/docs/develop/net/obsolete/stack_driver.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - -Haiku Network Kit - - - - - -

Haiku Network Kit: The Stack Driver

- -Location: src/add-ons/kernel/drivers/network/stack -

The stack driver is the interface between libnet and the real stack behind him, -host by the network stack kernel modules.

-His purpose is multiple: -
    -
  1. Provide the sockets == file descriptors support -
  2. Provide a support for select() on sockets -
  3. Load the network stack at first access, and keep it that way then... -
-

- -
- -
Philippe Houdoin, July 30th, 2004
- - -