Commit Graph
244 Commits
Author SHA1 Message Date
Mathieu Lacage 4c607bf922 do not include dead header 2007-02-12 16:01:07 +01:00
Mathieu Lacage 9e83ba030a add arp stack 2007-02-12 15:55:49 +01:00
Mathieu Lacage 39181efea1 add Ipv4 and Udp node capabilities, rework Copy methods to include an extra Node * argument 2007-02-12 13:06:05 +01:00
Mathieu Lacage 1a6536aa02 add non-debugged udp stack
--HG--
rename : src/node/ipv4-l3-protocol.cc => src/node/ipv4.cc
rename : src/node/ipv4-l3-protocol.h => src/node/ipv4.h
2007-02-10 11:29:44 +01:00
Mathieu Lacage 96ea82128b add packet constructor which accepts payload buffer. 2007-02-10 10:24:36 +01:00
Mathieu Lacage c8a2d340c0 add start of udp stack 2007-02-09 19:40:19 +01:00
Mathieu Lacage a3cc502ffa make Send method public 2007-02-09 19:40:12 +01:00
Mathieu Lacage 9618981edc a basic untested ipv4 implementation 2007-02-09 17:54:49 +01:00
Mathieu Lacage 090a207940 add ipv4 and udp header, add ipv4 checksum support to make the udp header compile. Need to be fixed in UdpHeader later. 2007-02-08 16:01:58 +01:00
Mathieu Lacage 0990683bd6 code from all trees. 2007-02-08 15:37:48 +01:00
Mathieu Lacage ca01336efa change emacs style commands 2007-02-08 11:13:49 +01:00
Mathieu Lacage bd148957cd initial node base class from george's repo. 2007-02-08 11:11:24 +01:00
Mathieu Lacage 39ae4ca4ca remove compiler warning about unused variable when asserts are disabled. 2007-02-06 19:59:28 +01:00
Mathieu Lacage 699078343c merge from trunnk 2007-02-06 15:50:20 +01:00
Mathieu Lacage cdd54b98f4 avoid unused variable compiler warnings 2007-02-06 15:49:42 +01:00
Mathieu Lacage e065754071 merge with ns-3-ptr branch 2007-02-06 08:57:44 +01:00
Mathieu Lacage fd23a1e46f handle correctly nanosecond input 2007-02-05 12:42:32 +01:00
Mathieu Lacage fa3f8c2c1a use the new CallbackTracerBase::CheckCallbackType method to ensure proper type matching when invoking TraceContainer::SetCallback 2007-02-05 12:42:16 +01:00
Mathieu Lacage cb5e3b85bf add CallbackTracerBase and CallbackTracerBase::CheckCallbackType method to check the runtime type of a CallbackTracer 2007-02-05 12:41:36 +01:00
Mathieu Lacage fd44e3c9fd add CallbackBase and CallbackImplBase to allow the implementation of the runtime type checking method Callback::ChekType 2007-02-05 12:39:51 +01:00
Mathieu Lacage 442658fe0a constify 2007-02-05 12:38:52 +01:00
raj@igloo.ece.gatech.edu a5b872deb4 Raj test commit 2007-02-02 14:41:28 -05:00
Mathieu Lacage 93e09980bf add implementation comment 2007-02-02 20:02:34 +01:00
Mathieu Lacage f9030af5e2 optimize Time::Get methods 2007-02-02 19:40:03 +01:00
Mathieu Lacage 886629f871 optimize Time arithmetic operations. 2007-02-02 19:37:16 +01:00
Mathieu Lacage 1d3cf64970 fix trace output 2007-02-02 19:29:55 +01:00
Mathieu Lacage 29c1bbdde3 added useless Time::Seconds method when doing testing for the removal of the Seconds class. Remove it. 2007-02-02 19:14:16 +01:00
Mathieu Lacage ec65cc9890 add a few more tests for the Time class 2007-02-02 15:39:47 +01:00
Tom Henderson 81fe64e129 Initial simple.tcl file 2007-02-02 00:04:48 -08:00
Mathieu Lacage ebe99a4afb fix EventId::IsExpired and Simulator::IsExpired, add EventId::IsRunning, add relevant tests, replace Seconds, MilliSeconds, MicroSeconds, and, NanoSeconds classes by functions named similarly 2007-02-01 18:52:55 +01:00
Mathieu Lacage 78158a2f63 Make tags more robust with regard to lack of tag registration 2007-02-01 18:50:58 +01:00
Mathieu Lacage 13fa6c4b30 allow you to specify extra link flags for each module 2007-02-01 18:50:19 +01:00
Mathieu Lacage c3e13dd000 add ns3::Ptr<T>::operator * with a few tests 2007-01-31 20:14:23 +01:00
Mathieu Lacage 7ba8b1f96a add smart pointer sample code 2006-12-22 09:03:09 +01:00
Mathieu Lacage 8e275d37db more tests, fix bugs uncovered by tests 2006-12-18 14:25:33 +01:00
Mathieu Lacage 3286eef3d0 smart pointer tests. no bugs for now 2006-12-18 13:28:29 +01:00
Mathieu Lacage 8dc4187425 initial go at smart pointer implementation 2006-12-18 13:17:08 +01:00
Mathieu Lacage a29fa8b3fe make Heap scheduler remove operation first perform a linear search to find the target location and then perform a correct remove through a top-down heapification 2006-12-18 11:39:48 +01:00
Mathieu Lacage 724be50e0c make sure we reset the simulator configuration for each run 2006-12-15 13:51:56 +01:00
Mathieu Lacage b87c67a1e2 add command-line options to simulator benchmark 2006-12-15 10:19:49 +01:00
Mathieu Lacage aac57d27e4 remove now unused internal iterator from EventImpl class 2006-12-15 10:08:22 +01:00
Mathieu Lacage 6c5e8e3803 remove empty tests 2006-12-15 10:06:55 +01:00
Mathieu Lacage 77d6547de1 make the event replay code actually work. Stop using deques and use std::vector instead. plus a bunch of other fixes to deal correctly with removes 2006-12-15 10:05:28 +01:00
Mathieu Lacage 32f5b36fe2 We need to make sure that the uid of the first event generated is different from the uid of the simulator when no events have yet been run. 2006-12-15 10:01:23 +01:00
Mathieu Lacage bae3db8549 allow the user to specify microseconds and nanoseconds in 64bit units. 2006-12-13 15:20:03 +01:00
Mathieu Lacage e2caaf8a99 Log format is defined in units of nano seconds rather than seconds. 2006-12-13 15:19:06 +01:00
Mathieu Lacage 09da9fe4ef fix the Simulation event replayer: make it build 2006-12-12 14:59:13 +01:00
Mathieu Lacage 8078499184 optmize std::map comparison 2006-12-12 14:41:52 +01:00
Mathieu Lacage 0dbc2c551f optmize binary heap comparison 2006-12-12 14:41:39 +01:00
Mathieu Lacage 3c59553eef optimize other all comparison operators 2006-12-12 14:31:16 +01:00