give up on merging tap and emulated, break apart

--HG--
rename : src/devices/emutap/host-tap-net-device.cc => src/devices/tap/host-tap-net-device.cc
rename : src/devices/emutap/host-tap-net-device.h => src/devices/tap/host-tap-net-device.h
rename : src/devices/emutap/tap-channel.cc => src/devices/tap/tap-channel.cc
rename : src/devices/emutap/tap-channel.h => src/devices/tap/tap-channel.h
rename : src/devices/emutap/tap-manager-client.cc => src/devices/tap/tap-manager-client.cc
rename : src/devices/emutap/tap-manager-client.h => src/devices/tap/tap-manager-client.h
rename : src/devices/emutap/tap-manager.cc => src/devices/tap/tap-manager.cc
rename : src/devices/emutap/tap-net-device.cc => src/devices/tap/tap-net-device.cc
rename : src/devices/emutap/tap-net-device.h => src/devices/tap/tap-net-device.h
rename : src/devices/emutap/wscript => src/devices/tap/wscript
This commit is contained in:
Craig Dowell committed 2008-10-27 22:01:24 -07:00
1 parent 4ff27b338d
commit 95e5962a17
17 files changed
+1037 -15

No files matched your search

+15 -5
View File
@@ -255,13 +255,23 @@ public:
virtual bool NeedsArp (void) const = 0;
/** Packet types */
/**
* Packet types are used as they are in Linux. GCC name resolution on
* typedef enum {} PacketType is broken for the foreseeable future, so
* if you need to use ns-3 PacketType in a driver that also uses the
* Linux packet types you're hosed unless we define a shadow type,
* which we do here.
*/
enum PacketType
{
PACKET_HOST = 1, /* To us */
PACKET_BROADCAST, /* To all */
PACKET_MULTICAST, /* To group */
PACKET_OTHERHOST, /* To someone else */
PACKET_HOST = 1, /**< Packet addressed oo us */
NS3_PACKET_HOST = PACKET_HOST,
PACKET_BROADCAST, /**< Packet addressed to all */
NS3_PACKET_BROADCAST = PACKET_BROADCAST,
PACKET_MULTICAST, /**< Packet addressed to multicast group */
NS3_PACKET_MULTICAST = PACKET_MULTICAST,
PACKET_OTHERHOST, /**< Packet addressed to someone else */
NS3_PACKET_OTHERHOST = PACKET_OTHERHOST,
};
/**