[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070316.203451.102575913.davem@davemloft.net>
Date: Fri, 16 Mar 2007 20:34:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: samuel@...tiz.org
Cc: netdev@...r.kernel.org, irda-users@...ts.sourceforge.net,
netdev@...eo.de
Subject: Re: [PATCH 1/4] [net-2.6.22] IrDA: IrLAP raw mode
From: Samuel Ortiz <samuel@...tiz.org>
Date: Sat, 17 Mar 2007 03:57:29 +0200
> This patch allows us to bypass the IrDA stack down to the IrLAP level.
> Sending and receiving frames is done through a character device.
> This is useful for e.g. doing real IrDA sniffing, testing external IrDA
> stacks and for Lirc (once I will add the framing disabling switch).
>
> Signed-off-by: Samuel Ortiz <samuel@...tiz.org>
I understand the idea, but I fail to see any reason this should not be
done with sockets.
Everywhere else we provide this kind of functionality it is either
with netlink (nf_queue etc.) or raw sockets of some kind
(AF_INET/SOCK_RAW, AF_PACKET, etc.)
Therefore IRDA should really provide this facility in some similar
manner. Besides, character device backdoors for networking are
just ugly :)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists