[lkml]   [2001]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Query about Tun/Tap Modules
From said:
> Q1 : Now I am not able to understand how to use this module for my
> above stated purpose.
> If anybody has used this utility(Tun/tap) before , please let me
> know how to get these ethernet packet going towards IP layer and IP
> packets going towards ethernet driver.

It's not clear how similar my use of TUN/TAP is to what you want, but UML uses
TUN/TAP as one mechanism to network a virtual machine to the host, and it
works quite well.

See tuntap_up() in
for setting up a TUN/TAP interface and
tuntap_user_read() and tuntap_user_write() (which are both trivial)
for getting packets in and out of the interface.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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