Commit Graph

535 Commits

Author SHA1 Message Date
Eduardo Almeida
6d2f0f29f6 network: Change NodeContainer constructor to accept multiple NodeContainer arguments 2022-08-22 18:29:00 +01:00
Eduardo Almeida
c54d157c98 network: Move static function in NodeContainer to the top of the class 2022-08-22 14:33:46 +01:00
Eduardo Almeida
2667435873 network: Fix typos and style in node-container.{h,cc} 2022-08-22 14:33:46 +01: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
Eduardo Almeida
180d71b7fa core (fixes #560): Unify TypeNameGet() in type-name.h and traced-value-callback-typedef-test-suite.cc 2022-08-06 21:50:25 +00:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Tolik Zinovyev
81bae65d4a network: (merges !1010) Prevent time overflow in DataRate. 2022-07-11 21:40:54 -07:00
Gabriel Ferreira
60e1e4032c fixing dead links 2022-06-18 17:57:05 -03:00
Stefano Avallone
693517ce0f network: Queue container can hold elements of type different than queue items
It is required that the container defines a public method that transforms
an iterator pointing to a container element into the corresponding queue item.
2022-06-08 15:31:44 +02:00
Stefano Avallone
7c73228e78 network: Remove begin() and end() from Queue class
begin() and end() are not necessarily meaningful for all the containers.
A GetContainer() method returning a const reference to the container is
added, so that begin() and end() can be called through it.
2022-06-08 15:31:44 +02:00
Stefano Avallone
e5805a53fb network: Queue uses a generic type of container to store items internally 2022-06-08 15:31:44 +02:00
Stefano Avallone
70ea7891fc core: Get the full type name for template classes
Also add a macro for class templates with two template parameters.
2022-06-08 15:31:44 +02:00
Tommaso Pecorella
e0f20a49c0 network: (fixes #611) Reset MAC address allocation pool between runs 2022-06-07 22:04:12 +00:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Eduardo Almeida
e9c98de72c Mark more deleted copy constructors and operator= with delete keyword (fixes #279) 2022-06-04 20:40:44 +01:00
Eduardo Almeida
90c777a65b Mark deleted constructors and operator= with delete keyword 2022-05-26 18:55:52 -07:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
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