Commit Graph
129 Commits
Author SHA1 Message Date
Mathieu Lacage b7f0debe92 remove TraceRoot 2007-08-27 13:36:40 +02:00
Mathieu Lacage 402830980e CompositeTraceResolver::Add -> CompositeTraceResolver::AddSource 2007-08-12 22:31:16 +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 ceb786f389 merge with trunk 2007-08-09 09:36:59 +02:00
Gustavo J. A. M. Carneiro 9aa65d1e2a 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 e8eae0a765 make sure udp-header.h is exported for main-packet-printer 2007-08-08 11:20:35 +02:00
Mathieu Lacage a08734f4f3 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 fe811f3a2e TraceContextElement::Register -> TraceContextElement::AllocateUid 2007-08-08 10:06:58 +02:00
Mathieu Lacage 252af8d9bf Trailer::Register -> Trailer::AllocateUid and Header::Register -> Header::AllocateUid 2007-08-08 10:01:19 +02:00
Mathieu Lacage 5d6c37a355 remove Chunk base class
--HG--
rename : src/common/chunk.cc => src/common/chunk-registry.cc
rename : src/common/chunk.h => src/common/chunk-registry.h
2007-08-08 09:12:55 +02:00
Mathieu Lacage bc55e550a3 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage 31fe48b221 merge implicit conversion tree
--HG--
rename : examples/csma-cd-one-subnet.cc => examples/csma-cd-packet-socket.cc
rename : src/node/eui48-address.cc => src/node/eui64-address.cc
rename : src/node/eui48-address.h => src/node/eui64-address.h
2007-08-06 15:32:27 +02:00
Mathieu Lacage 082bd1f001 merge packet socket with trunk 2007-08-06 09:59:29 +02:00
Mathieu Lacage 03d6425976 merge with trunk 2007-08-04 17:17:23 +02:00
Mathieu Lacage b353cfa1c2 macros to ensure proper initialization 2007-08-04 16:49:06 +02:00
Mathieu Lacage 4d013a8d3d 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 27ec6591c5 forgot to use std::string instead of const char * 2007-08-04 13:21:55 +02:00
Tom Henderson 69d03040da interim 2007-08-03 09:29:57 -07:00
Tom Henderson 98d396f438 merge with ns-3-dev 2007-08-03 08:29:24 -07:00
Mathieu Lacage d00d3a3e56 fix valgrind warnings 2007-08-03 17:26:10 +02:00
Mathieu Lacage aab20db3be add GetUid methods to all headers and trailers 2007-08-03 09:23:41 +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 170c69e549 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 8de745889a forgot to set the interface id 2007-07-31 09:21:40 +02:00
Mathieu Lacage 5a8af4f9de remove now-unused ArpPrivate class 2007-07-31 09:17:05 +02:00
Mathieu Lacage c8e079f917 implement the Node::ProtocolHandler support. 2007-07-31 09:09:31 +02:00
Mathieu Lacage 051f82e163 remove implicit conversion from Address to Eui48Address, to Ipv4Address and to InetSocketAddress 2007-07-30 14:57:49 +02:00
Mathieu Lacage 90d2314ab2 InetSocketAddress: replace explicit conversion to implicit conversion 2007-07-30 14:07:39 +02:00
Mathieu Lacage 140602fb4a add InetSocketAddress::IsMatchingType and use it 2007-07-30 13:55:28 +02:00
Mathieu Lacage 072947fae1 InetAddress -> InetSocketAddress
--HG--
rename : src/node/inet-address.cc => src/node/inet-socket-address.cc
rename : src/node/inet-address.h => src/node/inet-socket-address.h
2007-07-30 13:29:36 +02:00
Mathieu Lacage 36efa41341 merge 2007-07-30 10:35:03 +02:00
Gustavo J. A. M. Carneiro 4edba4b1b9 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 2b2bb45227 remove routing environment, move router interface creation to global-route-manager 2007-07-27 20:34:25 -07:00
Craig Dowell ed70846493 rename party 2007-07-27 14:04:54 -07:00
Mathieu Lacage 6770e9008d Ipv4TransportAddress -> InetAddress 2007-07-27 08:44:26 +02:00
Mathieu Lacage 75fdbc8ded ipv4-transport-address -> inet-address
--HG--
rename : src/node/ipv4-transport-address.cc => src/node/inet-address.cc
rename : src/node/ipv4-transport-address.h => src/node/inet-address.h
2007-07-27 08:32:34 +02:00
Mathieu Lacage 866c75dc00 convert Socket to use Address class 2007-07-27 08:23:20 +02:00
Mathieu Lacage dbae783c9b replace MacAddress by Address 2007-07-26 17:36:53 +02:00
Gustavo J. A. M. Carneiro 62da860f35 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.
--HG--
extra : transplant_source : %B5%DENP%A8t%0D5j%5C%B6%06%D5%FCc%27C%E2%C2%3E
2007-07-27 15:38:04 +01:00
Gustavo J. A. M. Carneiro 08c31669d9 Allow UDP sockets to receive broadcast (bug #51)
--HG--
extra : transplant_source : %B5%1C%9CA%28Dl09%8F%9F%A4%3A%83%3B%E9%05%BAH%25
2007-07-26 12:27:49 +01:00
Gustavo J. A. M. Carneiro 62e1e33a8e 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).

--HG--
extra : transplant_source : %96%23%86s4%C3%CE%7Es%FB%29%D1-%E5%EEx%F2%C6n%DC
2007-07-26 12:26:21 +01:00
Gustavo J. A. M. Carneiro 365e78fe5c Allow ARP resolution to work with broadcast IPv4 (dest=255.255.255.255) packets; Partially fixes bug #36.
--HG--
extra : transplant_source : %8Fm%83%9Dt%3B%F5%24%89%27%EC%1C%99%B6V7y3%87%9E
2007-07-26 12:12:51 +01:00
Tom Henderson 457aaac8e4 merge 2007-07-27 10:49:29 -07:00
Emmanuelle Laprise 9279a109b8 ethernet Header and Trailer classes
--HG--
rename : src/internet-node/header-utils.cc => src/node/address-utils.cc
rename : src/internet-node/header-utils.h => src/node/address-utils.h
2007-07-27 21:16:40 +02:00
Tom Henderson 492bcf3210 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 3249fa8d54 WAF: add obj.includes = '.' to command waf to do dependency tracking on private header files. 2007-07-20 11:12:43 +01:00