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
Pavinberg
4d2bf393fc
internet: Fix index checking in Ipv[4,6]ListRouting::GetRoutingProtocol
2022-10-13 15:26:53 +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
Gabriel Ferreira
a29d8ad552
internet: add win32-internet.h internet header wrapper
...
Undefines colliding symbols defined in winsock2.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
f87b53bbc5
Fix clang-tidy modernize-use-emplace 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
4c318dde52
Fix missing includes
2022-10-06 20:41:07 +00:00
Eduardo Almeida
3e39cb0724
Fix formatting of some files before clang-format application
2022-10-06 20:41:07 +00:00
Eduardo Almeida
3d9e2d39b7
doc: Convert tabs to spaces
2022-10-06 19:49:38 +00:00
Eduardo Almeida
bdf80a8f85
Fix clang-tidy bugprone-too-small-loop-variable warnings ( fixes #758 )
2022-10-06 10:56:47 +00:00
Tommaso Pecorella
30bade8812
internet: add NotifyConnection[Succeeded,Failed] to Ipv[4,6]RawScocket
2022-10-05 08:54:46 +02:00
Zhiheng Dong
97791cc7e5
internet: (merges !1035 ) Fix wrong if statement in Icmpv6L4Protocol
2022-10-02 11:12:19 -07:00
Eduardo Almeida
820ad760b8
Fix clang-tidy readability-redundant-control-flow warnings
2022-09-29 20:06:57 +01:00
Eduardo Almeida
56d6ad67e3
tcp: Fix clang-tidy misc-redundant-expression warning
2022-09-29 16:01:17 +00:00
Zhiheng Dong
90d6e08bb4
internet: GSoC-22 update automatic ARP/NDISC cache when network changes
2022-09-17 12:25:29 +00:00
Tommaso Pecorella
1c240ca80a
internet: some optimizations to GlobalRouting
2022-09-10 00:04:48 +02:00
Stefano Avallone
3e20515664
core: Use std::function to implement callbacks
2022-09-02 19:04:38 +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
c9b72c7a35
doc: remove trailing white space in attributes and trace source strings
2022-08-30 20:30:42 +00:00
Tommaso Pecorella
c04254fc75
core: ( fixes #705 ) prevents GCC 12 warnings
2022-08-18 17:53:33 +00:00
Peter D. Barnes, Jr
e461e54d5a
Update Ptr validity checks to new Ptr<>::operator bool
2022-08-18 08:59:30 -07:00
Tom Henderson
e7abd0f462
internet: ( fixes #716 ) Fix valgrind issues in InternetStackHelper
...
Fix due to Tommaso Pecorella
2022-08-04 17:01:26 -07:00
Gabriel Ferreira
31f71962b7
internet: teardown interface-to-stream maps on Simulation::Destroy
...
This prevents segmentation fault when interfaces are managed by Cppyy-based python bindings
2022-08-01 21:24:02 +00:00
Gabriel Ferreira
c5d0c8efb4
bindings: remove pybindgen bindings sources
2022-08-01 21:24:02 +00:00
Zhiheng Dong
ff53821535
replace unordered_map by map
2022-07-28 04:54:14 +00:00
Zhiheng Dong
4d8f627cb1
internet: update ipv4/6container code example
2022-07-19 22:00:21 +00:00
dzh
e27f66a06e
fix: typo and lack of Get()
2022-07-19 22:00:21 +00:00
Tommaso Pecorella
1dfc512dba
doc: fix doxygen warnings
2022-07-16 21:47:32 -05:00
Tom Henderson
d06de00c4c
internet: Fix documentation typo
2022-07-07 14:40:54 -07:00
Tommaso Pecorella
60449cfbaa
internet: ( fixes #400 ) Adds RS retransmission if no reply
2022-07-02 23:21:09 +00: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
24fe685340
Fix typos in deleted methods
2022-05-31 07:56:34 -07:00
Eduardo Almeida
90c777a65b
Mark deleted constructors and operator= with delete keyword
2022-05-26 18:55:52 -07:00
Tom Henderson
9fbb26f04f
Silence additional compiler warnings about lack of return value
2022-05-14 21:45:42 -07:00
Tom Henderson
a614114865
bindings: Rescan all APIs
2022-04-18 15:30:35 -07:00
Gabriel Arrobo
9beeff24f3
Replace Ptr (this) with this
2022-03-24 11:24:14 -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
Gabriel Ferreira
4aedba2f00
build: CMake refactoring and fixes
...
Includes:
- fix int64x64 parsing order, remove cached entries in macros-and-definitions and in the docs
- update launch.json scratch names
- add a ctest entry per executable
- forward POSIX signal in ns3 (to get segmentation fault)
- prioritize Ninja generator instead of Makefiles
- add tests for unused utils source files
- remove dummy file and add tests to check for unused source files
- add missing examples and clean up unnecessary definitions
- missing feature entry for LTE used by pybindgen
- refactor CMake related filenames
- fix python libraries and include directories bindings
- fix brite example name
- Keep C++ compiler and flags when refreshing
- Disable precompiled headers when Ccache is found
- Mark find_external_library headers as advanced
- consolidate auxiliary files: build-status.py, _cache.py and .lock-waf_sys.platform_build files are merged into .lock-ns3_sys.platform_build
- scan .cc sources used in bindings and update docs
2022-02-21 22:18:42 -03:00
Gabriel Ferreira
e32c177e45
build: remove waf files, tests and references
2022-02-21 22:08:45 -03:00