From owner-freebsd-hackers Tue Sep 28 6:42: 9 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpha.netvision.net.il (alpha.netvision.net.il [194.90.1.13]) by hub.freebsd.org (Postfix) with ESMTP id ED57814F5D; Tue, 28 Sep 1999 06:42:03 -0700 (PDT) (envelope-from danhil@cwnt.com) Received: from unspecified.host (RAS4-p71.hfa.netvision.net.il [62.0.146.199]) by alpha.netvision.net.il (8.9.3/8.8.6) with SMTP id PAA01377; Tue, 28 Sep 1999 15:42:01 +0200 (IST) Received: from 192.168.0.46 ([192.168.0.46]) by 192.168.0.1 (WinRoute 3.04g) with SMTP; Tue, 28 Sep 1999 15:40:23 +0200 Message-ID: <01ca01bf09bf$642e9080$2e00a8c0@nt46daniel> From: "Daniel Hilevich" To: Cc: Subject: The sppp driver Date: Tue, 28 Sep 1999 15:40:21 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01C7_01BF09C7.C5ECB6F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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
I'm currently working on a driver that=20 provides point to point connection and I would like to use the sppp = driver=20 in order to get PPP stack over it.
I have few questions about the sppp=20 driver:
 
 - 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 control messages in the sppp_cp_send func. But, in the later = case, the=20 control messages are queued to the control queue
(sp->pp_cpq) which the = if_start=20 functions doesn't have access to. Should I implement the = access?
 
- How do you recommend 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.
 
- Is there any resource = about using the=20 sppp driver. The sppp man page isn't satisfying at all.
 
Thank you,
--
Daniel Hilevich   =
mailto:danhil@cwnt.com
Charlotte's= Web=20 Networks LTD.
Tel: +972-4-9592203 ext. 214    =20
------=_NextPart_000_01C7_01BF09C7.C5ECB6F0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message