From owner-freebsd-net Fri Nov 9 7:48:17 2001 Delivered-To: freebsd-net@freebsd.org Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by hub.freebsd.org (Postfix) with ESMTP id 3585637B428 for ; Fri, 9 Nov 2001 07:48:11 -0800 (PST) Received: by hanoi.cronyx.ru id SAA06247 for freebsd-net@FreeBSD.ORG.checked; (8.9.3/vak/2.1) Fri, 9 Nov 2001 18:44:59 +0300 (MSK) Received: from cronyx.ru by hanoi.cronyx.ru with ESMTP id SAA06233; (8.9.3/vak/2.1) Fri, 9 Nov 2001 18:44:01 +0300 (MSK) Message-ID: <3BEBF9EE.4030102@cronyx.ru> Date: Fri, 09 Nov 2001 18:44:46 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Joerg Wunsch Cc: freebsd-net@FreeBSD.ORG, vak@cronyx.ru Subject: Re: kern/11238, kern/14848, kern/21771, sppp patch's patch_id #1 References: <000901c1134b$827a69a0$48b5ce90@crox> <3BDABF7B.4060808@cronyx.ru> <3BE24EE4.2020506@cronyx.ru> <20011102192916.A43204@uriah.heep.sax.de> <3BE3ED17.3060603@cronyx.ru> <20011103182927.F43204@uriah.heep.sax.de> <3BE7E1E5.4040500@cronyx.ru> <20011106212839.K43204@uriah.heep.sax.de> <3BEAA112.6080001@cronyx.ru> <20011108230449.B75044@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Joerg Wunsch wrote: >As Roman Kurakin wrote: > >... > >>I don't think that they should be broken out completely. Physicaly, >>yes it will be better to split them into separate files (core, ppp, >>fr, cisco). From my point of view (Serge's as well ) logically it >>should be a single whole. It can be called "sppp" from the >>historical reasons, but I think now it is "sp" - "Synchronous >>Protocols". >> > >Hmm, well, i don't fully agree with that. For example for ISDN, it >doesn't make any sense to have the FR and Cisco framing code in the >kernel at all, just PPP is needed. I also don't see much benefit from > The range of application of sppp far from only ISDN. But you are right that if you need only PPP, FR or CISCO code would be just a waste of kernel memory. Probably I should think more seriously about spliting sppp into separate loadable parts that could be dynamically attached to the sp-core. What you think about this idea? >sharing a single frontend, except perhaps to share the same interface >name, regardless of the underlying framing protocol. > Those protocols have the same main idea - Point-to-Point Serial Protocols. >>spppcontrol should became spcontrol, interact with sp-core, allow to >>switch between protocols and set their parameters. >> >Right now, spppcontrol is only needed for PPP anyway (and it's >basically an extension to the ifconfig command, but i wouldn't bloat >ifconfig for that very specific purpose). Do FR and Cisco really need >any additional parameters that cannot be passed via a simple ifconfig? > Current CISCO implementation don't, but there are extension that could be emplemented later. For FR some mechanism for switching between FR and PPP is necessary. We also plan to implement support for multi-PVC links (we implement it only in Linux, cause FreeBSD didn't has support for dynamic interfaces at that time) Best regards, Kurakin Roman >But i don't care much, either version is OK for me. Even the version >with a shared fronted (i. e., interface name) could keep the actual >framing implementations optional -- after all, IP, IPv6, IPX etc. are >also options that would all affect that code. The remainder can >easily handled by some #ifdefs. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message