|
ns-3
|
#include <openflow-interface.h>


Public Member Functions | |
| void | ReceiveFromSwitch (Ptr< OpenFlowSwitchNetDevice > swtch, ofpbuf *buffer) |
Demonstration of a Drop controller. When a connected switch passes it a packet the switch doesn't recognize, the controller configures the switch to make a flow that drops alike packets.
| void ns3::ofi::DropController::ReceiveFromSwitch | ( | Ptr< OpenFlowSwitchNetDevice > | swtch, |
| ofpbuf * | buffer | ||
| ) | [virtual] |
A switch calls this method to pass a message on to the Controller.
| swtch | The switch the message was received from. |
| buffer | The message. |
Reimplemented from ns3::ofi::Controller.