Commit Graph

40 Commits

Author SHA1 Message Date
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
Alina Quereilhac
8070ec10a6 Fixed compilation problem on the PlanetLabFdNetDeviceHelper and improved documentation for the fd-net-device module. 2013-04-26 02:00:09 +02:00
Alina Quereilhac
64eb45017f Bug #1613 - Can't build ns-3-dev with g++ 4.7.2 & Bug FdNetDevice can't build in OS X 2013-03-29 16:10:12 +01:00
alina
b3b3fa9e22 Merge fd-net-device into ns-3-dev 2013-03-27 02:14:57 +01:00