Commit Graph
126 Commits
Author SHA1 Message Date
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 b392b2a867 merge with trunk 2007-08-09 09:36:59 +02:00
Gustavo J. A. M. Carneiro 0eca73234a WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file. 2007-08-08 15:10:36 +01:00
Mathieu Lacage 1bd35c2b55 make sure udp-header.h is exported for main-packet-printer 2007-08-08 11:20:35 +02:00
Mathieu Lacage 1e22e6d203 rework the NS_XX_ENSURE_REGISTERED macros and make sure we typecheck the input to TraceContext::Add and TraceContext::Get methods 2007-08-08 10:18:55 +02:00
Mathieu Lacage 496f1d91d0 TraceContextElement::Register -> TraceContextElement::AllocateUid 2007-08-08 10:06:58 +02:00
Mathieu Lacage 5a38178db2 Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid 2007-08-08 10:01:19 +02:00
Mathieu Lacage 5c419ea37f remove Chunk base class 2007-08-08 09:12:55 +02:00
Mathieu Lacage 1a1dda1796 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage 0db07e14d6 merge implicit conversion tree 2007-08-06 15:32:27 +02:00
Mathieu Lacage 913319d9e3 merge packet socket with trunk 2007-08-06 09:59:29 +02:00
Mathieu Lacage a55fa0d833 merge with trunk 2007-08-04 17:17:23 +02:00
Mathieu Lacage 0cb76eb275 macros to ensure proper initialization 2007-08-04 16:49:06 +02:00
Mathieu Lacage 93cea27ad8 force users to register their header/trailer uid strings by hand rather than do lazy uid allocation. 2007-08-04 16:37:16 +02:00
Mathieu Lacage 6a1e38d831 forgot to use std::string instead of const char * 2007-08-04 13:21:55 +02:00
Tom Henderson de77db64fc interim 2007-08-03 09:29:57 -07:00
Tom Henderson fce7c3cc39 merge with ns-3-dev 2007-08-03 08:29:24 -07:00
Mathieu Lacage 4050d495ed fix valgrind warnings 2007-08-03 17:26:10 +02:00
Mathieu Lacage e672f9711f add GetUid methods to all headers and trailers 2007-08-03 09:23:41 +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 3d9d4ce7be I wonder what the point of that code was: why should you test for zero _after_ using the pointer ? It needs to be tested _before_. 2007-07-31 10:47:29 +02:00
Mathieu Lacage 1454050eef forgot to set the interface id 2007-07-31 09:21:40 +02:00
Mathieu Lacage 8c80e6c2f8 remove now-unused ArpPrivate class 2007-07-31 09:17:05 +02:00
Mathieu Lacage b4237e51dc implement the Node::ProtocolHandler support. 2007-07-31 09:09:31 +02:00
Mathieu Lacage f1b9327123 remove implicit conversion from Address to Eui48Address, to Ipv4Address and to InetSocketAddress 2007-07-30 14:57:49 +02:00
Mathieu Lacage 2641f7fe88 InetSocketAddress: replace explicit conversion to implicit conversion 2007-07-30 14:07:39 +02:00
Mathieu Lacage f2084098e2 add InetSocketAddress::IsMatchingType and use it 2007-07-30 13:55:28 +02:00
Mathieu Lacage df7f115415 InetAddress -> InetSocketAddress 2007-07-30 13:29:36 +02:00
Mathieu Lacage 7b9fbc36e1 merge 2007-07-30 10:35:03 +02:00
Gustavo J. A. M. Carneiro 8682d0293a WAF: remove the obj.includes = '.' part from modules, since it causes build failure in OS X, and waf was just fixed to enable header files dependency tracking by default without needing to change obj.includes 2007-07-28 14:14:16 +01:00
Craig Dowell 510083f0ea remove routing environment, move router interface creation to global-route-manager 2007-07-27 20:34:25 -07:00
Craig Dowell d38da7ae3d rename party 2007-07-27 14:04:54 -07:00
Mathieu Lacage 695119b3a5 Ipv4TransportAddress -> InetAddress 2007-07-27 08:44:26 +02:00
Mathieu Lacage 863de62880 ipv4-transport-address -> inet-address 2007-07-27 08:32:34 +02:00
Mathieu Lacage c716994cab convert Socket to use Address class 2007-07-27 08:23:20 +02:00
Mathieu Lacage db6a90d956 replace MacAddress by Address 2007-07-26 17:36:53 +02:00
Gustavo J. A. M. Carneiro 6b29b3c817 Add documentation for the dynamic routing interfaces. Change Ipv4::AddRoutingProtocol priority parameter type from int to int16_t to make way for in the future providing stable sorting of routing protocols of the same priority. 2007-07-27 15:38:04 +01:00
Gustavo J. A. M. Carneiro 317f336c76 Allow UDP sockets to receive broadcast (bug #51) 2007-07-26 12:27:49 +01:00
Gustavo J. A. M. Carneiro ddd0dc6dff Support dynamic routing and multiple routing protocols; static routing table is refactored as a "routing protocol".
Support sending IP broadcast (255.255.255.255) packets (bug #36).
2007-07-26 12:26:21 +01:00
Gustavo J. A. M. Carneiro 1da64ebbd6 Allow ARP resolution to work with broadcast IPv4 (dest=255.255.255.255) packets; Partially fixes bug #36. 2007-07-26 12:12:51 +01:00
Tom Henderson fda49d72c1 merge 2007-07-27 10:49:29 -07:00
Emmanuelle Laprise ad5f36f2ac ethernet Header and Trailer classes 2007-07-27 21:16:40 +02:00
Tom Henderson 2d950869f8 Add patch 49 (add/remove network route when bringing interface up/down) 2007-07-27 10:48:10 -07:00
Gustavo J. A. M. Carneiro 57688559b1 WAF: add obj.includes = '.' to command waf to do dependency tracking on private header files. 2007-07-20 11:12:43 +01:00
Gustavo J. A. M. Carneiro 76223227ba Allow compiling the 'routing' module and example with WAF 2007-07-17 11:02:14 +01:00
Emmanuelle Laprise 3006bcb3f7 Testing 2007-07-16 18:42:40 -05:00
Gustavo J. A. M. Carneiro ae8f10ae47 WAF: derive the variable NS3_MODULES from the 'all_modules' list in src/wscript, instead of requiring every module to define a configure function to register themselves. This way module registration is done in one place only: src/wscript. Requires module naming conventions, though. 2007-07-15 13:04:47 +01:00