From owner-freebsd-isdn Tue Dec 15 15:11:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11171 for freebsd-isdn-outgoing; Tue, 15 Dec 1998 15:11:44 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA11151; Tue, 15 Dec 1998 15:11:38 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id PAA19343; Tue, 15 Dec 1998 15:10:18 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma019339; Tue, 15 Dec 98 15:10:04 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id PAA04618; Tue, 15 Dec 1998 15:10:04 -0800 (PST) From: Archie Cobbs Message-Id: <199812152310.PAA04618@bubba.whistle.com> Subject: Re: if_sppp is BROKEN!!! In-Reply-To: <199812152144.WAA10556@peedub.muc.de> from Gary Jennejohn at "Dec 15, 98 10:44:48 pm" To: garyj@muc.de Date: Tue, 15 Dec 1998 15:10:04 -0800 (PST) Cc: isdn@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gary Jennejohn writes: > >Here's some examples of what we use the netgraph stuff for on the > >InterJet. > > > [snip] > > - ISDN node > > > > Is a device driver and a netgraph node. Performs the D channel > > signalling and has a hook for each B channel. Accepts synchronous > > commands for things like dialing, etc. > > > [snip] > > does this handle the full I.430, Q.93x stuff too ? In other words, > passive ISDN cards ? [ trimming recipients to -isdn after this reply ] We have a (very big) node that does this based on a 3rd party ISDN stack. Unfortunately, we can't give away their software without their permission... > wow ! This sounds like it would be great for the CAPI stuff I'm trying > to implement for isdn4bsd right now. If the card needs CAPI, just hang > a CAPI node in the graph. Yep. > Unfortunately, the effort involved in converting isdn4bsd to use the > netgraph mechanism boggles the mind :-( It's probably not that hard. I mean, the netgraph part of it is fairly minimal and can just be a wrapper around existing code. It more depends on how modular the code is to begin with. It would definitely be nice if all the different ISDN drivers could export the same type of netgraph "ISDN BRI" node. Then you could use the user-mode PPP with any of them, for example. The command/response stuff makes it kindof object oriented.. eg, netgraph node | +------- ISDN BRI node | +-------- Foo ISDN card | +-------- Bar ISDN card Each "type" has a certain API for the synchronous command/response messages. Eg, for ISDN they would be things like "dial this number", "configure SPID", etc. There are generic commands at the netgraph level too, like "reset node", etc. In the other direction, the Foo type could extend the set of commands with card-specific stuff. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message