Commit Graph
78 Commits
Author SHA1 Message Date
Gustavo J. A. M. Carneiro b8b4889c57 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 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 11c9cacc5c sync with ns-3-dev 2008-07-08 14:18: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 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
tjkopena@cs.drexel.edu ed9944dc14 Minor doc notes added to ipv4.h 2008-07-03 09:44:23 -04: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
Gustavo J. A. M. Carneiro 4b558ec065 Missing Packet::Copy in Node::ReceiveFromDevice for the multiple protocol handlers scenario. 2008-05-14 18:15:26 +01:00
Mathieu Lacage f0cf30bdb7 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Mathieu Lacage 10ca6fdcd7 add ObjectVector::GetItemTypeId 2008-04-09 14:58:52 -07:00
Mathieu Lacage 223b6623bb remove PacketSocketFactory aggregation from Node base class 2008-03-25 14:15:34 -07:00
Mathieu Lacage e716bbe09d add back support for introspected doxygen. 2008-03-13 12:56:49 -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 cd376675cf convert CsmaNetDevice to Attributes. 2008-02-27 20:23:57 +01:00
Mathieu Lacage b12fb32ba4 application and netdevice lists are attributes now. 2008-02-26 18:03:59 +01:00
Mathieu Lacage b02f5a2c38 AddInterface -> AggregateObject 2008-01-31 22:23: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 3c62a41482 add application tracing support 2007-12-11 13:51:03 +01:00
Mathieu Lacage af548b9f4a do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Mathieu Lacage c0ac2a19c6 GetName -> GetTypeName 2007-08-30 14:35:44 +02:00
Mathieu Lacage f87f5e6b4f avoid method naming ambiguity in CompositeTraceResolver 2007-08-28 15:59:49 +02:00
Mathieu Lacage 726d998910 constify 2007-08-28 14:33:53 +02:00
Mathieu Lacage 36b572607e add TraceContextElement::GetName method 2007-08-27 14:59:50 +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 fe811f3a2e TraceContextElement::Register -> TraceContextElement::AllocateUid 2007-08-08 10:06:58 +02:00
Mathieu Lacage bc55e550a3 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage 65ec58ce0a fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage dde33bf28c replace Node::DoCreateTraceResolver with Node::DoFillTraceResolver 2007-08-01 12:33:44 +02:00
Mathieu Lacage 8e2a107fde rework the NetDevice <-> Node interface 2007-08-01 08:58:18 +02:00
Mathieu Lacage c8e079f917 implement the Node::ProtocolHandler support. 2007-07-31 09:09:31 +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 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 f9fa6b94d7 add dox documentation for Node 2007-05-13 11:46:11 +02:00
Mathieu Lacage 5b9875cc78 make the Node API more consistent 2007-05-13 11:30:15 +02:00
Mathieu Lacage e66198cb6d remove ApplicationList. Move functionality to Node class
--HG--
rename : src/applications/application.cc => src/node/application.cc
rename : src/applications/application.h => src/node/application.h
2007-05-13 09:46:38 +02:00
Mathieu Lacage 9e72351b1b rename Iid to InterfaceId 2007-05-11 18:57:45 +02:00
Mathieu Lacage 930e799c16 rename NsUnknown to Interface and NsUnknownManager to ComponentManager 2007-05-11 18:52:05 +02:00
Mathieu Lacage e70e445975 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +02:00
Tom Henderson f6e721abf2 Enable both ascii and pcap tracing 2007-05-04 12:17:14 -07:00