* attach multiple programs to tun/tap interface
@ 2013-04-01 17:12 Prashant Batra
0 siblings, 0 replies; only message in thread
From: Prashant Batra @ 2013-04-01 17:12 UTC (permalink / raw)
To: netdev, linux-newbie
Hi,
I have a basic query on tun/tap driver design. Is it possible to attach
multiple user-space programs to the same tun/tap interface. I have not
set the interface as EXCLUSIVE,
but still on trying to do ioctl with cmd as “TUNSETIFF” from the second
user space program, I get “Device busy”.
Seeing through the driver code, it looks like it does not allow multiple
user-programs to attach to the same interface, but is this valid, and
please let me know why this requirement was taken.
Will you please help me in understanding this?
Thanks,
Prashant
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-01 17:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-01 17:12 attach multiple programs to tun/tap interface Prashant Batra
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.