Commit Graph

48 Commits

Author SHA1 Message Date
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
Tom Henderson
2a2690a003 rerun check-style.py at default level to enforce space after function name 2011-05-22 23:18:47 -07:00
Mitch Watrous
684991654f Make some modules show up on doxygen modules page 2011-05-18 13:00:29 -07:00
Mitch Watrous
1c345c4d76 Updated the modules doxygen page 2011-05-17 17:36:08 -07:00
Tom Henderson
0958310641 split manual; create model library 2011-05-13 23:10:33 -07:00
Josh Pelkey
0efa9719f0 openflow coding style changes 2011-05-13 14:58:28 -04:00
Josh Pelkey
a5458f8733 update openflow doc 2011-04-06 15:09:31 -04:00
Mathieu Lacage
d3f514eb63 openflow private headers 2011-04-06 15:02:54 -04:00
Gustavo J. A. M. Carneiro
e99ecc2acb Enable the boost waf command-line options 2011-04-03 17:39:30 +01:00
Mitch Watrous
e300f89a58 Create test module libraries for some modules 2011-03-24 16:46:49 -07:00
Josh Pelkey
27080192c3 Merge OpenFlow 2011-03-11 15:21:50 -05:00