Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* STREAMS <-> BSD driver?
@ 1994-12-16 20:32 Steve Tate
  0 siblings, 0 replies; only message in thread
From: Steve Tate @ 1994-12-16 20:32 UTC (permalink / raw)


I'm finally going to get around to fixing the most serious problem with
my port of the ppp-2.x drivers.  In particular, I used the STREAMS
version of the package, so that it would work through a pseudo-tty-based
telnet session to a terminal server.  Then I found out that the serial
line drivers under DEC OSF/1 are not STREAMS based, but are BSD-style
drivers!  My temporary fix for people using the async port was to tell
them to rlogin to localhost when they called up, so that they'd have
a pty to push the ppp STREAMS modules onto.  Only problem is, that's
a really ugly solution.

My question for all you OSF/1 gurus is the following:  how can I do
a better job at this?  It seemed to me that it wouldn't be too hard
to have a STREAMS driver that latched on to a BSD-style driver and
made it look (almost) like the BSD-style driver was the STREAMS
driver.  Then I found the following single sentence about the dlb
STREAMS driver:  "The dlb STREAMS pseudodevice driver provides a 
communication path between BSD-style device drivers and STREAMS 
protocol stacks."   Sounds perfect!  Unfortunately, tracking down
further information on dlb makes me believe that it's only for
devices registered as network interface devices --- when I tried
to list the possible PPA's, the serial port was not listed.

Now I know enough to write STREAMS drivers, and I know a bit about
BSD internals, but I'm at a total loss here.  There MUST be some
easy way to do this, right?   Any suggestions?

--
Steve Tate  ---  srt@cs.unt.edu | "Liberty consists in the freedom to do
Dept. of Computer Sciences      |  everything which injures no one else..."
University of North Texas       |    -- Lafayette:  Declaration of the Rights
Denton, TX  76201               |       of Man and of the Citizen


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-12-16 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-16 20:32 STREAMS <-> BSD driver? Steve Tate

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox