Commit Graph

21 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
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
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.
d75ff3559e doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented" 2013-11-14 16:58:28 -08:00
Peter D. Barnes, Jr.
1bca805862 [Doxygen] use \todo 2013-06-11 17:02:23 -07:00
Tommaso Pecorella
33f5e0a7a8 Bug #1556 - Error uses of htonl making OpenFlow‘s match field error. 2013-03-06 15:44:49 +01:00
Mitch Watrous
4965f16855 Bug 1171 - need to generate doxygen automatically for conditionally compiled components 2011-06-17 15:18:30 -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
1c345c4d76 Updated the modules doxygen page 2011-05-17 17:36:08 -07:00
Josh Pelkey
0efa9719f0 openflow coding style changes 2011-05-13 14:58:28 -04:00
Mathieu Lacage
d3f514eb63 openflow private headers 2011-04-06 15:02:54 -04:00
Josh Pelkey
27080192c3 Merge OpenFlow 2011-03-11 15:21:50 -05:00