Eduardo Almeida
5afa1fd7ef
Use Time() constructor with integer values
2024-11-08 18:01:13 +00:00
André Apitzsch
8bc94a1cc3
Use SPDX license identifiers
2024-09-06 19:32:31 +00:00
Eduardo Almeida
59246fb83d
Fix spelling typos
2023-10-03 00:32:07 +01:00
Eduardo Almeida
1f438ce6f4
Fix clang-tidy modernize-use-auto warnings
2023-09-18 00:36:46 +01:00
Eduardo Almeida
ba859a0d66
Fix clang-tidy modernize-use-bool-literals warnings
2023-09-15 16:36:26 +00:00
André Apitzsch
f1dfa5cecd
fd-net-device,tap-bridge: Replace brctl, tunctl and ifconfig by ip
...
`tunctl` isn't easily available on every Linux distribution, `brctl` is obsolete[1] and
`ifconfig` has been deprecated by many Linux distributions[2], so replace these commands
by `ip` from iproute2.
[1] https://www.man7.org/linux/man-pages/man8/brctl.8.html#NOTES
[2] https://lwn.net/Articles/710533/
2023-06-21 04:29:24 +00:00
Eduardo Almeida
a93c357141
Fix clang-tidy readability-simplify-boolean-expr warnings
2023-05-07 19:06:35 +01:00
Giovanni Grieco
bf34f05109
examples: Remove unnecessary includes for unlinked modules
2023-04-06 06:14:29 +00:00
Tom Henderson
df20f5f5e8
doc: Fix errors found by codespell and aspell
2023-03-09 11:45:15 -08:00
Gabriel Ferreira
6f076416e7
Fix typos
2023-02-21 22:29:29 -03:00
Eduardo Almeida
9a0d17186b
Fix clang-tidy readability-static-accessed-through-instance warnings
2023-01-29 18:11:10 +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
dfc6fb9d2d
Remove emacs comment from C++ files
2022-10-14 14:13:12 +00:00
Eduardo Almeida
e25ff966fe
Apply clang-format to codebase
2022-10-07 20:08:35 +00:00
Eduardo Almeida
f65238a0db
Fix clang-tidy readability-string-compare warnings
2022-10-07 11:48:11 +00:00
Tommaso Pecorella
5e551a2180
core: ( fixes #416 ) remove librt checks
2022-08-05 01:42:12 +00:00
Gabriel Ferreira
820dbeab66
doc: fix wrong uses of ns3 run
2022-07-06 10:06:41 -03: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
Gabriel Ferreira
4b83eb7085
build: Fix features and make pthread an explicit dependency
...
Includes:
- Include threads sources even when NS3_PTHREAD=OFF
- Do not include realtime sources if NS3_REALTIME=OFF
- Disable tap-bridge if emulation or realtime features are disabled
- Build tap examples when tap-netdevice is enabled
- Remove NS3_PTHREAD option and make it an explicit requirement
2022-04-23 13:21:13 -03:00
Gabriel Ferreira
e32c177e45
build: remove waf files, tests and references
2022-02-21 22:08:45 -03: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
33f2ee841b
doc: update ns3 API
2022-01-19 16:25:03 -03:00
Tom Henderson
12dee93f70
fd-net-device: (merges !811 ) Remove PlanetLab helper
2022-01-02 11:46:59 -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
Tom Henderson
a867437a58
fd-net-device: (workaround for #343 ) Stop devices before simulator
2021-01-31 10:55:04 -08:00
Hrishikesh Hiraskar
dd8faec88f
fd-net-device: Add DpdkNetDeviceHelper
...
This commit:
- Add DpdkNetDeviceHelper
- Encapsulate EAL arguments setup in DpdkNetDeviceHelper
- Update Documentation
Co-authored-by: Harsh Patel <thadodaharsh10@gmail.com >
Co-authored-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in >
2020-09-28 12:32:59 -07:00
Tom Henderson
696bc53b08
fd-net-device: Finalize merge of DPDK and netmap emulation features
...
* Handle code review comments (due to Rediet and Mohit)
* Add attribute to configure netmap sync and notify period
2020-09-16 21:04:44 -07:00
Harsh Patel
8108a52069
fd-net-device: Add DPDK emulation support in fd-emu examples
...
This commit:
- Add DPDK emulation support in fd-emu examples
- Minor DpdkNetDevice Documentation Changes
Co-authored-by: Hrishikesh Hiraskar <hrishihiraskar@gmail.com >
Co-authored-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in >
2020-09-16 10:45:18 -07:00
Tom Henderson
7482644eb4
fd-net-device: Netmap and DPDK documentation and small fixes
2020-09-16 10:44:39 -07:00
Pasquale Imputato
ff8083ca2e
fd-net-device: add support for emulation in netmap mode
2020-09-16 10:42:24 -07:00
Tom Henderson
0a21a38041
Update coding style
2020-09-16 08:30:49 -07:00
Hrishikesh Hiraskar
1e9f448409
fd-net-device: Add dpdk-net-device examples
...
Examples added:
* fd-dpdk-emu-ping : Ping application
* fd-dpdk-emu-onoff : OnOff application
Co-authored-by: Harsh Patel <thadodaharsh10@gmail.com >
Co-authored-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in >
2020-09-16 08:30:49 -07:00
Peter D. Barnes, Jr
b23be18b3b
Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
...
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
5e624d5504
doc: Use the new COMMANDLINE macro in every example
2020-04-27 16:20:09 -07:00
Alexander Krotov
8d1b7b1391
Spellcheck the rest of ns-3
2018-06-28 12:51:39 +03:00
Peter D. Barnes, Jr.
38632b0e18
Add CommandLine to all examples
2016-05-27 01:24:32 -04:00
Alina Quereilhac
4c4acc74b1
bug 2374: The TapFdNetDeviceHelper does not seem to work in ns-3.25. (fix by Tommaso Pecorella)
2016-04-16 13:58:17 +02:00
Tommaso Pecorella
6bd2b6f256
Moved internet-specific apps to the new internet-apps module
2015-11-09 22:32:26 +01:00
Alina Quereilhac
559d337432
revert changeset 4be177372dc4 (Bug 2119) due to test 'dummy-network' now crashing for OS X
2015-07-20 10:27:31 +02:00
Alina Quereilhac
1b432fecac
Bug 2119 - valgrind leaks intermittently reported for fd-net-device dummy-network - Required SimulatorImplementationType to be set to ns3::RealtimeSimulatorImpl
2015-07-15 16:52:16 +02:00
Alina Quereilhac
47fdaa9927
add example fd2fd-onoff.cc from the fd-net-device module to unit tests using UDP as default mode
2015-03-19 15:13:07 +01:00
Tom Henderson
0bb6e095b3
bug 1343 (documentation): emu-udp-echo-client/server.cc missing, but referenced in HOWTOs
2014-10-06 14:52:08 -07:00
Alina Quereilhac
e6fc8c2ad2
update fd-tap-ping.cc instructions
2014-06-15 08:54:48 -07:00
Peter D. Barnes, Jr.
4a5acb6109
One waf to rule them all.
2014-02-07 17:00:28 -08:00
Tommaso Pecorella
54564e2fa6
Bug 1702 - A router should't aways add itself as the default router
2013-08-07 23:18:48 +02:00