Commit Graph

178 Commits

Author SHA1 Message Date
Mathieu Lacage
f3e77eea3d fix bug 122: get rid of duplicate argument to QueryInterface 2008-01-02 09:25:31 +01:00
Mathieu Lacage
6b0e717a19 add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>. 2008-01-02 09:09:24 +01:00
Tom Henderson
c3cbbcacd7 Add src/common/error-model implementation and example script, and add to NetDevices 2007-11-14 20:40:05 -08:00
Tom Henderson
e5241d93e5 back out unrelated changes 2007-10-13 15:10:23 -07:00
Tom Henderson
6804f40bc4 Clarify pkt-uid field in doxygen 2007-10-13 15:06:35 -07:00
Tom Henderson
f5513abfc8 Reverting a few OLSR changes that leaked into simple-point-to-point.cc 2007-10-12 21:28:02 -07:00
Tom Henderson
c96ad24a35 Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc 2007-10-06 21:21:07 -07:00
Craig Dowell
73e9110b64 branch merge 2007-10-12 12:31:29 -07:00
Gustavo J. A. M. Carneiro
eb4e4b6b05 Enable ASCII tracing unconditionally, now that the associated problem is fixed in OLSR. 2007-09-26 18:28:42 +01:00
Gustavo J. A. M. Carneiro
1f6d0347cc Update OLSR example. 2007-09-21 14:28:05 +01:00
Gustavo J. A. M. Carneiro
0826d6de53 merge with ns-3-dev 2007-09-21 13:59:03 +01:00
Tom Henderson
e26b497ccc Add PacketSink to receive multicast 2007-09-14 16:23:49 -07:00
Tom Henderson
5e49ae47a9 change port number used by example scripts to 'discard' or 'echo' instead of '80' 2007-09-14 16:17:10 -07:00
Tom Henderson
7bf7f4bbe5 add PacketSinks, change port number to UDP discard port, fix comment on onoff-application, delete logic for setting a default route 2007-09-14 15:57:49 -07:00
Tom Henderson
b310b6745d Revert accidental tweaks of example files (not intended for checkin) 2007-09-14 14:52:09 -07:00
Tom Henderson
9ef345f02d Enable enqueue/dequeue tracing for point-to-point links 2007-09-14 14:42:31 -07:00
Craig Dowell
90b02a4f6c checkpoint debug to log 2007-09-13 17:47:42 -07:00
Craig Dowell
873176a3e6 add tutorial directory and hello-simulator 2007-09-13 11:04:47 -07:00
Craig Dowell
6c30d76401 merge with trunk 2007-09-13 10:53:24 -07:00
Craig Dowell
9bc6fe4e7a finish up basic echo apps 2007-09-13 10:52:41 -07:00
Gustavo J. A. M. Carneiro
013a31afdb merge 2007-09-13 15:31:55 +01:00
Tom Henderson
57b0050ae7 change NS_DEBUG component name in simple-point-to-point.cc 2007-09-12 21:32:26 -07:00
Craig Dowell
61a105af21 working one way echo app 2007-09-12 16:54:21 -07:00
Craig Dowell
0e3ff45eb9 server half 2007-09-12 16:20:07 -07:00
Craig Dowell
77e7c6f60f start of udp echo applications 2007-09-12 15:23:25 -07:00
Gustavo J. A. M. Carneiro
d09deab2f1 Adapt OLSR to routing API changes 2007-09-12 18:28:18 +01:00
Gustavo J. A. M. Carneiro
3e77a6301d merge with ns-3-dev 2007-09-12 18:06:09 +01:00
Mathieu Lacage
3e89ecfdf6 rename Euixx to Macxx 2007-09-12 11:39:46 +02:00
Tom Henderson
b13164b2c0 turn off DEBUG on simple-point-to-point 2007-09-11 23:38:18 -07:00
Tom Henderson
28456d5486 branch merge 2007-09-11 22:47:13 -07:00
Tom Henderson
058529526c Remove m_quiet variable, fix copyright 2007-09-11 22:40:04 -07:00
Craig Dowell
49cf104a12 variable unused in optimized build -- fixed via attribute 2007-09-11 19:40:50 -07:00
Craig Dowell
b639466adb turn off debugging flags 2007-09-11 19:11:03 -07:00
Craig Dowell
1cf86b9641 integrating broadcast with multicast and sockets with multiple interfaces required default route for disambiguation 2007-09-11 19:09:49 -07:00
Craig Dowell
f894771e7d socket update broke multicast 2007-09-11 18:29:26 -07:00
Gustavo J. A. M. Carneiro
4a6e5ee331 merge with ns-3-dev 2007-09-11 14:52:15 +01:00
Craig Dowell
b39cf878a0 name changes missed 2007-09-10 15:57:33 -07:00
Craig Dowell
20bf1d71bb merge with trunk 2007-09-10 15:50:07 -07:00
Tom Henderson
7265a5f3c0 adapt some example scripts to use the new PacketSink 2007-09-09 23:24:31 -07:00
Gustavo J. A. M. Carneiro
a08faa038f Stop OLSR simulation after 10 seconds (since OLSR never stops generating events) 2007-09-06 15:18:14 +01:00
Gustavo J. A. M. Carneiro
42189e5c52 Update OLSR code to NS-3 API changes. 2007-09-06 13:34:54 +01:00
Gustavo J. A. M. Carneiro
5631c4d214 merge 2007-09-05 18:42:41 +01:00
Tom Henderson
929e23b74e Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script 2007-09-04 21:26:54 -07:00
Craig Dowell
07fb4b1e5b clarify use of wildcards in multicast routes versus default mulicast routes. 2007-09-04 18:06:06 -07:00
Gustavo J. A. M. Carneiro
0824ceacd9 WAF: as suggested by George, add a bunch of helper waf scripts that call the toplevel waf script, so that it is possible to compile with ./waf from emacs regardless of which buffer you are visiting (the other alternative is to install waf system wide and run 'waf'. 2007-09-08 19:24:39 +01:00
Raj Bhattacharjea
74f9163b24 Remove references to really-simple-point-to-point, fix build 2007-08-28 10:20:13 -04:00
Craig Dowell
551fe6ebc5 real multicast enet addr, more source routes, default multicast route 2007-08-27 23:46:14 -07:00
Craig Dowell
217edad33c add ipv4 methods, remove source multicast route requirement, fix udp socket source address prob 2007-08-24 16:57:54 -07:00
Craig Dowell
89a326ebc5 merge with trunk 2007-08-24 13:29:51 -07:00
George Riley
391b3eef11 Change the protocol stack processing to pass packets by non-const
reference, rather than const reference and value as was previously done.
Also change  the queue semantics to return the packet on a deque, rather
than requiring a packet as a parameter.  The problem with the original
approach was that packet UID's were getting skipped.  The fix handles
the uid properly, and we get sequential packet uid's on the trace file.
2007-08-24 11:44:11 -04:00