Re: Module Vs app?

From: Paulo Marques
Date: Wed Mar 02 2005 - 09:44:29 EST


BZ Benny wrote:
Hi,

I have an app wich run in the user space.
I want to create a virtual network device for catching
data under the IP layer and sending data to IP layer.
I want to creaate such a second eth0.

I know how we can do this with /linux/netdevice.h
but how can we do that from the user space?

I think you want a TUN device.

Read Documentation/networking/tuntap.txt

--
Paulo Marques - www.grupopie.com

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/