Commit Graph

56 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
ca2fef3bd8 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
ae074d9e03 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
c33568c079 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
95be482f24 Backed out changeset ae9f7d5e2d56 2008-07-07 10:26:00 +01:00
Gustavo J. A. M. Carneiro
ab714db3a9 Try to preserve API compatibility, after SendFrom / promiscuous mode changes. 2008-07-04 19:15:00 +01:00
Mathieu Lacage
d1d683ee21 remove 'All rigts reserved' keyword per tom's suggestion 2008-03-31 14:56:41 -07:00
Mathieu Lacage
848cb7cfb5 add back support for introspected doxygen. 2008-03-13 12:56:49 -07:00
Mathieu Lacage
2eae2f926c make NetDevice fully virtual. 2008-02-25 19:33:46 +01:00
Mathieu Lacage
5c769d2d24 iid -> tid 2008-01-15 12:44:09 +01:00
Mathieu Lacage
a2e63b7f0b iid (void) -> GetTypeId (void) 2008-01-15 12:43:07 +01:00
Mathieu Lacage
44c33f1618 InterfaceId -> TypeId 2008-01-15 12:36:22 +01:00
Mathieu Lacage
4f58be6548 replace ComponentManager::Create and ClassId with InterfaceId::CreateObjest and InterfaceId 2008-01-03 11:39:45 +01:00
Mathieu Lacage
976f16c4d9 get rid of MakeInterfaceId 2008-01-03 08:34:31 +01:00
Mathieu Lacage
bc1ab2d79b replace static const Interface iid; with static InterfaceId iid (void); 2008-01-02 10:33:39 +01:00
Mathieu Lacage
6b0e717a19 add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>. 2008-01-02 09:09:24 +01:00
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Craig Dowell
2e1dcf1479 debug to log 2007-09-13 21:36:32 -07:00
Craig Dowell
451a4762df merge with trunk again 2007-09-11 12:20:09 -07:00
Craig Dowell
2d73bd9927 Move MakeMulticastAddress to NetDevice 2007-08-29 12:11:11 -07:00
Mathieu Lacage
04569d27b7 merge with trunk 2007-08-28 12:05:35 +02:00
Craig Dowell
4e486b1f59 semi-real multicast hardware addresses 2007-08-24 17:38:49 -07:00
Mathieu Lacage
2ee1d5fca6 the protocol number field is a 16 bit integer, not a 32 bit integer 2007-08-24 10:33:58 +02:00
Mathieu Lacage
ec4d9bbcb9 use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code 2007-08-12 16:28:29 +02:00
Mathieu Lacage
0b34c336f7 convert TraceResolver * to Ptr<TraceResolver> 2007-08-10 15:47:13 +02:00
Mathieu Lacage
e683e1ab1c remove TraceContext argument from TraceResolver constructor and move it to Connect 2007-08-09 21:25:23 +02:00
Mathieu Lacage
1b62aa5a79 consitify the API a bit 2007-08-01 19:19:28 +02:00
Mathieu Lacage
e05f635db5 rework the NetDevice <-> Node interface 2007-08-01 08:58:18 +02:00
Mathieu Lacage
7b9fbc36e1 merge 2007-07-30 10:35:03 +02:00
Mathieu Lacage
db6a90d956 replace MacAddress by Address 2007-07-26 17:36:53 +02:00
Emmanuelle Laprise
718ec64593 Move LLC encapsulation from NetDevice to subclasses. 2007-07-27 20:45:18 +02:00
Mathieu Lacage
359a2f98a8 rename i-node to node 2007-06-04 16:21:05 +02:00
Mathieu Lacage
1225b1623e rename INode to Node 2007-06-04 16:17:01 +02:00
Mathieu Lacage
643522774e port code from Interface to Object 2007-05-25 10:56:03 +02:00
Mathieu Lacage
ee02cd1a23 rename Node to INode 2007-05-14 10:06:12 +02:00
Mathieu Lacage
1b0dbb2b34 rename node.h to i-node.h 2007-05-14 09:09:43 +02:00
Mathieu Lacage
87112f46f7 call Node::AddDevice from NetDevice::NetDevice 2007-05-13 09:58:53 +02:00
Mathieu Lacage
b3aee2deb2 NetDevice and Channel now derive from Interface rather than Object 2007-05-11 19:26:01 +02:00
Mathieu Lacage
4bd2abebd2 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +02:00
Mathieu Lacage
e322d7f1df implement properly NetDevice::DoDispose and rename NetDevice::PeekNode to NetDevice::GetNode 2007-05-10 08:18:41 +02:00
Raj Bhattacharjea
de3b9c78f3 Removed manual ref/unref calls for Ptr<Node> 2007-05-09 14:50:14 -04:00
Raj Bhattacharjea
ecfcfa977d Node* -> Ptr<Node> 2007-05-09 13:26:21 -04:00
Tom Henderson
ea55c60fe3 Enable both ascii and pcap tracing 2007-05-04 12:17:14 -07:00
Mathieu Lacage
b15d1043d1 finish Dispose -> DoDispose rework 2007-05-03 13:24:43 +02:00
Mathieu Lacage
43adf5863d apply ref/unref rules consistently for Node 2007-05-02 14:40:40 +02:00
Mathieu Lacage
d4814abf5f just a small typo 2007-05-02 09:18:02 +02:00
Mathieu Lacage
9eaf9191d8 merge in raj's dispose early work 2007-05-02 09:10:19 +02:00
Mathieu Lacage
e8633acdca merge Packet API changes needed for Packet pretty printing. 2007-05-01 11:54:21 +02:00
Mathieu Lacage
f3febd91ac remove unused headers 2007-04-30 10:37:57 +02:00
Mathieu Lacage
4873ff5f39 add NetDevice::SetReceiveCallback and use it 2007-04-30 10:37:22 +02:00
Mathieu Lacage
cd2fabe2f1 add NetDevice::NeedsArp method 2007-04-30 10:05:46 +02:00