ns-3
ns3::ofi::DropController Class Reference

#include <openflow-interface.h>

Inheritance diagram for ns3::ofi::DropController:
Collaboration diagram for ns3::ofi::DropController:

List of all members.

Public Member Functions

void ReceiveFromSwitch (Ptr< OpenFlowSwitchNetDevice > swtch, ofpbuf *buffer)

Detailed Description

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.


Member Function Documentation

void ns3::ofi::DropController::ReceiveFromSwitch ( Ptr< OpenFlowSwitchNetDevice swtch,
ofpbuf *  buffer 
) [virtual]

A switch calls this method to pass a message on to the Controller.

Parameters:
swtchThe switch the message was received from.
bufferThe message.

Reimplemented from ns3::ofi::Controller.


The documentation for this class was generated from the following file: