[openbeosnetteam] Re: PPP #2
- From: "Nathan Whitehorn" <nathan.whitehorn@xxxxxxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Thu, 23 May 2002 21:28:14 EDT (-0400)
> 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.
Just out of curiousity, is this userland app an equivalent of ifconfig,
or is it the actual daemon?
> 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.
Yeah, I'd imagine so. One thing I think would help (although this might
admittedly be complex) is to allow infinite layering of protocols. This
would give you enormous long-term flexibility, although it may be
difficult to implement.
> 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 :(
That sounds icky.
> Has anyone started looking at PPPoE yet? If not I'll try to get some
> stuff
> started.
Yeah, but 'started' is the operative term. Real life has been seriously
intruding lately...
-Nathan
--
Fortune Cookie Says:
You know it's going to be a bad day when you want to put on the clothes
you wore home from the party and there aren't any.
- Follow-Ups:
- [openbeosnetteam] Re: PPP #2
- From: David Reid
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: David Reid