Files
ack-tegra/include/linux
Michael S. Tsirkin 05c2828c72 tun: export underlying socket
Tun device looks similar to a packet socket
in that both pass complete frames from/to userspace.

This patch fills in enough fields in the socket underlying tun driver
to support sendmsg/recvmsg operations, and message flags
MSG_TRUNC and MSG_DONTWAIT, and exports access to this socket
to modules.  Regular read/write behaviour is unchanged.

This way, code using raw sockets to inject packets
into a physical device, can support injecting
packets into host network stack almost without modification.

First user of this interface will be vhost virtualization
accelerator.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-15 01:43:28 -08:00
..
2009-12-14 00:26:26 +01:00
2009-12-16 10:23:43 -08:00
2009-12-16 14:22:32 -05:00
2009-12-16 07:20:13 -08:00
2009-11-10 12:31:43 +01:00
2009-11-08 20:57:03 -08:00
2009-12-06 21:10:56 +01:00
2009-12-10 23:52:01 +00:00
2009-12-15 08:53:33 -08:00
2009-12-10 15:02:53 +01:00
2009-12-23 13:33:54 +01:00
2009-11-10 11:50:21 +01:00
2009-12-03 11:58:47 +00:00
2009-12-14 23:55:34 +01:00
2009-12-14 21:17:29 +01:00
2010-01-15 01:43:28 -08:00
2010-01-11 16:28:01 -08:00
2009-12-02 23:38:13 -08:00
2009-12-16 06:56:12 -08:00
2009-12-03 09:32:17 +02:00
2009-12-09 17:14:38 +11:00
2009-12-15 08:53:36 -08:00
2009-12-26 20:40:34 -08:00
2009-12-15 08:53:20 -08:00
2009-12-12 13:08:15 +01:00
2009-12-09 12:12:44 +02:00
2009-12-15 08:53:25 -08:00
2009-12-03 11:43:23 +00:00
2009-12-02 09:55:33 +01:00
2009-11-10 22:26:29 -08:00
2009-12-15 08:53:20 -08:00
2009-11-30 12:02:53 +09:00
2009-12-02 19:57:15 -08:00
2009-11-18 14:52:25 +01:00
2009-12-15 08:53:16 -08:00
2009-11-13 20:46:24 +01:00
2009-11-10 20:54:38 -08:00
2009-12-17 11:03:25 -05:00
2009-12-16 12:16:49 -05:00