netdev
[Top] [All Lists]

Re: RFC: PPP over X

To: netdev@xxxxxxxxxxx
Subject: Re: RFC: PPP over X
From: Dag Brattli <dagb@xxxxxxxxx>
Date: 22 Feb 2000 00:57:43 +0100
In-reply-to: Mitchell Blank Jr's message of "Wed, 16 Feb 2000 06:18:53 -0800"
References: <Pine.GSO.4.20.0002021030520.22723-100000@xxxxxxxxxxxxxxxx> <20000203120127.J72648@xxxxxxxxxx> <ouemao6eqh.fsf@xxxxxxxxxxxxx> <20000207143007.O31166@xxxxxxxxxx> <20000216061853.A83604@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Hi,

I'm about to start implementing PPP over IrDA (called IrNET by
Microsoft). Right now it's possible to run PPP over IrCOMM (serial port
emulation) but this has a lot of disadvantages because IrDA is reliable and
we don't need to do HDLC framing, CRC calculations or involve the TTY
subsystem since that really slows things down at 4Mbps. IrNET is already
implemented in Win2K, and will probably also be implemented in the Palm
Pilot, so I think it's time to support this in Linux as well.

So I guess I need to make use of these new changes you are making to pppd
since I don't have any tty to attach to. What I need to do is to simply run
PPP frames over an IrTTP connection without any encoding at all. IrTTP does
not have any device associated with it, but you can currently access it
directly using the AF_IRDA sockets interface. So from the kernel side
should just need to open one IrTTP connection and send raw PPP frames over
it. Should really be three lines of code, but I guess I'll need some more
in order to interface cleanly with the current PPP architecture

Could anybody please give me some hints on which version of the kernel,
patches, pppd etc I should use, and which direction to take. Can I do this
with the current Linux-2.3.x PPP code, or must I apply some special
patches?

-- Dag

-- 
   / Dag Brattli                   | The Linux-IrDA Project               /
  // University of Tromsoe, Norway | Infrared communication for Linux    //
 /// http://www.cs.uit.no/~dagb    | http://www.cs.uit.no/linux-irda/   ///

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