Commit Graph
56 Commits
Author SHA1 Message Date
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 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
Mathieu Lacage d2fe7ebe8f remove 'All rigts reserved' keyword per tom's suggestion 2008-03-31 14:56:41 -07:00
Mathieu Lacage e716bbe09d add back support for introspected doxygen. 2008-03-13 12:56:49 -07:00
Mathieu Lacage 4291df2576 make NetDevice fully virtual. 2008-02-25 19:33:46 +01:00
Mathieu Lacage 876fb1f44b iid -> tid 2008-01-15 12:44:09 +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 768cb46c73 replace ComponentManager::Create and ClassId with InterfaceId::CreateObjest and InterfaceId 2008-01-03 11:39:45 +01:00
Mathieu Lacage c771dcf7ee get rid of MakeInterfaceId 2008-01-03 08:34:31 +01:00
Mathieu Lacage f4e627a8b2 replace static const Interface iid; with static InterfaceId iid (void); 2008-01-02 10:33:39 +01:00
Mathieu Lacage 813570fdf2 add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>. 2008-01-02 09:09:24 +01:00
Mathieu Lacage af548b9f4a do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Craig Dowell 611d0d35f1 debug to log 2007-09-13 21:36:32 -07: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 530799c42a rename i-node to node
--HG--
rename : src/node/i-node.cc => src/node/node.cc
rename : src/node/i-node.h => src/node/node.h
2007-06-04 16:21:05 +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 1ed79c12fc rename node.h to i-node.h
--HG--
rename : src/node/node.cc => src/node/i-node.cc
rename : src/node/node.h => src/node/i-node.h
2007-05-14 09:09:43 +02:00
Mathieu Lacage 2807e6b381 call Node::AddDevice from NetDevice::NetDevice 2007-05-13 09:58:53 +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
Mathieu Lacage 9075183ce7 implement properly NetDevice::DoDispose and rename NetDevice::PeekNode to NetDevice::GetNode 2007-05-10 08:18:41 +02:00
Raj Bhattacharjea 4731b38ffa Removed manual ref/unref calls for Ptr<Node> 2007-05-09 14:50:14 -04:00
Raj Bhattacharjea 82d23c9bb7 Node* -> Ptr<Node> 2007-05-09 13:26:21 -04:00
Tom Henderson f6e721abf2 Enable both ascii and pcap tracing 2007-05-04 12:17:14 -07:00
Mathieu Lacage d16948bfe6 finish Dispose -> DoDispose rework 2007-05-03 13:24:43 +02:00
Mathieu Lacage d9daa0b63d apply ref/unref rules consistently for Node 2007-05-02 14:40:40 +02:00
Mathieu Lacage 533f1058a1 just a small typo 2007-05-02 09:18:02 +02:00
Mathieu Lacage c46256d176 merge in raj's dispose early work 2007-05-02 09:10:19 +02:00
Mathieu Lacage 0da8f5c763 merge Packet API changes needed for Packet pretty printing. 2007-05-01 11:54:21 +02:00
Mathieu Lacage d73eebd130 remove unused headers 2007-04-30 10:37:57 +02:00
Mathieu Lacage 9230407c7e add NetDevice::SetReceiveCallback and use it 2007-04-30 10:37:22 +02:00
Mathieu Lacage 47b222e2d8 add NetDevice::NeedsArp method 2007-04-30 10:05:46 +02:00