Date: Tue, 28 Sep 1999 15:40:21 +0100 From: "Daniel Hilevich" <danhil@cwnt.com> To: <phk@FreeBSD.org> Cc: <hackers@FreeBSD.org> Subject: The sppp driver Message-ID: <01ca01bf09bf$642e9080$2e00a8c0@nt46daniel>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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:danhil@cwnt.com Charlotte's Web Networks LTD. Tel: +972-4-9592203 ext. 214 [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=windows-1255" http-equiv=Content-Type> <META content="MSHTML 5.00.2014.210" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>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.</FONT></DIV> <DIV><FONT face=Arial size=2>I have few questions about the sppp driver:</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial (Hebrew)" size=2> - 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 </FONT></DIV> <DIV><FONT face="Arial (Hebrew)" size=2>(sp->pp_cpq) which the if_start functions doesn't have access to. Should I implement the access?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>- 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.</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial (Hebrew)" size=2>- Is there any resource about using the sppp driver. The sppp man page isn't <FONT face=Arial size=2>satisfying </FONT>at all.</FONT></DIV> <DIV> </DIV> <DIV><FONT face="Arial (Hebrew)" size=2>Thank you,</FONT></DIV> <DIV><FONT face=Arial size=2>--<BR>Daniel Hilevich <BR><A href="mailto:danhil@cwnt.com">mailto:danhil@cwnt.com</A><BR>Charlotte's Web Networks LTD.<BR>Tel: +972-4-9592203 ext. 214 </FONT></DIV></BODY></HTML>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01ca01bf09bf$642e9080$2e00a8c0>
