[Ns-developers] VirtualNetDevice (TUN/TAP)
Gustavo Carneiro
gjcarneiro at gmail.com
Thu May 15 10:08:03 PDT 2008
Hello,
I have made a VirtualNetDevice class in NS-3. Coupled with packet sockets,
it can be used for tunneling. It is similar to Universal TUN/TAP devices
[1]. Actually it can be seen as functionally equivalent to both "tun" and
"tap" interfaces, since in NS-3 NetDevices receive the IP packet and L2
destination address separately but in the same method call.
If there is interest in this, I can port it to ns-3-dev (using ns-3.0.11
now) and submit for inclusion. If there is no interest, well, nevermind
then :-)
[1] http://www.mjmwired.net/kernel/Documentation/networking/tuntap.txt
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list