actionList.add(new SetDlDst(HexEncode.bytesFromHexString(sstr.group(1)))); continue;
private static SetDlDstActionCase _toAction(final SetDlDst sourceAction) { return new SetDlDstActionCaseBuilder() .setSetDlDstAction(new SetDlDstActionBuilder().setAddress(MDFlowMapping.toMacAddress(sourceAction.getDlAddress())).build()) .build(); }
byte src[] = { (byte) 5, (byte) 4, (byte) 3, (byte) 2, (byte) 1 }; actionList.add(new SetDlSrc(src)); actionList.add(new SetDlDst(dst)); actionList.add(new SetDlType(10));
} else if (action instanceof SetDlDst) { SetDlDst add = (SetDlDst) action; actions.append(action.getType().toString()).append(" = ").append(HexEncode.bytesToHexStringFormat(add.getDlAddress())).append("<br>"); } else if (action instanceof SetNwSrc) { SetNwSrc ans = (SetNwSrc) action;
actions.add(new SetDlDst(host.getDataLayerAddressBytes()));
SetDlDst a = (SetDlDst) action; OFActionDataLayerDestination ofAction = new OFActionDataLayerDestination(); ofAction.setDataLayerAddress(a.getDlAddress()); actionsList.add(ofAction); actionsLength += OFActionDataLayer.MINIMUM_LENGTH;
actions.add(new SetDlDst(destMachineMac));
MacAddress addressL2Dest = ((SetDlDstActionCase) sourceAction).getSetDlDstAction().getAddress(); if (addressL2Dest != null) { targetAction.add(new SetDlDst(bytesFrom(addressL2Dest)));
.getDataLayerAddress().clone()); } else if (ofAction instanceof OFActionDataLayerDestination) { salAction = new SetDlDst( ((OFActionDataLayerDestination) ofAction) .getDataLayerAddress().clone());