Commit Graph
100 Commits
Author SHA1 Message Date
Waldemar Kornewald 2f13f213de * Made the PPP code more single-threaded.
* Removed ppp_up code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-16 14:24:16 +00:00
Waldemar Kornewald 470dbda0b0 Last libnetwork.so commit. Added DEVNOTES to socket interface. libnetwork.so now compiles fine and the source is shared with libbind.so.
NEXT: port the FreeBSD netstack
I need volunteers for this huge task. And I don't have much time left for coding, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-20 11:18:31 +00:00
Waldemar Kornewald 45b03b39c4 Also deleted TLSInit.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-20 10:59:34 +00:00
Waldemar Kornewald 5af343b54b Removed unneeded sources.
Just noticed that VI did not like my copy-pasted commit log. It should be: we _need_ better pthread/mutex support. Here is the important part, again:
Cleaned up native part of libbind.so a little bit more. Though, the ugly hack remains. We need better pthread/mutex support. Added TODO that we also should move sysctl() into the kernel and libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-20 10:58:47 +00:00
Waldemar Kornewald ce823541ec Removed #ifdef __cplusplus from networking headers. The check is already done in cdefs.h (__BEGIN_DECLS) which I committed yesterday.
Committed libnetwork.so. I actually wanted to port BSD's libc/net resolver, but that one uses too many unsupported functions, so I basically merged libbind.so and libsocket.so into one library.

Moved the libbind.so sources to libnetwork/dns.

Cleaned up native part of libbind.so a little bit more. Though, the ugly hack remains. We nbetter pthread/mutex support. Added TODO that we also shousctl() into the kernel and libroot.so.

Improved DEVNOTES a little bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-20 10:54:58 +00:00
Waldemar Kornewald 5d7cf21bdf More preparations for libnetwork.so. SVN does not let me commit everything at once.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-20 10:48:12 +00:00
Waldemar Kornewald ffcb4cfc98 Preparations for libnetwork.so commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-20 10:43:54 +00:00
Waldemar Kornewald 8c85eedc66 Moved the needed headers from private to posix folder. This should hopefully fix the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-19 17:42:05 +00:00
Waldemar Kornewald f7a223fa1b Removed unneeded libbind files (were never compiled, anyway).
Moved some headers around and cleaned them up.

Fixed threading code in libbind.so. Don't know why I hadn't noticed this before. Now it is reliable, but uses an even uglier hack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-19 13:26:54 +00:00
Waldemar Kornewald 5352d6baaa Updated DEVNOTES. It's finally complete, now.
Fixed headers:
- added checks for C++
- removed _REENTRANT checks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-17 11:58:39 +00:00
Waldemar Kornewald c544064d35 Updated BIND resolver library (libbind.so) to version 9.3.1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-16 22:38:13 +00:00
Waldemar Kornewald 57eab4408b Now we use the legacy headers when building our compatibility libraries. Fixed BuildSetup to use root instead of libroot.so because arp would not build otherwise. Command-line apps now don't build for R5, anymore. I hope nothing is broken.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-13 16:30:16 +00:00
Waldemar Kornewald a7c861ab5a Preparing for libnetwork.so.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 20:25:44 +00:00
Waldemar Kornewald 8a1a2b3aa9 Cleaned up the net_stack_driver a little bit, so it is more usable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 20:09:47 +00:00
Waldemar Kornewald aa782b3ed6 Minor modification to net_stack_driver's header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 20:09:13 +00:00
Waldemar Kornewald 9ad01d8d1f Added the merged objects to LinkAgainst.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-03 21:10:53 +00:00
Waldemar Kornewald f6ba01da14 Fixed ld reporting too many arguments.
Question about libbind: Why do I have to specify libroot.so in LinkAgainst? And does SharedLibrary not set the dependencies? I had to add Depends libbind.so : ... ;. Ingo, anyone?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-27 13:36:49 +00:00
Waldemar Kornewald 67b376e953 Moved our networking libraries to src/kits/network/compat. We want to have our own, clean libnetwork.so.
TODO: move all public networking headers to some other place (compat or headers/legacy?) and replace the current headers with clean versions from FreeBSD and BIND 9.3.1
TODO: remove R5 target support


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-26 17:36:59 +00:00
Waldemar Kornewald e50616872e We should not forget to stop the etherq (was not sure if the stack does
it for us, but seems that we had a lock/memory-leak, here).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-18 18:46:45 +00:00
Waldemar Kornewald a957e4c978 Fixed a bug and memory leak in PPPManager.
Added *very* naive semaphore-deletion detection code to ethernet module (fixes crashing bug on unload).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-18 18:35:13 +00:00
Waldemar Kornewald ad02d98e02 Fixed bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 13:56:58 +00:00
Waldemar Kornewald 9cad6d980b Fixed very stupid bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 13:56:22 +00:00
Waldemar Kornewald 36d4f38324 Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 13:54:27 +00:00
Waldemar Kornewald 6fe225bce4 Changed email address, nothing special.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:11:12 +00:00
Waldemar Kornewald 1dd511e38b Added ppp_up. Still in need of nice icons for the replicant.
Untested.
This also fixes makehdimage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:07:22 +00:00
Waldemar Kornewald a89ad654b0 Thank you, Kristian Knuechel, for reporting a bug (now fixed).
Fixed the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:06:12 +00:00
Waldemar Kornewald 6e17c55acc Bye, bye, poor net_server. :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 18:17:18 +00:00
Waldemar Kornewald abdb7d1abb - updated email-address
- removed profiles, ppp_up, and some TODOs
- simplified KPPPReportManager and reports API, KPPPInterface::Up()+Down(), and PPPInterfaceListener (also removed some features from the last one)
- KPPPInterface now sends the last PPP_CONNECTION_REPORT message to every newly registered report receiver
- added net_server to the build, but removed old net_server testing-stuff

