lkml.org 
[lkml]   [2005]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Module Vs app?
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.040 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site