Commit Graph
100 Commits
Author SHA1 Message Date
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
Waldemar Kornewald 53a2aa40d5 * libppp: [PPPManager]: Added ControlModule() method.
* PPPoE: fixed GET_INTERFACES ioctl()
* PPP interface: fixed path generation for controlling PPP modules (a '/' was missing).
And some minor changes I do not remember anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:58:54 +00:00
Waldemar Kornewald 8a8389eed0 Fixed "route depends on itself" warning (added <bin> in front of route). I hope this is correct. Ingo? :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:55:28 +00:00
Waldemar Kornewald 8070acfb47 Added a "const" to the name field in control_net_module_args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:53:50 +00:00
Waldemar Kornewald 4283dfd6f6 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:51:50 +00:00
Waldemar Kornewald 79a14ca58f Added route to NetworkingKit target (and renamed route (the command) to <bin>route).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:51:10 +00:00
Waldemar Kornewald 1e695afb41 Fixes for the Deselect() bug in BListView (at least I think this is a bug):
When the BListView is not attached to any window Deselect() does not work. So, if you remove an item that is selected the BListView's selection index is not updated and thus it results in a crash when it is attached again. This happens when you use a BTabView and change the information of the BListView while its tab is inactive.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-26 13:43:14 +00:00
Waldemar Kornewald 527eb29edb Added IPCP protocol.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-26 11:58:37 +00:00
Waldemar Kornewald 55c8f8c370 Fixed protocol handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-26 11:57:50 +00:00
Waldemar Kornewald b8f24e8376 Sorry, I did not commit this change (sharing the configuration values between the IPCP kernel and DialUpPreflet modules).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-26 11:27:50 +00:00
Waldemar Kornewald 3dbb75a676 Added the Protocols tab. Could not test it because currently there is no IPCP addon.
Replaced direct identifier specification for BMessage with #define'd values, so typos cannot arise.
Moved some functions into InterfaceUtils so they are available for all add-ons (this will later become part of a static library for the DialUpAddon API).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-25 11:59:34 +00:00
Waldemar Kornewald a387bccab2 Just noticed that PPPoEAddon stuff was not added to the repository.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:28:58 +00:00
Waldemar Kornewald d078d982ae Forgot to update TODO items.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:27:59 +00:00
Waldemar Kornewald c737ab9ab1 The settings are now correctly de-/encoded.
PPPoE and authentication produce working output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 13:19:32 +00:00
Waldemar Kornewald bb713c7c5b Some more work on the DialUpPreflet code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-07 13:51:57 +00:00
Waldemar Kornewald abf44d1a2b Some changes I did a long time ago. I think this also contains a fix for the last dead-lock I could find.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 16:06:20 +00:00
Waldemar Kornewald 6bef9fe1b8 Initial checkin of "DialUpPreflet". This will become an add-on for the "Network" preflet.
It is far from finished (all add-ons are missing). The hacks should be removed...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 16:03:34 +00:00
Waldemar Kornewald 5a483e4d35 Fixed a couple of possible dead-locks.
Fixed some minor bugs.
PPPoE: added experimental support for AccessConcentrator and ServiceName settings.
Changed libppp to import strlcat.c from libroot instead of duplicating code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 18:12:24 +00:00
Waldemar Kornewald b917144621 Changed output style and comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 18:08:02 +00:00
Waldemar Kornewald a9087159ca Removed libkernelppp source directory from headers because settings_tools.h is now in the headers folder.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 18:05:51 +00:00
Waldemar Kornewald 1cea3d8564 Updated according to name changes in kernel classes.
IPCP and PAP (hopefully) make use of profiles.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:57:01 +00:00
Waldemar Kornewald 683165b7d1 Added profile and interface naming support.
Added some small doxygen comments.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:54:47 +00:00
Waldemar Kornewald f9ad2df864 Added profile and interface naming support.
Added 'K' prefix to all kernel classes to resolve naming issue with doxygen.
Began some small doxygen comments.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:54:00 +00:00
Waldemar Kornewald d9ca398271 Added naming support.
Simplified by using new helper methods in libppp.a.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:51:43 +00:00
Waldemar Kornewald bdf55481a8 Changed PPP interface manager API to support interface names and profiles.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:50:07 +00:00
Waldemar Kornewald 37eee613ca Updated PPP stuff of userland netstack tester.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:48:59 +00:00
Waldemar Kornewald 7854985f97 Fixed userland net_stack_tester (I hope you don't mind, Philippe ;).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 22:59:55 +00:00
Waldemar Kornewald aac3d01fac Renamed interface_id to ppp_interface_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 22:48:52 +00:00
Waldemar Kornewald 6cfb4dcac2 Replaced all printf and spawn_thread functions with their kernel counterparts.
IPCP: changed route initialization a little bit. Still cannot remove default route correctly.
Renamed interface_id to ppp_interface_id.
Some minor changes.
Worked on libppp.a (userland PPP library).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 22:47:43 +00:00
Waldemar Kornewald 6c54c57f07 First attempt at fixing the if_detach code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-19 21:41:45 +00:00
Waldemar Kornewald cc14c99624 I like it better this way. dprintf is not available in userland. ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-07 14:58:47 +00:00
Waldemar Kornewald 86c13dda5a Yeah! It finally works! The default route was missing, that was the only problem!
I established a connection with PPPoE and pinged goole and osnews. Net+ loaded half of www.osnews.com but then crashed because of a bug in our DNS resolver.
There is one more bug to fix: our core stack module does not remove the routes when an interface is deleted.
Thus, there will always remain the route(s) from the last connection(s).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-05 13:34:11 +00:00
Waldemar Kornewald 6a70da44dc After many checks it seems that Jam does not want those changes. :(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 13:05:04 +00:00
Waldemar Kornewald b66e4cd306 Removed unneeded dependency from Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 13:03:31 +00:00
Waldemar Kornewald 20d09e03be Simplified Jamfiles a little bit.
Fixed a warning in modem.
Fixed a small bug in IPCP.
Added empty PPPInterfaceListener class (needed for DialUpPreflet and Deskbar add-on).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 12:45:23 +00:00
Waldemar Kornewald 01b2564600 Removed uneeded chars and added modem to userland stack PPP add-ons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 12:41:14 +00:00
Waldemar Kornewald ca1e03bddc Added modem to PPP devices (in NetworkKit target).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-02 12:38:53 +00:00
Waldemar Kornewald 49c2f6870f Renamed List.h to TemplateList.h (and the class names accordingly). The name conflicted with List.h from the SupportKit and prevented the DialUpPreflet from building (currently not commited).
PPPInterface adds its ID to all reports.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-30 17:11:09 +00:00
Waldemar Kornewald 8dad9b1eb2 Added modem driver (completely untested, currently no support for settings speed because modem API is missing).
Some minor changes.
Added TODO file to almost all modules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-27 14:27:55 +00:00
Waldemar Kornewald 153f2c3012 Fixed compilation errors.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-19 15:53:19 +00:00
Waldemar Kornewald 1c29a4b054 Fixed a small bug in Protocol-Field-Compression handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-19 11:52:31 +00:00
Waldemar Kornewald 93a59056e2 Fixed bugs.
IPCP: fixed setting of local and peer address (in_control).
Renamed some variables to comply with our style defs.
Fixed a dead-lock in ppp interface and libkernelppp.a.

TODO:
Unfortunately, our stack does not want to ping the remote host. :(
I do not know if this is my fault or a problem with our stack.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-26 20:16:10 +00:00
Waldemar Kornewald 280533f33d Fixed a bug in pppconfig and made some other changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-26 20:12:31 +00:00
Waldemar Kornewald ef0e9a6aba Added IPCP and PAP to Networking-Kit pseudo-target.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-26 20:11:32 +00:00
Waldemar Kornewald d5cd5d63ff Added IPCP and PAP modules to test suite.
NOTE: To make PPP usable with the test suite I will need to use a shared memory area to be able to pass structures to the ppp module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-22 12:30:59 +00:00
Waldemar Kornewald ca43389a75 Some small changes and fixes.
Most important:
Finished IPCP and PAP modules.
Both of them are untested at the moment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-22 12:28:32 +00:00
Waldemar Kornewald 4e0ad75221 Fixed many bugs and added debug output.
You can now successfully (dis-)connect to(/from) a PPP server using the PPPoE device module.
To be useful we need the PAP and IPCP modules (in the works).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:47:45 +00:00
Waldemar Kornewald 7072f4d0dc Fixed debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:43:30 +00:00
Waldemar Kornewald e8e6c3e8ad Changed Jamfiles to use new <> (namespace or how was it called?) feature, so libuserlandppp.a is not added to distro/xxx/develop.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-07 15:41:53 +00:00
Waldemar Kornewald cdc2ad89b1 Changes for kernel land (added set_sem_owner and kernel_cpp.h/cpp).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 13:24:59 +00:00
Waldemar Kornewald a10a3d49d6 Fixed BUG in FindUnit() and Register/UnregisterInterface().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 13:00:28 +00:00
Waldemar Kornewald 20826c8ed2 Fixed BUG in if_detach.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 12:58:49 +00:00
Waldemar Kornewald 0868fe5619 Added an error report.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 10:14:51 +00:00
Waldemar Kornewald 52fad5f56b Use the NET_STACK_DRIVER_PATH environment variable if available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 10:13:51 +00:00
Waldemar Kornewald 95cb1c609a PPPoE should not go into ppp/shared, but ppp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:30:43 +00:00
Waldemar Kornewald 5c9e6a3953 Added libkernelppp.a (currently named libuserlandppp.a), PPP, and PPPoE to userland test build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:26:19 +00:00
Waldemar Kornewald 8f79376c49 Allow to build as userland add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 21:28:10 +00:00
Waldemar Kornewald ad0928ebe3 Allow to build as userland modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 21:18:53 +00:00
Waldemar Kornewald cf3ba6b414 Bug fixes and some small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 20:10:02 +00:00
Waldemar Kornewald b0bff411f1 Bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 20:08:56 +00:00
Waldemar Kornewald 152327e1a6 Changes for net module control() support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:08:53 +00:00
Waldemar Kornewald b82b832e8c Added ppp, pppoe, and pppconfig to NetworkingKit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:04:33 +00:00
Waldemar Kornewald 79d2631976 Added pppconfig bin command to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:03:42 +00:00