all changes are completely untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 15:11:36 +00:00
Waldemar Kornewald 75d0f2ba9b Finished the UI stuff. Not tested, though. If everything works as expected (I doubt it ;) you should see a little window prompting your login before connecting. It also allows canceling a connection attempt. After you establish a connection you should see an ugly Deskbar replicant. Click on it to see connection statistics and to disconnect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:50:50 +00:00
Waldemar Kornewald 484a5f0ec2 Fixed some stupid bugs. Added atomic.S (only atomic_xxx64 functions). This will be removed later because Haiku has it built-in.
Added some little functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:48:11 +00:00
Waldemar Kornewald 29dcffdf80 Fixed some bugs. Setting a default interface now actually works, but the functionality is hidden because we do not yet have kernel-side IPCP support for ConnectOnDemand (COD).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 09:42:57 +00:00
Waldemar Kornewald e91b737412 Implemented support for default interface and ConnectOnDemand within core. IPCP will probably need more tweaking, did not have a look at that.
Interface statistics are now maintained.
If I did not forget anything the core stack is now feature-complete.
Only ppp_up must be finished, bugs and hacks found, and modem support added; that's it for R1, I hope.
Everyting untested!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 15:02:14 +00:00
Waldemar Kornewald eb89d62ca5 Implemented support for default interface. Not tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 14:55:07 +00:00
Waldemar Kornewald 1d34350c71 Renamed "Dial" to "Connect".
ppp_up now checks for "AskBeforeConnecting" flag


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 10:41:35 +00:00
Waldemar Kornewald 7577e5e2c4 Renamed "Dial" to "Connect".
Added checkbox for setting default interface (not yet implemented).
Simplified "Options" tab (no ConnectOnDemand anymore).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 10:39:04 +00:00
Waldemar Kornewald 0cbb739d3b Renamed "Dial" to "Connect" (only modems dial).
Removed DialOnDemand settings key.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-20 10:36:43 +00:00
Waldemar Kornewald aecf791bff And again some new files I did not commit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 13:14:53 +00:00
Waldemar Kornewald dceee0de1e Changed license headers. Consider net_server as dead.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:56:05 +00:00
Waldemar Kornewald 84b580c425 DialOnDemand will be handled differently. Instead of setting it manually in the prefs we have one default interface. Still not finished.
Moved ppp_up code to KPPPManager.
Experimenting with IPCP DialOnDemand support.
Many changes I do not remember.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:55:27 +00:00
Waldemar Kornewald c18c171835 Put module and settings handling into libptpnet.a. This is the beginning of the userland part of our PTP (Point-To-Point interfaces) library which is responsible for every kind of connection kind that has exactly two endpoints.
Some other changes I do not remember.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:52:19 +00:00
Waldemar Kornewald dbf0699fad Be more informative.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:49:28 +00:00
Waldemar Kornewald 7b79abd0ec Forgot to commit some files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:47:40 +00:00
Waldemar Kornewald 9c15eafc5d Work in progress. Untested.
All ppp_up instances are now maintained by KPPPManager.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:46:41 +00:00
Waldemar Kornewald b1158dce78 Fixed build. Using -fno-rtti.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 12:59:27 +00:00
Waldemar Kornewald fb2b4232cf Fixed build. Using -fno-rtti now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 12:58:24 +00:00
Waldemar Kornewald 982115e516 Fixed a buffer overflow caused by our R5 select() emulation.
Added missing uname() function which is needed for full R5 compatibility.
It seems that nearly all apps are working now. I could finally run Vision (BONE and R5), BeShare (quick test only), lynx, Net+, etc.
Apps that don't work: Mozilla for BONE, some ssh binary that I downloaded, Be's ftp when not in passive mode.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 07:35:31 +00:00
Waldemar Kornewald 42605e58c3 Changed to choose select() emulation on a per-request basis.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 07:32:12 +00:00
Waldemar Kornewald f02249c7c2 Work in progress. The select() notification function is now set per socket instead of globally. Still not fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 22:37:04 +00:00
Waldemar Kornewald 861d934e82 This should fix BONE compatibility a little bit. We still need nonblocking IO and a good select() fix.
Explanation: we did not have the same sockaddr_in struct size as BONE, but our netstack wants to have our size, so I changed it to match BONE's. ;)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 22:31:54 +00:00
Waldemar Kornewald 496d0bc32f Moved uio struct to core_private.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 08:45:32 +00:00
Waldemar Kornewald 5fdb117cae We are Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-08 08:45:24 +00:00
Waldemar Kornewald 15288c9013 Fixed the build of our netstack.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 10:59:00 +00:00
Waldemar Kornewald bbcb8882e9 Checking in ppp_up application. This app will be responsible for prompting the user before connecting and for
adding a Deskbar replicant when a connection is established.
It is not finished. The Deskbar replicant is not even started...hopefully, R1 will not be released before 2005
. ;)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 13:54:31 +00:00
Waldemar Kornewald fa2e539c7e Matthijs Hollemans is right, the signature should be x-vnd.haiku.*.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 20:57:57 +00:00
Waldemar Kornewald 03a649005d We are Haiku.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 18:47:27 +00:00
Waldemar Kornewald 49c6a79a59 Changed license header to include the full MIT license instead of referring to the OpenBeOS license (there is no OpenBeOS anymore).
Added resource definition.
Exported dial-up view as static library for reuse by ppp_up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 15:48:39 +00:00
Waldemar Kornewald 5256712211 Added doxygen comments and simplified code a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:10:59 +00:00
Waldemar Kornewald dcc710213d Removed net server because it is not needed anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:01:21 +00:00
Waldemar Kornewald 3f3689bb79 Finished doxygen comments for the PPP API.
Minor changes to simplify PAP authenticator.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:01:01 +00:00
Waldemar Kornewald 700c9b5dad Added initial PPP API documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 14:58:47 +00:00
Waldemar Kornewald 13013331d0 Added *many* Doxygen comments. More will follow. Documentation is no fun at all, really.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:56:43 +00:00
Waldemar Kornewald 38737ad1b1 Just changed the libs to link against our private libsocket.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 10:38:18 +00:00
Waldemar Kornewald e09429df45 Removed unneeded constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 13:12:15 +00:00
Waldemar Kornewald 0ddbc23a4e Added _res_resultcodes for improved BONE compatibility.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 13:00:44 +00:00
Waldemar Kornewald 5f09d484a7 Changed to link against our libbind.so and libsocket.so.
Now using correct shutdown constants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:49:41 +00:00
Waldemar Kornewald 068bd8517e Now using correct shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:47:52 +00:00
Waldemar Kornewald f1730f62f5 Fixed collision between SO_XXX and IP_XXX defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:46:10 +00:00
Waldemar Kornewald 58a1abc4d6 Added missing functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-18 12:42:52 +00:00
Waldemar Kornewald a45c236cab Added libbind and libsocket to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:29:45 +00:00
Waldemar Kornewald c0717c8cd7 Now linking against libbind and libsocket.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:22:24 +00:00
Waldemar Kornewald 5e36a68cb4 Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:19:53 +00:00
Waldemar Kornewald 67bce78b48 Now linking against libbind instead of libnet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:19:29 +00:00
Waldemar Kornewald 3016600192 Linking against libbind.so and libsocket.so.
There are linker warnings, but this is only due to the linker linking against the BeOS libs instead of our libs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:17:54 +00:00
Waldemar Kornewald a6b9eee2e1 Route did not use the shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:16:33 +00:00
Waldemar Kornewald 5b3c100c86 DialOnDemand interfaces now connect, too, when using create.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:12:49 +00:00
Waldemar Kornewald feb699f996 Fixed a bug that caused libbind.so to not resolve the name:
UDP did not set AF_INET in the sockaddr that is passed to recvfrom().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:11:19 +00:00
Waldemar Kornewald 25ae6950d9 Changed the way IdleSince is updated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:10:23 +00:00
Waldemar Kornewald b7708e654a Fixed DEBUG build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:09:19 +00:00
Waldemar Kornewald cdee6f9740 The DEBUG version dumps all packets to /boot/home/ipcpdebug.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:08:39 +00:00
Waldemar Kornewald 310eb63195 Updated shutdown() constants.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:07:42 +00:00
Waldemar Kornewald 0a628cf2fc Nothing special. Just bringing the cvs version up-to-date with my private version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:05:40 +00:00
Waldemar Kornewald 6c3f95cd4b Added libbind.so and libsocket.so to NetworkingKit target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:04:39 +00:00
Waldemar Kornewald b155eedfb1 Checkin of BIND 9.2.3 (libbind.so).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:03:30 +00:00
Waldemar Kornewald ffa9d4cce9 Now linking against libsocket.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:58:18 +00:00
Waldemar Kornewald eda72d2688 Checked in our version of libsocket.so. When building for BONE use this command:
BONE_VERSION=1 jam
This will remove the select() function from libsocket.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:57:49 +00:00
Waldemar Kornewald fde2fe1c1c Checking in headers for libbind.so.
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:54:34 +00:00
Waldemar Kornewald 808485e453 libnet.so gets its own headers and is somewhat separated from the rest of the system to make it build fine.
Later we may decide to replace it with the libbind.so code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 15:52:16 +00:00
Waldemar Kornewald ead04ffa5e Our netstack works now! I used Vision and Net+ and it did not crash!!!
But I would not consider it stable.
Not tested on R5 net_server, only BONE (replaced BONE stack)!
Not compatible to BONE applications (you must use net_server apps or OBOS apps)!

