Commit Graph

1048 Commits

Author SHA1 Message Date
Peter Barnes
0e685cbdbb Use [[maybe_unused]] attribute directly, instead of NS_UNUSED 2021-12-21 10:32:43 +00:00
Eduardo Almeida
4ebdc0c6c6 Mark deleted ctors and operator= with delete keyword 2021-12-18 15:22:44 -08:00
Tom Henderson
9588ad7fe6 internet: Update Python bindings 2021-12-17 15:46:55 -08:00
Tommaso Pecorella
2d3389005b internet: further NSC cleanup 2021-12-17 13:59:48 -08:00
Chandrakant jena
0510f36078 internet: change NS_ASSERT to NS_TEST_ASSERT* in tests 2021-12-17 19:45:36 +01:00
Tom Henderson
2c19b5b453 internet: Remove Network Simulation Cradle (NSC) 2021-12-10 09:07:03 -08:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Eduardo Almeida
a2efceffb2 Simplify trivial bool statements 2021-11-04 14:19:29 -07:00
Greg Steinbrecher
161c4fa2ce internet: read correct bits when deserializing IPv6 flow label
On line 153, `m_flowLabel` is OR-ed into the LSBs of `vTcFl`, which is then written with `WriteHtonU32` into the buffer. On line 169, `vTcFl` is read out using `ReadNtohU32`, so the byte order should be the same as it was on line 153. However, currently `m_flowLabel` is being assigned the value of `vTcFl` masked by `0xfff00000`.

This commit changes line 177 to read the correct set of 20 bits to recover the original flow label.

One question: Right now, `SetFlowLabel` (and the other setters) don't check that the value is in range, and Serialize doesn't mask them. Should this be fixed? Right now, a large flow label would clobber the traffic class and version fields.
2021-11-04 06:52:21 -07:00
Tommaso Pecorella
4895deeefd internet: further fixes to Doxygen description of callback signatures 2021-10-28 01:34:28 +02:00
Gard Spreemann
f9ac0f0382 Correct typos in Doxygen description of callback signatures 2021-10-27 23:13:32 +00:00
Tom Henderson
1516b8891d internet: Update Python bindings 2021-10-21 16:18:13 -07:00
Tommaso Pecorella
22ca1d332d internet: (fixes #431) ICMPv6 error messages carry packet metadata 2021-10-20 22:21:31 +00:00
Tommaso Pecorella
b7ddd9d3f5 internet: Align RIPng and RIP implementations 2021-10-10 00:54:21 +02:00
Tommaso Pecorella
db1fa07947 internet: Fix RIPng address selection for intermediate nodes 2021-10-10 00:09:49 +02:00
Tommaso Pecorella
ed8d74879a internet: Fix src address selection for localhost 2021-10-10 00:09:00 +02:00
Tommaso Pecorella
24f73cc470 internet: fix icmpv6 test 2021-10-06 23:04:57 +00:00
Gauri Prasad
235732f6af tcp: (fixes #410) Fix TCP Westwood bandwidth estimation bug 2021-09-29 14:06:47 -07:00
Tom Henderson
4e9afa965d bindings: Rescan all APIs 2021-09-27 11:18:37 -07:00
Aditya Chirania
3eecf5162c tcp: (fixes #407) Align TcpCubic::GetSsThresh() with Linux 2021-09-13 09:12:52 +05:30
cbowers1020
b529897c6c Fix Duplicate detection for ipv4 l3 multicast 2021-08-30 19:52:04 +00:00
Ameya Deshpande
7be87100a9 nix-vector-routing: Handle Multiple Wifi connections with same channel object
Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-08-26 21:09:11 +00:00
Ameya Deshpande
3294de1479 internet: Make similar functions in IPv4 and IPv6 consistent with naming 2021-08-09 16:42:23 +00:00
Tom Henderson
667715cac4 bindings: Rescan all APIs 2021-06-24 16:35:40 -07:00
Vivek Jain
ea745ff59e tcp: fix BBR doxygen warnings 2021-06-22 12:08:28 -07:00
Vivek Jain
779fe3d42b tcp: trace BBR mode using literal array 2021-06-22 12:08:28 -07:00
adityachirania
2bb66a2006 tcp: Fixes division by zero run time error in tcp-linux-reno 2021-06-10 11:46:00 +05:30
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
4b0a0339dc tcp: Initialize startup variables 2021-06-07 14:51:13 -07:00
Chetan Agrawal
9f10b78c43 tcp: Modify tcp bbr to align with Linux
Co-authored-by: Siddharth Singh <siddharth12375@gmail.com>
2021-06-07 14:51:13 -07:00
Vivek Jain
ded96e95d8 tcp: Add BBR test suite 2021-06-07 14:51:13 -07:00
Vivek Jain
86755f4175 tcp: Added BBR Congestion control 2021-06-07 14:51:13 -07:00
Vivek Jain
b8ba1b70cb tcp: Added windowed filter to track min/max windowed values 2021-06-07 14:51:13 -07:00
Tommaso Pecorella
c1cf29c57d internet: add NdiscCache::Entry::GetIpv6Address 2021-05-13 15:28:27 +00:00
Tommaso Pecorella
b2f6f40241 internet: print Id and SeqNo for Icmpv6Echo 2021-05-10 22:57:17 +00:00
Tommaso Pecorella
337a67c818 internet: doxygen fix 2021-05-09 21:34:15 +00:00
Tommaso Pecorella
fded01ad4f internet: (partially fix #384) add IPv6 reachability hint function 2021-05-09 12:09:42 +02:00
Tommaso Pecorella
fa68baa2f0 internet: fix doxygen warnings and tweak tests 2021-05-01 18:53:56 +02:00
Tommaso Pecorella
21fb224e8a internet: fix doxygen warnings 2021-05-01 04:14:27 +02:00
Vivek Jain
26f264bda4 tcp: Fix sphinx warnings 2021-04-15 14:25:33 +00:00
Tommaso Pecorella
3faf844243 internet: Fix forged RS creation. 2021-04-13 20:32:07 +00:00
Tommaso Pecorella
f0c3538072 internet: (fixes #374) TCP - assume RTT is 1us if TS opt. is zero 2021-04-13 13:03:04 +00:00
Tommaso Pecorella
8d4e5772c8 internet: (fixes #385) IPv6 NA are now sent directly by the NetDevice 2021-04-10 01:38:42 +00:00
Tommaso Pecorella
3f10d20f39 internet: (fixes #376) remove sgi::hash_map 2021-04-04 01:36:26 +02:00
Tom Henderson
692b9c9dbf internet: Update Python bindings 2021-03-19 07:50:07 -07:00
Tom Henderson
cf5ec034a9 internet: Fix documentation typos 2021-03-19 06:09:25 -07:00
Tommaso Pecorella
2ef9763ef5 internet-apps: add a test for radvd (checks also on-link addresses)
Update documentation to reflect latest changes
2021-03-19 01:11:00 +00:00