Commit Graph

148 Commits

Author SHA1 Message Date
Alberto Gallegos Ramonet
c85819b502 lr-wpan: (fixes #636) Ext address, short address and manual assoc adjustments 2023-02-27 14:33:28 +09:00
Gabriel Ferreira
6f076416e7 Fix typos 2023-02-21 22:29:29 -03:00
Eduardo Almeida
971e5c15fa Fix clang-tidy readability-container-size-empty warnings 2023-02-02 17:41:31 +00:00
Eduardo Almeida
5c8b820b7b Remove unneeded typedef in struct and enum 2022-12-22 17:36:30 +00:00
Tommaso Pecorella
83c915c897 Deprecate use of Ping6 and V4Ping classes 2022-12-12 12:51:19 +00:00
Eduardo Almeida
18225243f2 examples: Add missing return 0 2022-11-29 21:33:09 +00:00
Eduardo Almeida
b8fb0fcfc8 Fix clang-diagnostics-unused-but-set-variable warnings 2022-10-28 21:48:03 +01:00
Eduardo Almeida
b048f70912 Fix the [[maybe_unused]] specifier placement to always come after the variable name 2022-10-24 11:58:49 +00:00
Eduardo Almeida
85ade4e18d Fix Doxygen comment formatting and typos 2022-10-16 14:49:21 +01:00
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
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
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
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
3e39cb0724 Fix formatting of some files before clang-format application 2022-10-06 20:41:07 +00:00
Eduardo Almeida
820ad760b8 Fix clang-tidy readability-redundant-control-flow warnings 2022-09-29 20:06:57 +01:00
Peter D. Barnes, Jr
e461e54d5a Update Ptr validity checks to new Ptr<>::operator bool 2022-08-18 08:59:30 -07:00
Gabriel Ferreira
c5d0c8efb4 bindings: remove pybindgen bindings sources 2022-08-01 21:24:02 +00:00
Tom Henderson
b6a5ee8151 Run utils/trim-trailing-whitespace.py on codebase 2022-06-05 21:01:11 -07:00
Philipp Raich
5e49582250 sixlowpan: fix UDP_NHC port decompression 2022-05-20 12:34:01 +02:00
Tom Henderson
a614114865 bindings: Rescan all APIs 2022-04-18 15:30:35 -07:00
Tommaso Pecorella
a18442eb95 sixlowpan: prevent confusion in traces origin 2022-03-13 22:21:00 +01: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
Tommaso Pecorella
0b3b639524 sixlowpan: doxygen fixes 2022-01-30 12:06:53 -06: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
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
Gabriel Ferreira
f6ef415392 build: CMake bugfixes
Fixes include:
- Handling of relative paths used as output directories
- Accepting comma separated lists of modules to enable/disable
- Echoing all CMake commands at the end of the execution of ns3 script
- More informative optional features summary output
- Replace absolute paths with relative paths in the printed CMake output for less verbose output
- Set debug build type on the CMake side to ensure ccmake doesn't crash
- Prefix INT64X64 with NS3 to indicate user switch
- Compiler version check
- Removal of verbose option
- Suppress empty enabled/disabled module tables

Features include:
- Test for installation/uninstallation of ns-3 as a CMake package
- Test importing ns-3 as a CMake package and use in a 3rd-party project
- Test to check VERSION usage
- ns3 option to enable/disable sanitizers
- Associate headers to libraries targets
2021-12-10 02:13:43 +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
Tom Henderson
4e9afa965d bindings: Rescan all APIs 2021-09-27 11:18:37 -07: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
Tommaso Pecorella
0bde83553b sixlowpan: avoid extra fragment of zero size 2021-06-17 22:47:36 +00:00
Tommaso Pecorella
6b0a9f4af7 sixlowpan: fix doxygen warnings 2021-05-01 04:36:19 +02:00
ZakariaHelalArzoo
3c6258572f sixlowpan (fixes #358): use correct fragment size when using mesh routing. 2021-03-09 01:04:12 +00:00
Tom Henderson
3d72079550 sixlowpan: Rescan APIs for Python bindings 2021-01-17 11:43:52 -08:00
Tom Henderson
7d3d471473 Add missing forward declaration 2021-01-17 11:42:50 -08:00
Tommaso Pecorella
217b28e6aa sixlowpan: add context-based (stateful) IPHC compression 2021-01-17 16:54:52 +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
Peter D. Barnes, Jr
52d0368ad9 internet: time arithmetic 2020-12-14 03:42:14 +01:00
Tommaso Pecorella
c9a1574d5f sixlopwpan: disallow mixed IPHC/HC1 use 2020-12-13 21:24:58 +00:00
Tommaso Pecorella
4e0550110e lr-wpan: add RFC4944 / RFC6282 pseudo-MAC switch 2020-12-13 21:00:44 +00:00
Tom Henderson
9bfa3bd724 bindings: Rescan all APIs 2020-10-03 14:21:45 -07:00