From: srt@zaphod.csci.unt.edu (Steve Tate)
Subject: STREAMS <-> BSD driver?
Date: 16 Dec 1994 20:32:30 GMT [thread overview]
Message-ID: <3cstgu$8mb@hermes.unt.edu> (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
reply other threads:[~1994-12-16 20:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox