Commit Graph

60 Commits

Author SHA1 Message Date
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
Tom Henderson
5b4a8ebb30 openflow: Restore dependency on Boost headers 2021-06-17 12:09:25 -07:00
Tom Henderson
a0ff41c945 openflow: Disable library-induced warning on optimized builds
Optimized builds on newer g++ versions are triggering warnings about the
openflow library's use of strncpy().
2021-05-31 20:16:48 -07:00
Tommaso Pecorella
78c1c9f64a openflow: (fixes #342) remove unused libraries (boost, xml2) 2021-01-31 13:37:13 +00:00
Steven Smith
dded72e02e build: (fixes #217) Guard compilation of example used as a test
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -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
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
Alexander Krotov
8d1b7b1391 Spellcheck the rest of ns-3 2018-06-28 12:51:39 +03:00
Peter D. Barnes, Jr.
5cefb05eca wscript: replace tab indenting with spaces 2016-08-04 12:44:41 -07:00
Tom Henderson
e9dbae3a70 openflow: Remove declaration of private inline library function
This change is needed to link openflow library using g++-5.
2016-03-12 14:43:37 -08:00
Siddharth Santurkar
b5fde4107c port wscripts, test.py, and waf-tools to Python3 2015-09-03 21:14:55 -07:00
Tom Henderson
3634c939ce bug 2157: OpenFlowSwitchNetDevice::BufferFromPacket setting eth_type incorrectly (patch due to Kang Chen) 2015-09-02 16:37:05 -07:00
Tom Henderson
a722fdd7d9 bug 1557: errors in OpenFlowSwitchNetDevice::BufferFromPacket(); patch due to Long Li and Ovidiu Poncea 2015-09-02 16:32:46 -07:00
Ovidiu Poncea
8f00ef9db8 bug 2158: Fix flooding of packets on input port, for packets received on in!=0
When you have the action OFPP_FLOOD on a flow, and the received packet is
not coming into the switch through port 0, then the packet will be flooded on
all ports, including the receiving port!  This is especially bad if
you have broadcasts as packets will get replicated indefinitely (ARP req for
e.g.). This is caused by missing ntohs() that fails to convert port numbers
to their correct values. The switch works correctly for broadcast packets
received on port zero.
Example: The ReceivePacketOut() gets 0 if the input port is 0 and it works.
But will get 512 if the input port is 1 and since 512 is not our real input
port the check will fail and the packet will also be replicated on the input
port.
2015-08-31 10:41:05 -07:00
Peter D. Barnes, Jr.
d67ced0392 Fix parents, group names, and missing constructors in GetTypeId definitions. 2015-06-09 12:59:59 -07:00
Tom Henderson
c292a5853c SetGroupName for openflow module 2015-05-05 19:15:46 -07:00
Peter D. Barnes, Jr.
ee641c723b [Doxygen] Remove inappropriate uses of @internal 2014-11-03 12:33:13 -08:00
Peter D. Barnes, Jr.
3f92b8e1c5 [Doxygen] Remove more trivial and/or misused groupings 2014-10-08 20:59:31 -07:00
Tommaso Pecorella
899626019f [Doxygen] minor fixes 2014-10-03 23:51:58 +02:00
Peter D. Barnes, Jr.
bfdb6ef10a [Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace? 2014-09-26 15:51:00 -07:00
Tom Henderson
e2f347c513 make openflow-switch peek transport headers based on IPv4 protocol number information 2014-09-11 21:51:29 -07:00
Peter D. Barnes, Jr.
cd3da7143d [doxygen] Revert r10410, r10411, r10412 2014-03-05 17:06:59 -08:00
Peter D. Barnes, Jr.
4a5acb6109 One waf to rule them all. 2014-02-07 17:00:28 -08:00
Peter D. Barnes, Jr.
d75ff3559e doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented" 2013-11-14 16:58:28 -08:00
Peter D. Barnes, Jr.
1c3e6149ab Models source highlighting 2013-11-14 16:57:21 -08:00
Peter D. Barnes, Jr.
1bca805862 [Doxygen] use \todo 2013-06-11 17:02:23 -07:00
Mitch Watrous
b615a67055 Bug 1632 - Prepend bake build directory to the guessed locations that waf will look to find libraries 2013-04-26 13:55:02 -07:00
Alexander Afanasyev
0e169c157f Fix Python bindings and openflow for waf 1.7.10 upgrade and take care about boost requirements globally 2013-04-01 22:34:50 +02:00
Nicola Baldo
b69928a648 bug 1563: get rid of default argument value in AddTestCase 2013-03-22 13:14:38 +01:00
Tommaso Pecorella
33f5e0a7a8 Bug #1556 - Error uses of htonl making OpenFlow‘s match field error. 2013-03-06 15:44:49 +01:00
Tom Henderson
9ec98809da update documentation to point to new openflow repo 2013-01-18 11:49:53 -08:00
Gustavo J. A. M. Carneiro
d737fc864a ensure that -ldl follows -lopenflow 2012-09-23 21:32:12 -07:00
Tom Henderson
1ea439e07b remove extra append 2012-09-21 15:12:31 -07:00
Josh Pelkey
5a1ca0134e bug 1481: openflow example doesn't run 2012-08-27 00:19:20 -07:00
Mitch Watrous
eafb5075bf Add a constant rate setting function to the on-off helper 2012-08-23 16:00:17 -07:00
Mitch Watrous
6fb3fb3b99 Fix compilation errors in openflow-switch.cc 2012-08-23 10:52:15 -07:00
Mitch Watrous
261dc3b45a Replace more instances of RandomVariable with RandomVariableStream 2012-08-20 19:08:45 -07:00
Tom Henderson
e0aa655715 re-enable openflow test suite 2011-12-23 13:08:14 -08:00
Gustavo J. A. M. Carneiro
05b726cc71 Fix modules wscript usage of 'use' parameter 2011-09-22 13:03:25 +01:00
Gustavo J. A. M. Carneiro
149d7922d2 Possible openflow module waf1.6 fixes 2011-09-15 14:52:24 +01:00
Gustavo J. A. M. Carneiro
e8aeb9c6ce waf-1.6: Mac OSX and other fixes 2011-09-13 13:47:17 +01:00
Gustavo J. A. M. Carneiro
0536f2416f More waf 1.6.7 build fixes 2011-09-12 14:54:27 +01:00
Gustavo J. A. M. Carneiro
c3059b6e68 Upgrade to waf-1.6.7, work in progress 2011-09-08 16:13:40 +01:00
Vedran Miletić
fe0667def8 standardize emacs c++ mode comments 2011-08-02 17:42:33 -04:00
Mitch Watrous
4965f16855 Bug 1171 - need to generate doxygen automatically for conditionally compiled components 2011-06-17 15:18:30 -07:00
Mitch Watrous
f1af716637 Make openflow and tap-bridge modules not be built if not appropriate 2011-05-31 10:32:52 -07:00
Tom Henderson
261e5fb98e Move openflow module description out of doxygen 2011-05-24 22:48:51 -07:00