Esempio n. 1
0
 /**
  * @see packetOutMultiPort Accepts an IPacket instead of raw packet data. Note that the inPort and
  *     switch can be different than the packet in switch/port
  */
 public void packetOutMultiPort(
     IPacket packet, IOFSwitch sw, short inPort, Set<Integer> outPorts, FloodlightContext cntx) {
   packetOutMultiPort(packet.serialize(), sw, inPort, outPorts, cntx);
 }
Esempio n. 2
0
 /**
  * @see packetOutMultiPort Accepts a PacketIn instead of raw packet data. Note that the inPort and
  *     switch can be different than the packet in switch/port
  */
 public void packetOutMultiPort(
     OFPacketIn pi, IOFSwitch sw, short inPort, Set<Integer> outPorts, FloodlightContext cntx) {
   packetOutMultiPort(pi.getPacketData(), sw, inPort, outPorts, cntx);
 }