public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Module Vs app?
@ 2005-03-02 14:24 BZ Benny
  2005-03-02 14:32 ` Paulo Marques
  0 siblings, 1 reply; 2+ messages in thread
From: BZ Benny @ 2005-03-02 14:24 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Module Vs app?
  2005-03-02 14:24 Module Vs app? BZ Benny
@ 2005-03-02 14:32 ` Paulo Marques
  0 siblings, 0 replies; 2+ messages in thread
From: Paulo Marques @ 2005-03-02 14:32 UTC (permalink / raw)
  To: BZ Benny; +Cc: linux-kernel

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-02 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 14:24 Module Vs app? BZ Benny
2005-03-02 14:32 ` Paulo Marques

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox