Gabriel Ferreira
41aacec626
build: CMake refactoring
...
Includes:
- refactor build_lib and build_lib_example macros
- unify src and contrib macros
- replace macro with function not to leak definitions
- parse list of arguments
- different cmake-format file for modules to list one item per line
2022-01-28 10:20:18 -03:00
Akash Mondal
bd7a35f821
internet: fix errors in IPv6 Path MTU discovery.
2022-01-26 23:42:10 +00:00
Gabriel Ferreira
9342082c53
bindings, build: fix bindings and visualizer build
...
Includes:
- scan python scripts
- run python scripts from ns3
- replace visualizer file copy with configure_file to prevent cmake refreshes
- replace ns__init__.py file copy with configure_file to prevent cmake refreshes
- fix bindings scanning with cmake
- pass include directories to modulegen for castxml consumption
- add missing parameters of Recv in python-unit-tests.py
- change apiscan targets from apiscan-module to libmodule-apiscan
- change bindings targets from module-bingings to libmodule-bindings
- scanning and bindings build tests
- scan scratch python scripts
- replace FindPython3 with FindPython to be compatible with CMake 3.10
- do not export private visual-simulator-impl.h
- do not export udp-socket-impl.h
- use .so suffix for bindings on Mac instead of .dylib
2022-01-26 01:53:28 -03:00
Gabriel Ferreira
33f2ee841b
doc: update ns3 API
2022-01-19 16:25:03 -03:00
Gabriel Ferreira
66ef21189e
internet: Replace m_node->GetObject<Ipv4> with Ptr (this)
2022-01-15 01:09:28 +00:00
Gabriel Ferreira
56f35c5f25
internet: Only make packet copies when there is a connected trace
2022-01-15 01:09:28 +00:00
Tommaso Pecorella
247a597f43
doxygen: fix warnings in various modules
2022-01-07 12:13:17 -06:00
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