netdev
[Top] [All Lists]

Re: RFC: PPP over X

To: Matti Aarnio <matti.aarnio@xxxxxxxxx>
Subject: Re: RFC: PPP over X
From: Dave Grothe <dave@xxxxxxxx>
Date: Thu, 10 Feb 2000 09:26:28 -0600
Cc: Ole Husgaard <osh@xxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxxxxxx>, Henner Eisen <eis@xxxxxxxxxxxxx>, hadi@xxxxxxxxxx, mostrows@xxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, axboe@xxxxxxx, markster@xxxxxxxxx, mitch@xxxxxxxxxx, ak@xxxxxxx, marc@xxxxxxx, bcrl@xxxxxxxxxx, Linux STREAMS <linux-streams@xxxxxxxxxxxxxxxxxx>
Organization: Gcom, Inc
References: <200002092333.AAA05339@baty.hanse.de> <00021011490500.01926@argo.linuxcare.com.au> <38A2B348.B07A7398@sparre.dk> <38A2CCDD.3F9FACAE@gcom.com> <20000210170459.Y26018@mea.tmt.tele.fi>
Sender: owner-netdev@xxxxxxxxxxx
Matti Aarnio wrote:

> On Thu, Feb 10, 2000 at 08:36:13AM -0600, Dave Grothe wrote:
>  Without making a
> > trip up to user space the answer always has to be "can't be done."  The
> > reason being that we can't configure our SNA code (STREAMS based) above
> > TCP while keeping the messages in the kernel.
>
>         Yes you can.  You can "simulate" user dataspace in kernel
>         by doing:
>
>         (from mm/filemap.c)

This looks like a technique for writing to any old file system from inside the
kernel.  What about the other direction.  Do you have to set up a kernel thread 
per
data stream and use a similar technique to "read" from the file system?  Or 
maybe one
could concoct an inside-the-kernel kludge to use poll().

-- Dave


<Prev in Thread] Current Thread [Next in Thread>