faucetsdn / ryu

Ryu component-based software defined networking framework

Home Page:https://ryu-sdn.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To drop multicast packet

chitsukhin opened this issue · comments

which is used to drop the packet.

OFPP_MAX = 0xffffff00 # Maximum number of physical and logical
# switch ports.
OFPP_UNSET = 0xfffffff7 # Output port not set in action-set.
# used only in OXM_OF_ACTSET_OUTPUT.
OFPP_IN_PORT = 0xfffffff8 # Send the packet out the input port. This
# reserved port must be explicitly used in
# order to send back out of the input port.
OFPP_TABLE = 0xfffffff9 # Submit the packet to the first flow table
# NB: This destination port can only be used
# in packet-out messages.
OFPP_NORMAL = 0xfffffffa # Forward using non-OpenFlow pipeline.
OFPP_FLOOD = 0xfffffffb # Flood using non-OpenFlow pipeline.
OFPP_ALL = 0xfffffffc # All standard ports except input port.
OFPP_CONTROLLER = 0xfffffffd # Send to controller.
OFPP_LOCAL = 0xfffffffe # Local openflow "port".
OFPP_ANY = 0xffffffff

I can slove it.
to drop the packet, we should use empty string
actions = ""