Commit Graph

1220 Commits

Author SHA1 Message Date
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
c8d4f578af Call Simulator::Destroy () before running simulator unit tests, to force time to start from zero (some tests check for absolute times) 2007-09-21 18:04:53 +01:00
Gustavo J. A. M. Carneiro
4b242b57c8 Use NS_TEST_* macros for simulator unit tests 2007-09-21 17:57:06 +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
Tom Henderson
9ef345f02d Enable enqueue/dequeue tracing for point-to-point links 2007-09-14 14:42:31 -07:00
Craig Dowell
8649c899db allow discrete levels 2007-09-14 09:57:53 -07:00
Craig Dowell
ed9f98bda1 disable log unless debug build 2007-09-13 22:17:29 -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
16b634a7fc sorting out logging 2007-09-13 12:37:30 -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
Craig Dowell
61a105af21 working one way echo app 2007-09-12 16:54:21 -07:00
Craig Dowell
51a6c25e16 log rides along for free 2007-09-12 16:24:31 -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
Mathieu Lacage
3e89ecfdf6 rename Euixx to Macxx 2007-09-12 11:39:46 +02:00
Mathieu Lacage
644fffd69f merge with trunk 2007-09-12 11:22:32 +02:00
Mathieu Lacage
a84dd0068c enable buffer heuristics 2007-09-12 11:22:05 +02:00
Mathieu Lacage
eb05af8e74 add 'internal' documentation, cleanup a bit 2007-09-12 11:16:18 +02:00
Mathieu Lacage
7c6c5fe445 fix non-optimized build 2007-09-12 10:11:57 +02:00
Mathieu Lacage
191c80211b fix copyright statements 2007-09-12 09:34:38 +02:00
Tom Henderson
28456d5486 branch merge 2007-09-11 22:47:13 -07:00
Tom Henderson
eb99e12003 Copyrights/licenses for routing code 2007-09-11 22:46:29 -07:00
Tom Henderson
058529526c Remove m_quiet variable, fix copyright 2007-09-11 22:40:04 -07: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
Gustavo J. A. M. Carneiro
94743678a9 Use NS_DEBUG instead of NS_DEBUG_UNCOND in PacketSink code. 2007-09-11 15:09:00 +01:00
Mathieu Lacage
6969cf239a optimize Iterator::ReadU8 2007-09-11 15:06:27 +02:00
Mathieu Lacage
2b3b68605e optimize Buffer::WriteU8 variants 2007-09-11 14:56:10 +02:00
Mathieu Lacage
42e6c413b6 optimize Buffer::WriteU8 2007-09-11 14:10:02 +02:00
Mathieu Lacage
4e75362d4b move around Iterator code 2007-09-11 13:53:39 +02:00
Mathieu Lacage
9bbfa99b4c print some statistics about free list efficiency 2007-09-11 13:47:17 +02:00
Mathieu Lacage
1f49f40faa add a few missing doxygen method documentations 2007-09-11 12:42:37 +02:00
Mathieu Lacage
8d1ac59134 merge tracing overhaul in trunk 2007-09-11 12:11:00 +02:00
Mathieu Lacage
cbd6277844 merge with trunk 2007-09-11 10:01:23 +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
Mathieu Lacage
313a167729 we handle gustavo's testcase now. Fix for bug 72 2007-09-10 18:52:48 +02:00
Mathieu Lacage
ca342d8de2 fix buggy assert 2007-09-10 18:49:00 +02:00
Mathieu Lacage
0c2dd78f3b update carefully m_maxZeroAreaSize and update correctly m_end and m_zeroAreaEnd in RemoveAtStart 2007-09-10 18:43:29 +02:00
Mathieu Lacage
3c81d0423e it is possible to zeroAreaStart to be bigger than the data buffer size 2007-09-10 17:55:39 +02:00
Mathieu Lacage
3fcc420e08 CreateFullCopy: the data area at the end of the buffer starts at m_zeroAreaStart. AddAtStart: the assert should be used only when the optimization is enabled. 2007-09-10 17:43:33 +02:00
Mathieu Lacage
65c099c02a max zero area start can be bigger than m_end if data is removed from end of buffer 2007-09-10 16:57:25 +02:00
Mathieu Lacage
c197a4a62c add state checking and fix Buffer::CreateFullCopy 2007-09-10 16:55:26 +02:00
Mathieu Lacage
60fbe881c1 improve debugging output 2007-09-10 16:55:03 +02:00