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?
regards
benny
D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Cr?ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
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 - http://www.grupopie.com
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)