Commit Graph
66 Commits
Author SHA1 Message Date
Craig Dowell a7611d2b30 implement IsBridged for net devices 2008-11-18 16:23:31 -08:00
vincent@clarinet.u-strasbg.fr f8360e8b31 Initial IPv6 capability 2008-11-07 11:36:15 -08:00
Craig Dowell 5ddcf43d0f Apply Patch to address bug 294 -- due to vincent 2008-11-05 14:33:20 -08:00
Craig Dowell 95e5962a17 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
2008-10-27 22:01:24 -07:00
Tom Henderson 37edf487f8 fix some Doxygen warnings 2008-09-15 06:10:53 -07:00
Mathieu Lacage 83d5287e80 bug 274: bridge must detect compatibility of devices with bridging mode 2008-09-02 11:28:03 -07:00
Mathieu Lacage a9c8afab76 repeat enum keyword. 2008-08-25 10:03:38 -07:00
Mathieu Lacage 233714297e bug 273: constify packet pointers. 2008-08-25 09:13:05 -07:00
Gustavo J. A. M. Carneiro a76c709ef8 Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence. 2008-07-24 11:41:15 +01:00
Gustavo J. A. M. Carneiro ca47bdc908 No need to make NetDevice::SendFrom pure virtual; instead just give a fatal error if used in runtime (it's only used by the learning bridge, anyway, so...). 2008-07-18 11:41:22 +01:00
Gustavo J. A. M. Carneiro 90a520d862 New API considering comments from Craig: NetDevice->Node uses two callbacks; Node->ProtocolHandlers uses a single API with a promiscuous flag. 2008-07-16 16:06:50 +01:00
Gustavo J. A. M. Carneiro e525ff58ab Simplify promiscuous mode API: NetDevices always operate in promiscuous mode, normal receive callbacks receive extra destination address and packet type. 2008-07-07 12:18:05 +01:00
Gustavo J. A. M. Carneiro b7adae1949 Backed out changeset ae9f7d5e2d56 2008-07-07 10:26:00 +01:00
Gustavo J. A. M. Carneiro fd8f87cd26 Try to preserve API compatibility, after SendFrom / promiscuous mode changes. 2008-07-04 19:15:00 +01:00
Gustavo J. A. M. Carneiro c5fa9f16a5 Add a NetDevice::SendFrom API, for sending packets with a custom source MAC address (a.k.a. MAC spoofing). Only implemented for CsmaNetDevice for now. 2008-07-04 18:03:26 +01:00
Gustavo J. A. M. Carneiro 51b8c5c36f Changes in the promiscuous mode API: now the callback receives everything, both 'for me' and 'not for me', with an additional 'forMe' parameter. 2008-07-04 15:37:03 +01:00
Gustavo J. A. M. Carneiro 9f1edd34cd Sketching a new promiscuous mode protocol handlers API; Netdevices implementation missing, though.
--HG--
extra : transplant_source : %9B%D1%BEZ%7E%CC%BC%1Dk%1BX%00%D5%EE%FC%D4%F4%E5%A4%B3
2008-06-30 19:25:58 +01:00
Mathieu Lacage 22a8530ae1 dox missing SetNode method 2008-06-23 12:44:21 -07:00
Mathieu Lacage 1de8cdad49 bug 202: classes disappeared from doxygen output 2008-06-04 11:48:52 -07:00
Tom Henderson 1702eb8205 more doxygen 2008-05-30 10:36:02 -07:00
tjkopena@cs.drexel.edu 4894ee98cf Removed TraceContext and TraceResolver references, removed MobilityModelNotifier class, and minor changes on samples/main-random-walk.cc. 2008-05-14 19:24:17 -04:00
Mathieu Lacage d2fe7ebe8f remove 'All rigts reserved' keyword per tom's suggestion 2008-03-31 14:56:41 -07:00
Mathieu Lacage 0601ecd105 add Application::SetNode and NetDevice::SetNode, use them from Node::AddApplication and Node::AddDevice. kill useless "Node" attributes. 2008-03-13 11:10:38 -07:00
Mathieu Lacage 2bc8681543 kill TraceResolver et al. 2008-03-03 01:58:57 +01:00
Mathieu Lacage 4291df2576 make NetDevice fully virtual. 2008-02-25 19:33:46 +01:00
Mathieu Lacage a67aff99c9 iid (void) -> GetTypeId (void) 2008-01-15 12:43:07 +01:00
Mathieu Lacage 604159b374 InterfaceId -> TypeId 2008-01-15 12:36:22 +01:00
Mathieu Lacage f4e627a8b2 replace static const Interface iid; with static InterfaceId iid (void); 2008-01-02 10:33:39 +01:00
Tom Henderson 159919d13a Repair doxygen errors 2007-12-15 13:59:33 -08:00
Mathieu Lacage af548b9f4a do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Craig Dowell d0fcfb2c2e merge with trunk again 2007-09-11 12:20:09 -07:00
Craig Dowell a8a76bf784 Move MakeMulticastAddress to NetDevice 2007-08-29 12:11:11 -07:00
Mathieu Lacage bcf1aa1f33 merge with trunk
--HG--
rename : src/devices/csma-cd/csma-cd-net-device.cc => src/devices/csma/csma-net-device.cc
rename : src/devices/csma-cd/csma-cd-net-device.h => src/devices/csma/csma-net-device.h
2007-08-28 12:05:35 +02:00
Craig Dowell c566eebcd0 semi-real multicast hardware addresses 2007-08-24 17:38:49 -07:00
Mathieu Lacage 86befb3527 the protocol number field is a 16 bit integer, not a 32 bit integer 2007-08-24 10:33:58 +02:00
Mathieu Lacage e11c1343b3 use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code 2007-08-12 16:28:29 +02:00
Mathieu Lacage 111413d06f convert TraceResolver * to Ptr<TraceResolver> 2007-08-10 15:47:13 +02:00
Mathieu Lacage 308d109968 remove TraceContext argument from TraceResolver constructor and move it to Connect 2007-08-09 21:25:23 +02:00
Mathieu Lacage 42b8ef0573 consitify the API a bit 2007-08-01 19:19:28 +02:00
Mathieu Lacage 8e2a107fde rework the NetDevice <-> Node interface 2007-08-01 08:58:18 +02:00
Mathieu Lacage 36efa41341 merge 2007-07-30 10:35:03 +02:00
Mathieu Lacage dbae783c9b replace MacAddress by Address 2007-07-26 17:36:53 +02:00
Emmanuelle Laprise 4332f85a75 Move LLC encapsulation from NetDevice to subclasses. 2007-07-27 20:45:18 +02:00
Mathieu Lacage fd29e39bee rename INode to Node 2007-06-04 16:17:01 +02:00
Mathieu Lacage 53893fa3c9 port code from Interface to Object 2007-05-25 10:56:03 +02:00
Mathieu Lacage 9464ec7549 rename Node to INode 2007-05-14 10:06:12 +02:00
Mathieu Lacage 74e612e09d complete dox doc 2007-05-13 11:57:27 +02:00
Mathieu Lacage 0af1fb7d02 fix dox warnings 2007-05-13 10:57:43 +02:00
Mathieu Lacage 3753b3f5a7 NetDevice and Channel now derive from Interface rather than Object 2007-05-11 19:26:01 +02:00
Mathieu Lacage e70e445975 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +02:00