Gustavo J. A. M. Carneiro
e077a60080
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
af2a06374f
Remove a redundant log message
2007-09-21 18:07:54 +01:00
Gustavo J. A. M. Carneiro
c887d8b48a
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
3b1b774105
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
fd07fd46c2
change ephemeral port range to 49152-65535 (IANA recommendation)
2007-09-14 16:11:36 -07:00
Tom Henderson
926228e252
remove local address setting from UdpSocket::Connect()
2007-09-14 15:46:04 -07:00
Craig Dowell
611d0d35f1
debug to log
2007-09-13 21:36:32 -07:00
Craig Dowell
a6ce4afe48
checkpoint debug to log
2007-09-13 17:47:42 -07:00
Craig Dowell
3a25b22477
merge with trunk
2007-09-13 10:53:24 -07:00
Craig Dowell
77ca76e8e9
start of udp echo applications
...
--HG--
rename : src/applications/onoff-application.cc => src/applications/onoff/onoff-application.cc
rename : src/applications/onoff-application.h => src/applications/onoff/onoff-application.h
rename : src/applications/packet-sink.cc => src/applications/packet-sink/packet-sink.cc
rename : src/applications/packet-sink.h => src/applications/packet-sink/packet-sink.h
2007-09-12 15:23:25 -07:00
Mathieu Lacage
7432de4aad
rename Euixx to Macxx
...
--HG--
rename : src/node/eui48-address.cc => src/node/mac48-address.cc
rename : src/node/eui48-address.h => src/node/mac48-address.h
rename : src/node/eui64-address.cc => src/node/mac64-address.cc
rename : src/node/eui64-address.h => src/node/mac64-address.h
2007-09-12 11:39:46 +02:00
Craig Dowell
3ec50ec148
socket update broke multicast
2007-09-11 18:29:26 -07:00
Craig Dowell
d0fcfb2c2e
merge with trunk again
2007-09-11 12:20:09 -07:00
Mathieu Lacage
b12ddbffe5
merge tracing overhaul in trunk
2007-09-11 12:11:00 +02:00
Craig Dowell
6961ddf5b5
name changes missed
2007-09-10 15:57:33 -07:00
Craig Dowell
523ba63c99
merge with trunk
2007-09-10 15:50:07 -07:00
Craig Dowell
11571be661
readme file includes APIs
2007-09-06 15:57:53 -07:00
Tom Henderson
97df9062ef
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
a216cf1624
clarify use of wildcards in multicast routes versus default mulicast routes.
2007-09-04 18:06:06 -07:00
Craig Dowell
01e2206286
Don't flood multicasts if no route found
2007-09-04 15:10:47 -07:00
Craig Dowell
9b75e7987b
piles of doxygen, changes to SetDefaultMulticastRoute plumbing
2007-09-04 14:38:40 -07:00
Tom Henderson
e8f289a705
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
8f13030ade
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
16984a935c
make sure that l4 protocols are correctly registered within the tracing namespace
2007-08-30 15:14:26 +02:00
Mathieu Lacage
697a3aa2b4
add doxygen for each TraceSourceElement subclass
2007-08-30 14:54:05 +02:00
Mathieu Lacage
c0ac2a19c6
GetName -> GetTypeName
2007-08-30 14:35:44 +02:00
Craig Dowell
a8a76bf784
Move MakeMulticastAddress to NetDevice
2007-08-29 12:11:11 -07:00
Mathieu Lacage
c85f578bde
backout 9856d1175cbb:642d6798feaa:27dd3e15308a
2007-08-29 09:35:53 +02:00
Mathieu Lacage
f87f5e6b4f
avoid method naming ambiguity in CompositeTraceResolver
2007-08-28 15:59:49 +02:00
George Riley
6b0876514e
Reconcile changes with Mathieu's latest
2007-08-28 09:55:21 -04:00
Mathieu Lacage
7c4e277f6d
add doxygen documentation and rename TraceContext::Get to TraceContext::GetElement
2007-08-28 14:51:13 +02:00
Mathieu Lacage
726d998910
constify
2007-08-28 14:33:53 +02:00
Mathieu Lacage
e84bc0863f
merge with trunk
2007-08-28 14:10:54 +02:00
Mathieu Lacage
fa3f86cbde
document trace source signatures
2007-08-28 13:10:18 +02:00
Mathieu Lacage
98a3dc2490
constify
2007-08-28 13:03:08 +02:00
Mathieu Lacage
bcf1aa1f33
merge with trunk
...
--HG--
rename : src/devices/csma-cd/csma-cd-net-device.cc => src/devices/csma/csma-net-device.cc
rename : src/devices/csma-cd/csma-cd-net-device.h => src/devices/csma/csma-net-device.h
2007-08-28 12:05:35 +02:00
Mathieu Lacage
a321dcd1c8
keep track of trace source help strings
2007-08-28 11:01:00 +02:00
Craig Dowell
e3bb600840
real multicast enet addr, more source routes, default multicast route
2007-08-27 23:46:14 -07:00
Mathieu Lacage
e2ee92d07f
remove dead code
2007-08-27 15:07:39 +02:00
Mathieu Lacage
36b572607e
add TraceContextElement::GetName method
2007-08-27 14:59:50 +02:00
Mathieu Lacage
b7f0debe92
remove TraceRoot
2007-08-27 13:36:40 +02:00
Craig Dowell
c566eebcd0
semi-real multicast hardware addresses
2007-08-24 17:38:49 -07:00
Craig Dowell
8506148420
add ipv4 methods, remove source multicast route requirement, fix udp socket source address prob
2007-08-24 16:57:54 -07:00
George Riley
feb08acc56
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
ef3b64610b
branch merge
2007-08-20 13:40:15 -07:00
Tom Henderson
6f73afb5e3
restore ns-2 .tr format
2007-08-13 22:53:20 -07:00
Craig Dowell
9e698df2c0
set source IP address in udp-socket packets
2007-08-13 19:54:47 -07:00
Craig Dowell
5b2c17667c
set source address in socket
2007-08-13 16:21:39 -07:00
Craig Dowell
b2ee3ded9b
more multicast plumbing
2007-08-13 12:08:01 -07:00
Craig Dowell
6520f1335a
many debug prints
2007-08-12 22:41:24 -07:00