Commit Graph

9112 Commits

Author SHA1 Message Date
Matthieu Coudron
368aa197c4 Simplify ns3tcp test code used for pcap writing 2015-07-22 01:13:59 +02:00
Matthieu Coudron
2f63edb779 Add SinkWithHeader to PcapHelper 2015-07-22 01:13:06 +02:00
Alina Quereilhac
559d337432 revert changeset 4be177372dc4 (Bug 2119) due to test 'dummy-network' now crashing for OS X 2015-07-20 10:27:31 +02:00
Alina Quereilhac
1b432fecac Bug 2119 - valgrind leaks intermittently reported for fd-net-device dummy-network - Required SimulatorImplementationType to be set to ns3::RealtimeSimulatorImpl 2015-07-15 16:52:16 +02:00
Tom Henderson
34cde13d3f rescan internet bindings 2015-07-13 19:18:49 -07:00
Natale Patriciello
66f58aab5a Documented TCP states, moved enum inside TcpSocket 2015-07-13 17:58:06 -07:00
Natale Patriciello
7f8dc7e404 Window() is now managed inside TcpSocketBase 2015-07-13 17:57:09 -07:00
Natale Patriciello
f228c5c17b Initialize cWnd and ssTh in TcpSocketBase 2015-07-13 17:56:15 -07:00
Natale Patriciello
43051b28c0 Moved cWnd and ssThresh inside TcpSocketBase
These two trace sources are now managed in TcpSocketBase.
2015-07-13 10:02:55 -07:00
Natale Patriciello
5c99689061 TCP flags are now printed using string instead of numbers
This patch improves readability when TCP flags are involved.
2015-07-13 08:26:43 -07:00
Natale Patriciello
8f11338195 TcpHeader can be printed in NS_LOG messages
Implemented the operator << to an output stream.
2015-07-13 08:23:40 -07:00
Natale Patriciello
c489647301 DoForwardUp behavior unified for IPv4 and IPv6
The commit unifies the behavior of DoForwardUp for both IPv4 and IPv6
(previously tagged as duplicated code) by changing the input parameters: from an
{IPv4,IPv6}Header to a couple of address (sender and receiver). Thanks to the
Send() method of TcpL4Protocol which takes in input two Addresses, the behavior
of the method could be unified as in the commit title.
2015-07-13 08:06:38 -07:00
Natale Patriciello
d3f916a917 Addressed comment in CodeReview
SendPacket made private except the one which takes general Address. Some minor
correction on doxygen comments.
2015-07-13 08:05:07 -07:00
Natale Patriciello
3dc863a005 Checked style on TcpL4Protocol 2015-07-13 08:03:44 -07:00
Natale Patriciello
b97b0de553 Const correctness enforced 2015-07-13 08:02:58 -07:00
Natale Patriciello
fdcf89dd53 Duplicated code removed from Receive in TcpL4Protocol
When TcpL4Protocol receive a packet, the methods which handle the management
of the packet itself (for both IPv4 and IPv6) shares a lot of code. Differencies
are only in the endpoint searching; the other operations have been merged in two
protected methods, which are called by the Receive methods.
2015-07-13 07:53:58 -07:00
Natale Patriciello
ec3ff0953b Bug 2132: If no endpoints are found for the incoming packet, the TcpL4Protocol sends an RST packet. However it was not well-formatted (missing right source, destination and ports). 2015-07-13 07:50:47 -07:00
Natale Patriciello
b4e765c5b6 Documentation improvements on TcpL4Protocol 2015-07-13 07:48:39 -07:00
Natale Patriciello
5c66f6fa1f Unused header removed to enable a faster compile process. 2015-07-08 06:58:31 -07:00
Natale Patriciello
dcdbc179fb Thanks to previous commits, now TcpSocketBases uses only public methods on TcpL4Protocol and the friend relation could be removed. 2015-07-08 06:50:00 -07:00
Natale Patriciello
f612ebca1c Instead of directly manage the m_socketList member from TcpSocketBase, interact with it through public methods of TcpL4Protocol. 2015-07-08 06:48:40 -07:00
Natale Patriciello
93ce0ad194 Interface API change. This removes the (unused) Send function, and makes SendPacket (used by TcpSocketBase) a public method of the class TcpL4Protocol. 2015-07-08 06:46:54 -07:00
Tom Henderson
1606c90844 fix noeol in wscript 2015-07-12 07:45:13 -07:00
Sébastien Deronne
173514d457 fix, improve and extend HT capabilities information element 2015-07-11 19:02:02 +02:00
Sébastien Deronne
4ad1a2c90e [wave] Rebuild python bindings 2015-07-11 12:24:01 +02:00
Sébastien Deronne
ac797fccec [mesh] Rebuild python bindings 2015-07-11 12:17:55 +02:00
Sébastien Deronne
198428de10 rebuild bindings 2015-07-11 11:38:29 +02:00
Sébastien Deronne
425490bc54 rename snrDb to signalNoiseDbm 2015-07-11 11:14:24 +02:00
Sébastien Deronne
ce9e786d23 improve readibility of snr values 2015-07-11 00:59:27 +02:00
Peter D. Barnes, Jr.
0ec7a3b9d4 Remove extraneous blank lines from build chatter. 2015-07-09 15:13:34 -07:00
Peter D. Barnes, Jr.
e43b4acbde Restore section label required for cross-linking. 2015-07-09 11:35:37 -07:00
Sébastien Deronne
051d5b1aa1 fix Supported MCS Set field in HT capabilities 2015-07-10 11:50:54 +02:00
Tommaso Pecorella
3d53962700 Bug 1941 - [energy] Remove unnecessary dependency involving energy module 2015-07-03 18:11:05 +02:00
Tommaso Pecorella
b332bce32f Bug 1941 - [wave] Remove unnecessary dependency on Application module 2015-07-08 10:03:53 +02:00
Tommaso Pecorella
270691c72d Bug 1941 - [mesh] Remove unnecessary dependency on Application module 2015-07-09 23:52:12 +02:00
Tommaso Pecorella
435859a64b Bug 1941 - [aodv] Remove unnecessary dependency on Application module 2015-07-03 18:12:25 +02:00
Tommaso Pecorella
3c4d250b4b Bug 1941 - [olsr] Remove unnecessary dependency on Application module 2015-07-03 18:11:59 +02:00
Tommaso Pecorella
1ffa01e505 [wifi] Rebuild python bindings 2015-07-09 22:46:36 +02:00
Sébastien Deronne
b7e891ccfa rename snrDbm to snrDb 2015-07-09 18:20:34 +02:00
Sébastien Deronne
0d5fc14442 add support for HT MCS and A-MPDU in radiotap headers 2015-07-08 23:44:17 +02:00
Vedran Miletić
f1a1922cc0 Silence Clang 3.6+ -Wno-potentially-evaluated-expression warning
Clang 3.6+ warns about "expression with side effects will be evaluated
despite being used as an operand to 'typeid'" if Ptr<> is used as an
argument to typeid(). This changes the code to use raw pointers
instead of Ptr<>.
2015-07-07 22:06:08 +02:00
Sébastien Deronne
7567960935 fix HT capabilities printing in PCAP files 2015-07-02 21:11:24 +02:00
Tommaso Pecorella
d8c14885b2 Bug 2124 - UdpSocketImpl::ShutdownRecv doesn't stop the Ipv[4,6]EndPointDemux 2015-07-02 18:21:44 +02:00
Sébastien Deronne
9e70317df6 remove file execution bit on wifi source files 2015-06-14 22:30:44 +02:00
Nicola Baldo
cf45881bcc fixed Bug 2143 - maybe-uninitialized warning 2015-06-30 18:31:43 +02:00
Peter D. Barnes, Jr.
dfd965e6f8 Revert unintentional change of third.cc trace file names, and remove execute bits.
These were introduced in 11418:4d6051f4166f.

Reported by Tom Henderson
2015-06-26 11:43:48 -07:00
Tom Henderson
0e03b5828f enable wifi module documentation to be built standalone 2015-06-24 21:48:29 -07:00
Tom Henderson
dc3667a937 bug 2125: subclasses must chain up to their base class NotifyNewAggregate() method (patch due to nlmills) 2015-06-24 21:36:15 -07:00
Sébastien Deronne
340437104d fix issue with the delay parameter in test-interference-helper 2015-06-24 18:54:29 +02:00
Matthieu Coudron
5506d60922 Update Waf to 1.8.11
Changes:
* run_c_code() is replaced by check()
* nice_path() got removed, and is replaced by bldpath()
* check_compilation_flag() is updated to work with 1.8 API
2015-06-23 14:32:41 +02:00