Commit Graph

187 Commits

Author SHA1 Message Date
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
Mathieu Lacage
b42e00961b add missing call to Simulator::Destroy to cleanup after test 2007-10-10 15:32:04 +02:00
Gustavo J. A. M. Carneiro
bd51ec2c87 Fix a regression in handling of broadcast packets and UDP sockets (closes bug #51). 2007-09-24 11:00:08 +01:00
Gustavo J. A. M. Carneiro
75c461c8f9 Remove a redundant log message 2007-09-21 18:07:54 +01:00
Gustavo J. A. M. Carneiro
6a5e3bf70d Fix a small error in the unit test added recently (though it doesn't change the result) 2007-09-21 15:57:20 +01:00
Gustavo J. A. M. Carneiro
43bb81fd82 Add a couple of Udp socket unit tests: unicast (passing) and broadcast (failing, bug #51). 2007-09-21 15:54:00 +01:00
Tom Henderson
1d79c8dc53 change ephemeral port range to 49152-65535 (IANA recommendation) 2007-09-14 16:11:36 -07:00
Tom Henderson
bba1cb3859 remove local address setting from UdpSocket::Connect() 2007-09-14 15:46:04 -07:00
Craig Dowell
2e1dcf1479 debug to log 2007-09-13 21:36:32 -07:00
Craig Dowell
90b02a4f6c checkpoint debug to log 2007-09-13 17:47:42 -07:00
Craig Dowell
6c30d76401 merge with trunk 2007-09-13 10:53:24 -07:00
Craig Dowell
77e7c6f60f start of udp echo applications 2007-09-12 15:23:25 -07:00
Mathieu Lacage
3e89ecfdf6 rename Euixx to Macxx 2007-09-12 11:39:46 +02:00
Craig Dowell
f894771e7d socket update broke multicast 2007-09-11 18:29:26 -07:00
Craig Dowell
451a4762df merge with trunk again 2007-09-11 12:20:09 -07:00
Mathieu Lacage
8d1ac59134 merge tracing overhaul in trunk 2007-09-11 12:11:00 +02: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
Craig Dowell
a39d25f6c1 readme file includes APIs 2007-09-06 15:57:53 -07: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
Craig Dowell
f652969936 Don't flood multicasts if no route found 2007-09-04 15:10:47 -07:00
Craig Dowell
65c0b60e5f piles of doxygen, changes to SetDefaultMulticastRoute plumbing 2007-09-04 14:38:40 -07:00
Tom Henderson
5e7e0d7b2a Fold the two patches for bu6 69 together, building on the bug 65 patch 2007-09-03 23:32:23 -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
Mathieu Lacage
5883e3db52 make sure that l4 protocols are correctly registered within the tracing namespace 2007-08-30 15:14:26 +02:00
Mathieu Lacage
87a9c29cf7 add doxygen for each TraceSourceElement subclass 2007-08-30 14:54:05 +02:00
Mathieu Lacage
3330ba77b1 GetName -> GetTypeName 2007-08-30 14:35:44 +02:00
Craig Dowell
2d73bd9927 Move MakeMulticastAddress to NetDevice 2007-08-29 12:11:11 -07:00
Mathieu Lacage
e20b40ee61 backout 9856d1175cbb:642d6798feaa:27dd3e15308a 2007-08-29 09:35:53 +02:00
Mathieu Lacage
f9a6120685 avoid method naming ambiguity in CompositeTraceResolver 2007-08-28 15:59:49 +02:00
George Riley
979da57982 Reconcile changes with Mathieu's latest 2007-08-28 09:55:21 -04:00
Mathieu Lacage
c384b746f7 add doxygen documentation and rename TraceContext::Get to TraceContext::GetElement 2007-08-28 14:51:13 +02:00
Mathieu Lacage
4d9cf433ff constify 2007-08-28 14:33:53 +02:00
Mathieu Lacage
67b0c98578 merge with trunk 2007-08-28 14:10:54 +02:00
Mathieu Lacage
a5cf22af80 document trace source signatures 2007-08-28 13:10:18 +02:00
Mathieu Lacage
cc6d4c0c06 constify 2007-08-28 13:03:08 +02:00
Mathieu Lacage
04569d27b7 merge with trunk 2007-08-28 12:05:35 +02:00
Mathieu Lacage
8acd0300cd keep track of trace source help strings 2007-08-28 11:01:00 +02:00
Craig Dowell
551fe6ebc5 real multicast enet addr, more source routes, default multicast route 2007-08-27 23:46:14 -07:00
Mathieu Lacage
e366a6eed4 remove dead code 2007-08-27 15:07:39 +02:00
Mathieu Lacage
90c8be1fa3 add TraceContextElement::GetName method 2007-08-27 14:59:50 +02:00
Mathieu Lacage
ccef3f6d9f remove TraceRoot 2007-08-27 13:36:40 +02:00
Craig Dowell
4e486b1f59 semi-real multicast hardware addresses 2007-08-24 17:38:49 -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
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
Craig Dowell
c0b90df335 branch merge 2007-08-20 13:40:15 -07:00
Tom Henderson
ad45701790 restore ns-2 .tr format 2007-08-13 22:53:20 -07:00
Craig Dowell
aecc283cb5 set source IP address in udp-socket packets 2007-08-13 19:54:47 -07:00
Craig Dowell
87c9e523c7 set source address in socket 2007-08-13 16:21:39 -07:00