public interface OpenFlowPacketContext
| Modifier and Type | Method and Description |
|---|---|
boolean |
block()
Blocks further responses (ie.
|
void |
build(org.onlab.packet.Ethernet ethFrame,
org.projectfloodlight.openflow.types.OFPort outPort)
Build the packet out in response to this packet in event.
|
void |
build(org.projectfloodlight.openflow.types.OFPort outPort)
Build the packet out in response to this packet in event.
|
Optional<Long> |
cookie()
Provide the cookie in the packet in message.
|
Dpid |
dpid()
Provide the dpid of the switch where the packet in arrived.
|
Integer |
inPort()
Provide the port on which the packet arrived.
|
boolean |
isBuffered()
Indicates that this packet is buffered at the switch.
|
boolean |
isHandled()
Checks whether the packet has been handled.
|
org.onlab.packet.Ethernet |
parsed()
Provided a handle onto the parsed payload.
|
void |
send()
Provided build has been called send the packet
out the switch it came in on.
|
byte[] |
unparsed()
Provide an unparsed copy of the data.
|
boolean block()
boolean isHandled()
void send()
void build(org.projectfloodlight.openflow.types.OFPort outPort)
outPort - the out port to send to packet out of.void build(org.onlab.packet.Ethernet ethFrame,
org.projectfloodlight.openflow.types.OFPort outPort)
ethFrame - the actual packet to send out.outPort - the out port to send to packet out of.org.onlab.packet.Ethernet parsed()
byte[] unparsed()
Dpid dpid()
Integer inPort()
boolean isBuffered()