From 9867f08a8e827625ae9f3c27dda5d2d681911e5c Mon Sep 17 00:00:00 2001
From: Philippe Houdoin
Date: Mon, 12 Jan 2004 23:57:48 +0000
Subject: [PATCH] Add a new page to describe the network stack userland
debugging environment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6040 a95241bf-73f2-0310-859d-f6bbb57e9c96
---
docs/develop/net/debugging.html | 57 ++++++++++++++++++++++++++
docs/develop/net/index.html | 4 +-
docs/develop/net/r5_compatibility.html | 11 +++--
3 files changed, 67 insertions(+), 5 deletions(-)
create mode 100644 docs/develop/net/debugging.html
diff --git a/docs/develop/net/debugging.html b/docs/develop/net/debugging.html
new file mode 100644
index 0000000000..1dc47cd1f7
--- /dev/null
+++ b/docs/develop/net/debugging.html
@@ -0,0 +1,57 @@
+
+
+
+
+OpenBeOS Network Kit
+
+
+
+
+
+OpenBeOS 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:
+
+
+
+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, January 12th, 2004
+
+
+
diff --git a/docs/develop/net/index.html b/docs/develop/net/index.html
index 175b417c80..07020e0cfe 100644
--- a/docs/develop/net/index.html
+++ b/docs/develop/net/index.html
@@ -30,8 +30,10 @@ body