Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_01C7_01BF09C7.C5ECB6F0
Content-Type: text/plain;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

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=20
(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  =20
mailto:danhil@cwnt.com
Charlotte's Web Networks LTD.
Tel: +972-4-9592203 ext. 214    =20

------=_NextPart_000_01C7_01BF09C7.C5ECB6F0
Content-Type: text/html;
	charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1255" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm currently working on a driver that=20
provides&nbsp;point to point connection and I would like to use the sppp =
driver=20
in order to get PPP stack over it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have few questions about the sppp=20
driver:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>&nbsp;- As I understood from =
the code,=20
the sppp driver prepends the ppp frame over the given data to =
sppp_output and=20
than calls if_start (which should do the actual sending). The same goes=20
with&nbsp;control messages in the sppp_cp_send func. But, in the later =
case, the=20
control messages are queued to the control queue </FONT></DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>(sp-&gt;pp_cpq) which the =
if_start=20
functions doesn't have access to. Should I implement the =
access?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- How do you recommend&nbsp;connecting =
my ioctrl=20
functions to the sppp ioctrl function (I have to call the ioctrl =
function=20
because, as I understood it, this is the way to start the lcp =
messaging). I=20
think the best way is to do this in the sppp_attach =
function.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>- Is there any resource =
about using the=20
sppp driver. The sppp man page isn't <FONT face=3DArial=20
size=3D2>satisfying&nbsp;</FONT>at all.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial (Hebrew)" size=3D2>Thank you,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--<BR>Daniel Hilevich&nbsp;&nbsp; =
<BR><A=20
href=3D"mailto:danhil@cwnt.com">mailto:danhil@cwnt.com</A><BR>Charlotte's=
 Web=20
Networks LTD.<BR>Tel: +972-4-9592203 ext. 214&nbsp;&nbsp;&nbsp;&nbsp;=20
</FONT></DIV></BODY></HTML>

------=_NextPart_000_01C7_01BF09C7.C5ECB6F0--




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01ca01bf09bf$642e9080$2e00a8c0>