I'm currently working on a driver that provides point to point connection and I would like to use the sppp driver in order to get PPP stack over it.
I have few questions about the sppp driver:
 
 - As I understood from the code, the sppp driver prepends the ppp frame over the given data to sppp_output and than calls if_start (which should do the actual sending). The same goes with control messages in the sppp_cp_send func. But, in the later case, the control messages are queued to the control queue
(sp->pp_cpq) which the if_start functions doesn't have access to. Should I implement the access?
 
- How do you recommend connecting my ioctrl functions to the sppp ioctrl function (I have to call the ioctrl function because, as I understood it, this is the way to start the lcp messaging). I think the best way is to do this in the sppp_attach function.
 
- Is there any resource about using the sppp driver. The sppp man page isn't satisfying at all.
 
Thank you,
--
Daniel Hilevich  
mailto:[EMAIL PROTECTED]
Charlotte's Web Networks LTD.
Tel: +972-4-9592203 ext. 214    

Reply via email to