Waldemar Kornewald
0fc3ae8c5c
Finished PPP interface manager module.
...
TODO:
- IPCP protocol module
- PAP authentication module
- PPPoE device module
- pppdial cmd-line app including needed net_stack_driver changes for control() function support
- tests, tests, tests :))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-15 16:01:40 +00:00
Waldemar Kornewald
77f15b8315
Implemented some methods.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 13:48:41 +00:00
Waldemar Kornewald
d6a3da1874
Initial commit of very skeletal ppp interface module.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:55:28 +00:00
Waldemar Kornewald
b80f17599b
Added control() function (as NULL pointer).
...
Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:24:50 +00:00
Waldemar Kornewald
5a10f7ebb4
Added control() function (as NULL pointer).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:24:28 +00:00
Waldemar Kornewald
d73f313295
Added control() function (as NULL pointer).
...
Fixed some warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:23:57 +00:00
Waldemar Kornewald
eb5d50b665
Added support for controlling modules.
...
Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:23:09 +00:00
Waldemar Kornewald
f5ef266db8
Replaced direct access to max_xxx variables with get/set_max_xxx.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:15:31 +00:00
Waldemar Kornewald
13b219e125
Added get/set_max_xxx functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:14:57 +00:00
Waldemar Kornewald
92a8026e02
As the netstack has a bug I cannot work on the interface module before this is fixed. So I changed the API of the libkernelppp.a (although, this was planned for a later release).
...
PPPEncapsulator was removed. PPPProtocol is now a protocol and an encapsulator.
PPPDevice, PPPProtocol, and PPPInterface derive from PPPLayer. This base class simplifies the packet passing process and gives PPPDevice more flexibility as it now can add layers between itself and PPPInterface (which was not possible before). This feature will probably be used by the HDLC framing module.
Also, PPPProtocol will always send to the next layer which might either be another protocol, an encapsulator protocol, or the PPPInterface. No distinction is necessary anymore.
This all reduced the list template usage and made some methods simpler.
With this step I could reduce the size of the libkernelppp.a binary from >200K to 143K.
Now, I will go hunting bugs! :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 09:18:47 +00:00
Waldemar Kornewald
bb451b9be0
Added empty jamfile for ppp interface manager.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:23:58 +00:00
Waldemar Kornewald
de2f76e1fe
Moved libkernelppp.a to add-ons/kernel/network/ppp/shared.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:21:38 +00:00
Waldemar Kornewald
62315ec459
Fixed compilation warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-01 16:09:51 +00:00
Philippe Houdoin
2a1f1e5a23
Export socket_shutdown from stack core module.
...
Fix and build again net_server_driver.
Rollback to NET_STACK_GET_COOKIE trick for accept() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 01:07:21 +00:00
Waldemar Kornewald
e19f10fab7
Corrected get_ip_id() so that it uses atomic_add() instead of a semaphore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-29 15:47:40 +00:00
Ingo Weinhold
09eceed9b8
Added support for installing the networking stuff. Use: jam [un]install-networking.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-17 18:15:52 +00:00
Axel Dörfler
6f7be67a0f
Removed references to the load_driver_symbols() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:32:08 +00:00
Philippe Houdoin
e803870545
Forgot to commit these... Should fix network stuff build issues.
...
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:05:37 +00:00
Philippe Houdoin
c1e322be1d
Fix a comment, and assume spawn_kernel_thread() always exists.
...
The stack debug platform, aka net_server, map to spawn_thread(), simply.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:51:36 +00:00
Philippe Houdoin
3a26c0afcb
Make net modules mostly unaware of being (soon :-)) userland buildable too.
...
Some cleanup, in the way...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 21:06:11 +00:00
Philippe Houdoin
03a92a2178
Moved rtstat & rt_tables declarations in route.c instead of posix/net/route.h 8-\
...
Update the protocols and interfaces modules names prefix to reflect the real
disk hierarchy where they lives.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:58:20 +00:00
beveloper
2f344cad19
some more clean up and renaming
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 20:59:25 +00:00
beveloper
570e196319
bugfix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 17:22:23 +00:00
beveloper
b282b44773
code cleanup. renamed exported socket functions as socket_ and removed void *
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 16:40:51 +00:00
beveloper
42415555d3
after many changes, the network stack can now be build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 01:21:54 +00:00
Axel Dörfler
7e1d70ff27
Some minor cleanups.
...
Eliminated a macro by introducing an inline function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 04:45:07 +00:00
Philippe Houdoin
0e29915606
Ooops, forgot these initial network kernel stack protocoles modules Jamfiles...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 08:08:58 +00:00
Philippe Houdoin
5de6083d95
Network stack kernel modules moved to /current tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 08:07:10 +00:00