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:

+ +OpenBeOS 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, 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