Commit Graph
240 Commits
Author SHA1 Message Date
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 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 093a69d70f remove redundant printing output 2007-08-03 09:15:25 +02:00
Mathieu Lacage 524798085f fix coding style 2007-08-03 09:15:11 +02:00
Mathieu Lacage 3c064ca334 move constants to private section 2007-08-03 09:09:19 +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
Mathieu Lacage c742d8f08b small cleanups 2007-07-28 13:14:24 +02:00
Gustavo J. A. M. Carneiro a47a36d401 Add Ipv4Address::CombineMask, and implement Ipv4Address::IsBroadcast.
--HG--
extra : transplant_source : K%5C%81h%C5%A1%E7%17%21%9DD%02%7D%C2%1EO%E2%9A%C3%8D
2007-07-26 12:11:37 +01: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 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
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
Emmanuelle Laprise 4332f85a75 Move LLC encapsulation from NetDevice to subclasses. 2007-07-27 20:45:18 +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
Emmanuelle Laprise 21ac64104a Testing 2007-07-16 18:42:40 -05:00
Gustavo J. A. M. Carneiro e118337d08 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
George F. Riley db4ae71eab Simplifications to the point to point devices and channel 2007-07-13 10:40:10 +02:00
Emmanuelle Laprise 09197b9912 Removed the const after the DoAddDevice function because it is used to
add a callback on the packet receive function. But, in some cases (ie
ethernet learning), it is going to be needed to have a non-const
function that is called on packet reception.
2007-07-02 19:59:40 -05:00
Mathieu Lacage 6d4cb8c600 change default pretty printing output format, add doc to metadata data structures 2007-06-28 11:07:38 +02:00
Mathieu Lacage 60d0b58baf merge from head 2007-06-21 09:40:57 +02:00
Gustavo J. A. M. Carneiro 9c277ceefc Add Ipv4Address operator <, to allow Ipv4Address to be used in std::set; Closes #39. 2007-06-19 16:59:44 +01:00
Gustavo J. A. M. Carneiro 831d16f28a Add Ipv4Mask == and != operators, similarly to Ipv4Address. 2007-06-18 18:01:28 +01:00
Mathieu Lacage 70de515a71 merge 2007-06-12 22:54:10 +02:00
Gustavo J. A. M. Carneiro d1ec72d2d3 Re-sync WAF build with the latest SConstruct changes. 2007-06-12 14:05:01 +01:00
Mathieu Lacage 8cd61f2e40 fix bug 29
--HG--
rename : src/node/drop-tail.cc => src/node/drop-tail-queue.cc
rename : src/node/drop-tail.h => src/node/drop-tail-queue.h
2007-06-12 11:04:00 +02:00
Mathieu Lacage e6e6bdced7 fix bug 28 2007-06-12 10:53:38 +02:00
Mathieu Lacage 2fd74618b4 IIpv4 -> Ipv4 2007-06-11 17:50:16 +02:00
Mathieu Lacage e3abeba0b5 IIpv4 -> Ipv4 2007-06-04 18:25:43 +02:00
Mathieu Lacage b29cbffba2 i-ipv4.h -> ipv4.h
--HG--
rename : src/node/i-ipv4.cc => src/node/ipv4.cc
rename : src/node/i-ipv4.h => src/node/ipv4.h
2007-06-04 18:05:36 +02:00
Mathieu Lacage a65258c83c IUdp -> Udp 2007-06-04 18:03:26 +02:00
Mathieu Lacage cfdf331f14 i-udp.h -> udp.h
--HG--
rename : src/node/i-udp.cc => src/node/udp.cc
rename : src/node/i-udp.h => src/node/udp.h
2007-06-04 18:01:09 +02:00
Mathieu Lacage f97323b733 ISocketFactory -> SocketFactory 2007-06-04 17:57:01 +02:00
Mathieu Lacage 0a621ad784 i-socket-factory.h -> socket-factory.h
--HG--
rename : src/node/i-socket-factory.cc => src/node/socket-factory.cc
rename : src/node/i-socket-factory.h => src/node/socket-factory.h
2007-06-04 17:54:56 +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 fd29e39bee rename INode to Node 2007-06-04 16:17:01 +02:00
Tom Henderson e3a61fa888 Backed out changeset 767 for the release (not ready) 2007-06-15 13:30:40 -07:00
Tom Henderson d9cdf09ad6 back out unfinished p2p changes 2007-06-15 13:19:57 -07:00
Gustavo J. A. M. Carneiro 83d1eaa881 WAF: make all ns3 modules register themselves in the environment; link the run-tests program with all ns3 modules, not with a hardcoded list. 2007-06-15 15:19:38 +01:00
George F. Riley e5f13d0f9d Simplification to p2p-net-device and p2p-channel (work in progress) 2007-06-14 10:41:47 +02:00
Mathieu Lacage cf021d8438 add Chunk::GetName and implement it 2007-05-30 10:03:15 +02:00
Mathieu Lacage 28a4f86c56 add DefaultValue support for ClassId 2007-05-25 15:28:24 +02:00
Mathieu Lacage 03bfbc3482 a new ComponentManager API 2007-05-25 14:15:03 +02:00
Mathieu Lacage 53893fa3c9 port code from Interface to Object 2007-05-25 10:56:03 +02:00
Gustavo J. A. M. Carneiro df3a324362 Rename the SocketErrno enumeration values, from ESOMETHING to ERROR_SOMETHING, to avoid conflict with errno #define's; fixes compilation in mingw32. 2007-05-17 15:50:20 +01:00
Mathieu Lacage f697a39d1b improve IIpv4 dox 2007-05-17 12:23:39 +02:00
Raj Bhattacharjea 45da04d542 Some dox additions/fixes 2007-05-16 17:01:39 -04:00
Raj Bhattacharjea b15cfa8531 Queue dox 2007-05-14 14:56:39 -04:00