Commit Graph

517 Commits

Author SHA1 Message Date
Tommaso Pecorella
41992a8918 network: Simplify and trim down NixVector 2022-04-02 12:08:53 +02:00
Tommaso Pecorella
a08961be42 nix-vector-routing: (fixes #567) Rebuild NixVector if topology changes 2022-04-02 11:57:03 +02:00
Gabriel Arrobo
10d4dd2023 network: Remove unnecessary casts 2022-03-14 12:29:24 -07:00
Eduardo Almeida
a4d174f8bf core (fixes #565): Change TypeId constructor to accept std::string 2022-02-25 12:08:10 +00: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
Tom Henderson
5367f1fed7 bindings: Rescan APIs of most modules 2022-02-16 15:59:27 -08:00
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
Gabriel Ferreira
44d311cd3b network: Add function to check if a queue would overflow 2022-01-15 01:09:28 +00:00
Tommaso Pecorella
a8fc1b6235 doxygen: fix warnings in various modules 2022-01-05 00:22:31 -06:00
Peter Barnes
0e685cbdbb Use [[maybe_unused]] attribute directly, instead of NS_UNUSED 2021-12-21 10:32:43 +00:00
Tom Henderson
aad79536bf bindings: Rescan all APIs 2021-12-18 16:41:52 -08:00
Eduardo Almeida
4ebdc0c6c6 Mark deleted ctors and operator= with delete keyword 2021-12-18 15:22:44 -08:00
Stefano Avallone
7fd2d476ba traffic-control: Allow to disable flow control for devices supporting it 2021-12-17 17:47:07 +01:00
Tommaso Pecorella
deaec64d36 core: remove NS_TEST_*_INTERNAL 2021-12-09 01:25:52 +00: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
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Gabriel Ferreira
a4b86694f8 Missing headers and forward declarations 2021-12-01 12:29:55 -08:00
Eduardo Almeida
a2efceffb2 Simplify trivial bool statements 2021-11-04 14:19:29 -07:00
Tom Henderson
d8ed317f2d network: Fix Doxygen error 2021-09-18 11:21:15 -07:00
Alexander Krotov
ae87cd35f9 network: Move empty zero area to the end of buffer if needed
If the first buffer has empty zero area, it can
be moved to the end of the buffer and concatenated to the
zero area of the added buffer instead of falling back
to the slow path.
2021-09-13 10:29:49 -07:00
Gabriel Ferreira
bc42c61530 network: simplify CheckNoZero 2021-09-09 16:46:34 -07:00
Tom Henderson
a58ea7c633 core,network,wifi,wave: Update Python bindings 2021-07-31 09:49:27 -07:00
Tom Henderson
73c106911d network: Remove deprecated methods 2021-07-31 07:48:30 -07:00
Stefano Avallone
2492614707 Variable length arrays are not supported by C++ 2021-07-22 07:29:42 +00:00
Tom Henderson
667715cac4 bindings: Rescan all APIs 2021-06-24 16:35:40 -07:00
Tommaso Pecorella
4aae49c568 network: Bit serialization and deserialization 2021-06-16 08:10:52 +00:00
Tom Henderson
10ef08140a network: (fixes #404) Use Queue::Dispose() for SimpleNetDevice::DoDispose() 2021-05-22 13:43:29 -07:00
Tom Henderson
f34d4c5025 network: Add Queue::DoDispose method 2021-05-22 13:41:33 -07:00
Tommaso Pecorella
30bf1d3f76 network: add Ipv6Prefix to Ipv6Address conversion 2021-05-13 15:11:03 +00:00
Tommaso Pecorella
324644f86e doxygen: fix warnings in network, mobility 2021-05-02 21:42:55 +02:00
Tommaso Pecorella
1a095cda5b network: fix doxygen warnings 2021-05-01 04:13:49 +02:00
Alessandro Aimi
4404c451e4 network: (fixes #393) Add support for DLT_LORATAP DataLinkType to Pcap files 2021-04-30 15:32:20 +00:00
Ameya Deshpande
705ad52930 network: (fixes #372) Remove std::unary_function
Remove `std::unary_function` usage from `Ipv*AddressHash`.
Use std::hash instead of class Hash (in ns-3). This is because
speed is more important than cryptographic robustness.

Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com>
2021-04-06 13:38:17 +00:00
Tommaso Pecorella
3f10d20f39 internet: (fixes #376) remove sgi::hash_map 2021-04-04 01:36:26 +02:00
Chappidi Yoga Satwik
f5c7f86e2e network: (merges !522) DataRate operators for more types
* Add, subtract, multiply an integer to DataRate object
* Add, subtract between DataRate objects themselves
* Multiplication between double value and DataRate
* Documentation and test improvements
2021-03-12 20:36:58 +00:00
Stefano Avallone
999b2ac02f network: Queue::DoEnqueue can return an iterator pointing to the inserted item 2021-01-20 12:27:16 +01:00
Tommaso Pecorella
314bc4f691 network: IPv6Address optimizations 2021-01-16 04:20:38 +00:00
Tommaso Pecorella
a436ba44e4 network: add IPv6 SLAAC from prefix 2021-01-15 23:01:38 +00:00
Tom Henderson
95ab2bef3a network: Initialize class members 2021-01-02 15:05:24 -08:00
Tommaso Pecorella
4003c0a300 network: fix memory leak in a test (2)
Bugs are like cherries: they come in pairs.
2021-01-01 19:15:22 +00:00
Tommaso Pecorella
038fcfede3 network: fix memory leak in a test 2021-01-01 17:33:37 +00:00
Tom Henderson
4a661dc399 bindings: Rescan all APIs 2020-12-30 14:21:24 -08:00
Tom Henderson
6002d927bc bindings: Rescan all APIs 2020-12-21 21:18:58 -08:00
Tom Henderson
9b0e632ac1 network: Rescan APIs 2020-11-18 19:24:48 -08:00
Sébastien Deronne
77beef48af network: Add references for radiotap headers 2020-11-15 20:23:10 +01:00
Sébastien Deronne
ed83b8fa3b wifi: Add initial support for HE MU and HE MU Other User fields in radiotap header 2020-11-15 18:37:13 +00:00
Sébastien Deronne
2e22c3da6b wifi: Add PCAP support for HE MU and HE TB PPDUs 2020-11-15 18:37:13 +00:00
Tom Henderson
9bfa3bd724 bindings: Rescan all APIs 2020-10-03 14:21:45 -07:00
Tom Henderson
7caff4e9f2 network: Update documentation regarding the removal of tag size limits 2020-10-03 07:34:49 -07:00