OpenFlow switches do not forward by default, so to drop a packet, you simply don't forward it -- don't call send_openflow_packet() at all.
Of course, this assumes you don't have a flow table entry that says to forward it already installed. If you do have such a rule, there's nothing you can do to stop an individual packet from being forwarded -- you'd have to uninstall the entry. -- Murphy On Sep 22, 2011, at 1:47 AM, sachin sharma wrote: > Hi, > > I am interested to drop the packet from a particular buffer id. I found > calling of following function from nox could help me in sending a command to > openflow switch. > > send_openflow_packet(pi.datapath_id, buffer_id, action, pi.in_port, true); > > I do not know what to write in place of action, I know in case of flooding i > should write "action = OFPP_FLOOD". Can anyone please suggest me in this > regards? > > Thanks & Regards, > Sachin Sharma > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev