[openbeosnetteam] PPP #2
- From: "David Reid" <dreid@xxxxxxxxxxxx>
- To: "OpenBeOS Network Team" <openbeosnetteam@xxxxxxxxxxxxx>
- Date: Wed, 22 May 2002 11:09:46 +0100
So, as promised, more on how I'm implementing the PPP stuff :)
I've started rewriting much of the code and have made some good progress.
Essentially the idea goes like this...
When the ppp module starts is basically starts waiting for messages using
receive_data (blocking) in a seperate thread. before doing this it loads all
the modules that it can use for input/output and protocols.
The userland PPP app starts up and sends a message to the control thread,
using known codes for the actions and with up to 100 bytes of data.
The format goes something like this...
ppp user app asks for a new ppp connection for serial2,
- ppp control thread scans a list of "match" strings for a match, gets a
match on "serial" and so asks the serial_ppp module (who has registered this
match) to create a new device for "2".
- if we get a new serial_ppp device we create a new ppp device and attach
the serial_ppp pointer to it
This all works already. Next steps are harder :) Some of the code needs
working on, but I think I'm making progress.
I'll try to get some code committed but I've had connection woes since I got
home and will be out for possibly the next couple of days :(
Has anyone started looking at PPPoE yet? If not I'll try to get some stuff
started.
david
- Follow-Ups:
- [openbeosnetteam] Re: PPP #2
- From: philippe . houdoin
- [openbeosnetteam] Re: PPP #2
- From: philippe . houdoin
Other related posts:
- » [openbeosnetteam] PPP #2
- » [openbeosnetteam] Re: PPP #2
- » [openbeosnetteam] Re: PPP #2
- » [openbeosnetteam] Re: PPP #2
- » [openbeosnetteam] Re: PPP #2
- » [openbeosnetteam] Re: PPP #2
- » [openbeosnetteam] Re: PPP #2
- [openbeosnetteam] Re: PPP #2
- From: philippe . houdoin
- [openbeosnetteam] Re: PPP #2
- From: philippe . houdoin