Removed debug output from compat.c.
Fixed DNS bug (well, it's very hacky).

NOTE FOR BONE USERS: Uncomment the definition of BONE_VERSION in select.c!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 13:06:00 +00:00
Waldemar Kornewald be9443cb6e Changed address families to match bone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 13:00:45 +00:00
Waldemar Kornewald 64002c3e10 Thank you, Jack Burton, for telling me. Sorry. Did not checkin this file.
BTW, this is the first checkin with our own netstack and ppp implementation!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 11:13:14 +00:00
Waldemar Kornewald ce0b86e9dd * IPCP: I think this fixed the default route bug. At least it does not crash anymore.
* PPP stack: Fixed a bug that was introduced with the settings_tools change.
* Modem: Renamed "Interface" to "Port" and made it use any device (i.e.: a complete path must be supplied) and made it assume that the device is a port (termios.h API).
* Fixed a compilation warning.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-05 08:38:26 +00:00
Waldemar Kornewald 9fee39fd65 Some more usability work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-05 08:34:07 +00:00
Waldemar Kornewald 6ff76cdaf5 I had nearly forgotten this.
Changed some constants to match our style-guidelines.
Extended settings_tools to support modifying driver_settings/parameter structures (used by DialUpPreflet).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 12:06:37 +00:00
Waldemar Kornewald 8e0e1d0d3c Axel told me the preflet is too complicated (thank you!). He was right, but I was a lazy programmer ;).
So here is the new version with much simpler dialogs.
The "Protocols" section is removed and all protocols add their own section. Protocols are now added/removed by changing the state of "Enabled" (a checkbox) in their section.
IPCP is named "TCP/IP", so everybody should know what can be found there.
All optional fields are marked as such ("(Optional)" to the right of each field).
Some labels were renamed (Dial -> Connect, etc.).
Added possibility to build a german version (I will ask some people around here if they find it easy to use).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 11:43:42 +00:00
Waldemar Kornewald 60abfca048 Initial checkin of skeleton net_server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 11:12:36 +00:00
Waldemar Kornewald 4823831392 Some "virtual"s were missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 08:57:07 +00:00
Waldemar Kornewald 06a4c46aec Fixed the install-networking conflict between the route command and the route kernel module.
Thank you, Jerome and Ingo, for you help.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 11:44:37 +00:00
Waldemar Kornewald 0bc58c4961 Renamed some constant into PPP_ASK_BEFORE_DIALING (used by preflet and ppp_server (living in net_server or whatever)).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 11:44:33 +00:00
Waldemar Kornewald 7932407f25 Added "Extras" tab for setting dial-on-demand and auto-redial.
Some changes to the UI.

This preflet should finally be usable and support the most important features (devices, authenticators, protocols). Currently, there is only support for PPPoE, PAP, and IPCP.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 11:39:47 +00:00
Waldemar Kornewald 0f197ce81a Whew, nearly finished!
* Added TextRequestDialog (only asynchronous version because it is easier and the preflet should not block [it gets update messages from the kernel]).
* PPPoE: We now read the available interfaces from the kernel module, so the user does not have to know the exact name of the interface he wants to use. It can be chosen from a BMenuField. You can also enter any interface name if you select "Other: " from the menu.
* Small changes (e.g.: call MakeFocus(), etc.).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 11:06:40 +00:00