Commit Graph

83 Commits

Author SHA1 Message Date
Mathieu Lacage
8f7b450103 bug 274: bridge must detect compatibility of devices with bridging mode 2008-09-02 11:28:03 -07:00
Mathieu Lacage
a54f875690 forgot to remove uneeded copy 2008-08-27 11:39:31 -07:00
Mathieu Lacage
cfdb301bee bug 273: constify packet pointers. 2008-08-25 09:13:05 -07:00
Mathieu Lacage
29151f4ec2 remove Node::GetFirstApplication checked in changeset 38b8549b1ad3 by mistake. 2008-08-07 10:13:54 -07:00
Gustavo J. A. M. Carneiro
bf060fddf8 Oops, typo (evil copy-paste) 2008-08-06 16:11:44 +01:00
Gustavo J. A. M. Carneiro
3883a5e095 Add bounds checking asserts to Node::GetApplication, NodeList::GetNode, and Node::GetDevice. 2008-08-06 16:06:44 +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
fe73953148 sync with ns-3-dev 2008-07-08 14:18:50 +01:00
Gustavo J. A. M. Carneiro
cb491541ac 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
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
Gustavo J. A. M. Carneiro
629a5b02da 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
Unknown
12c6c43d57 Minor doc notes added to ipv4.h 2008-07-03 09:44:23 -04:00
Gustavo J. A. M. Carneiro
bf513e45d2 Sketching a new promiscuous mode protocol handlers API; Netdevices implementation missing, though. 2008-06-30 19:25:58 +01:00
Gustavo J. A. M. Carneiro
1cecfe5548 Missing Packet::Copy in Node::ReceiveFromDevice for the multiple protocol handlers scenario. 2008-05-14 18:15:26 +01:00
Mathieu Lacage
4ff40c4a07 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Mathieu Lacage
a75e91cc03 add ObjectVector::GetItemTypeId 2008-04-09 14:58:52 -07:00
Mathieu Lacage
a6979a7bb9 remove PacketSocketFactory aggregation from Node base class 2008-03-25 14:15:34 -07:00
Mathieu Lacage
848cb7cfb5 add back support for introspected doxygen. 2008-03-13 12:56:49 -07:00
Mathieu Lacage
fb452286e6 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
a786828ddf kill TraceResolver et al. 2008-03-03 01:58:57 +01:00
Mathieu Lacage
fe07d43e5d convert CsmaNetDevice to Attributes. 2008-02-27 20:23:57 +01:00
Mathieu Lacage
847f7587ff application and netdevice lists are attributes now. 2008-02-26 18:03:59 +01:00
Mathieu Lacage
cecd35e20b AddInterface -> AggregateObject 2008-01-31 22:23: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
3262a4e103 add application tracing support 2007-12-11 13:51:03 +01:00
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Mathieu Lacage
3330ba77b1 GetName -> GetTypeName 2007-08-30 14:35:44 +02:00
Mathieu Lacage
f9a6120685 avoid method naming ambiguity in CompositeTraceResolver 2007-08-28 15:59:49 +02:00
Mathieu Lacage
4d9cf433ff constify 2007-08-28 14:33:53 +02:00
Mathieu Lacage
90c8be1fa3 add TraceContextElement::GetName method 2007-08-27 14:59:50 +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
496f1d91d0 TraceContextElement::Register -> TraceContextElement::AllocateUid 2007-08-08 10:06:58 +02:00
Mathieu Lacage
1a1dda1796 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage
707b722c36 fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage
dd3ca3aa63 replace Node::DoCreateTraceResolver with Node::DoFillTraceResolver 2007-08-01 12:33:44 +02:00
Mathieu Lacage
e05f635db5 rework the NetDevice <-> Node interface 2007-08-01 08:58:18 +02:00
Mathieu Lacage
b4237e51dc implement the Node::ProtocolHandler support. 2007-07-31 09:09:31 +02:00
Mathieu Lacage
359a2f98a8 rename i-node to node 2007-06-04 16:21:05 +02:00
Mathieu Lacage
1b0dbb2b34 rename node.h to i-node.h 2007-05-14 09:09:43 +02:00
Mathieu Lacage
52d60ea049 add dox documentation for Node 2007-05-13 11:46:11 +02:00
Mathieu Lacage
88c5dfecb0 make the Node API more consistent 2007-05-13 11:30:15 +02:00