Commit Graph

263 Commits

Author SHA1 Message Date
Eduardo Almeida
dfc6fb9d2d Remove emacs comment from C++ files 2022-10-14 14:13:12 +00:00
Eduardo Almeida
453dd70612 core, internet, sixlowpan: Declare unused variables as [[maybe_unused]] 2022-10-14 13:51:50 +00:00
Gabriel Ferreira
67c512c3ef internet, sixlowpan: use win32-internet.h as an alternative to netinet/in.h and sys/socket.h 2022-10-10 20:09:59 -03:00
Eduardo Almeida
e25ff966fe Apply clang-format to codebase 2022-10-07 20:08:35 +00:00
Eduardo Almeida
ebb596910c Fix remaining clang-tidy warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
c1e7757315 Fix clang-tidy readability-isolate-declaration warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
f65238a0db Fix clang-tidy readability-string-compare warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
1b78ecc117 Fix clang-tidy readability-braces-around-statements warnings 2022-10-07 11:48:11 +00:00
Eduardo Almeida
4af0fe4b85 Fix clang-tidy modernize-use-nullptr warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
be07b6487a Fix clang-tidy modernize-use-override warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562 Fix clang-tidy modernize-redundant-void-arg warnings 2022-10-07 11:48:10 +00:00
Eduardo Almeida
bdf80a8f85 Fix clang-tidy bugprone-too-small-loop-variable warnings (fixes #758) 2022-10-06 10:56:47 +00:00
Eduardo Almeida
820ad760b8 Fix clang-tidy readability-redundant-control-flow warnings 2022-09-29 20:06:57 +01:00
Zhiheng Dong
90d6e08bb4 internet: GSoC-22 update automatic ARP/NDISC cache when network changes 2022-09-17 12:25:29 +00:00
Zhiheng Dong
87fb2ddcbf internet: GSoC-22 generate ARP/NDISC cache automatically 2022-09-02 00:47:17 +00:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Eduardo Almeida
3a8585befe tcp: Fix tcp-rto-test assert messages 2022-02-28 08:21:52 -08:00
Eduardo Almeida
a3e63cc706 tcp: Clean up tcp-rto-test.cc, tcp-slow-start-test.cc and tcp-cong-avoid-test.cc 2022-02-28 07:43:02 -08:00
Eduardo Almeida
bd46c2c0b6 tcp (fixes #531): TcpWestwood divide-by-zero and floating point issues
- Change TcpWestwood::EstimateBW trace source from double to DataRate.
- Prevent divide-by-zero from occurring.
- Remove TcpWestwood from tcp-rto-test.cc, tcp-cong-avoid-test.cc, tcp-slow-start-test.cc.
- Add warning that currently TcpWestwood does not have unit tests.
2022-02-28 07:42:07 -08:00
Akash Mondal
bd7a35f821 internet: fix errors in IPv6 Path MTU discovery. 2022-01-26 23:42:10 +00:00
Peter Barnes
0e685cbdbb Use [[maybe_unused]] attribute directly, instead of NS_UNUSED 2021-12-21 10:32:43 +00:00
Chandrakant jena
0510f36078 internet: change NS_ASSERT to NS_TEST_ASSERT* in tests 2021-12-17 19:45:36 +01:00
Tommaso Pecorella
24f73cc470 internet: fix icmpv6 test 2021-10-06 23:04:57 +00:00
cbowers1020
b529897c6c Fix Duplicate detection for ipv4 l3 multicast 2021-08-30 19:52:04 +00:00
Vivek Jain
ea745ff59e tcp: fix BBR doxygen warnings 2021-06-22 12:08:28 -07:00
Vivek Jain
f0b7deab3d tcp: Fix BBR code for optimized compilation mode 2021-06-08 09:34:19 -07:00
Mohit P. Tahiliani
490a1b83e4 tcp: Documentation and minor fixes for BBR 2021-06-07 14:51:13 -07:00
Vivek Jain
ded96e95d8 tcp: Add BBR test suite 2021-06-07 14:51:13 -07:00
Tommaso Pecorella
fa68baa2f0 internet: fix doxygen warnings and tweak tests 2021-05-01 18:53:56 +02:00
Tommaso Pecorella
52e918eb8e internet: enforce the effects of the on-link flag in RA 2021-03-19 01:11:00 +00:00
Tom Henderson
af06552ee2 tcp: Update tcp-dctcp-test 2020-12-22 16:35:48 -08:00
Tom Henderson
ee712cfb02 tcp: Remove TcpCongestionOps::ReduceCwnd method 2020-12-22 08:23:30 -08:00
Tom Henderson
993226f55b tcp: Add CWR state for the recovery phase after ECN-Echo (ECE) 2020-12-22 08:23:30 -08:00
Peter D. Barnes, Jr
52d0368ad9 internet: time arithmetic 2020-12-14 03:42:14 +01:00
Xiuchao Wu
ee70f4502b tcp: (merges !367) Stop to merge items whose m_lost values are different 2020-09-27 21:30:56 -07:00
Deepak Kumaraswamy
3552db04ce tcp: Add dynamic pacing implementation based on Linux internal pacing
Includes contributions from Tom Henderson, Vivek Jain, and Viyom Mittal
2020-08-31 08:54:32 -07:00
Apoorva Bhargava
10c082506a tcp: Add TcpLinuxReno congestion model 2020-08-06 09:13:53 -07:00
Tom Henderson
8fcacef735 tcp: Fix some issues with test code that splits acks 2020-07-27 12:33:28 -07:00
Tom Henderson
e186fef3fe tcp: Doxygen improvements 2020-07-21 09:18:55 -07:00
Tom Henderson
14c97d2472 tcp: TcpTxBuffer is an ns3::Object 2020-06-14 13:52:56 -07:00
Tom Henderson
c9b96134b1 tcp: (fixes !157) Prevent sending outside receiver window
According to RFC 6675, the NextSeg() method should return the range of
sequence space to transmit, not just the starting sequence number.  The
method should also check the available receiver window.  This changeset
extends NextSeg() to return the valid range of sequence numbers to send,
and makes the receiver window value available to the TcpTxBuffer object.
2020-06-14 11:47:08 -07:00
Tom Henderson
a06405f698 tcp: Add test for previous commit (MR !156) 2020-06-13 16:07:32 -07:00
Peter Barnes
852a612c33 core: avoid implicit Time conversions 2020-06-03 18:13:09 +00:00
Tom Henderson
edd67b60f9 internet: Add ECN test case for SYN retransmission test 2020-06-01 08:00:18 -07:00
Alexander Krotov
68bb36d5fa internet: test for connection failure due to SYN retransmissions
This commit adds a test that checks that
NotifyConnectionFailed is called when the number of SYN retransmissions
is exceeded.
2020-06-01 06:54:12 -07:00
Tommaso Pecorella
136c71a36f internet: fix failing test 2020-05-27 04:12:38 +02:00
Jared Dulmage
1a4caf72b9 (internet): Refactor Ipv4L3Protocol::Send to fragment broadcast packets 2020-05-12 11:43:51 +02:00
Tommaso Pecorella
5f8291006d (internet): IPv6 Duplicate Address Detection (DAD) must use Solicited-Node multicast address 2020-05-01 14:21:04 +00:00