alshabib | 86ac11c | 2014-08-14 16:14:41 -0700 | [diff] [blame] | 1 | // Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University |
| 2 | // Copyright (c) 2011, 2012 Open Networking Foundation |
| 3 | // Copyright (c) 2012, 2013 Big Switch Networks, Inc. |
| 4 | // This library was generated by the LoxiGen Compiler. |
| 5 | // See the file LICENSE.txt which should have been included in the source distribution |
| 6 | |
| 7 | // Automatically generated by LOXI from template of_factory_class.java |
| 8 | // Do not modify |
| 9 | |
| 10 | package org.projectfloodlight.openflow.protocol.ver11; |
| 11 | |
| 12 | import org.projectfloodlight.openflow.protocol.*; |
| 13 | import org.projectfloodlight.openflow.protocol.action.*; |
| 14 | import org.projectfloodlight.openflow.protocol.actionid.*; |
| 15 | import org.projectfloodlight.openflow.protocol.bsntlv.*; |
| 16 | import org.projectfloodlight.openflow.protocol.errormsg.*; |
| 17 | import org.projectfloodlight.openflow.protocol.meterband.*; |
| 18 | import org.projectfloodlight.openflow.protocol.instruction.*; |
| 19 | import org.projectfloodlight.openflow.protocol.instructionid.*; |
| 20 | import org.projectfloodlight.openflow.protocol.match.*; |
| 21 | import org.projectfloodlight.openflow.protocol.oxm.*; |
| 22 | import org.projectfloodlight.openflow.protocol.queueprop.*; |
| 23 | import org.projectfloodlight.openflow.types.*; |
| 24 | import org.projectfloodlight.openflow.util.*; |
| 25 | import org.projectfloodlight.openflow.exceptions.*; |
| 26 | |
| 27 | |
| 28 | public class OFOxmsVer11 implements OFOxms { |
| 29 | public final static OFOxmsVer11 INSTANCE = new OFOxmsVer11(); |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | public OFOxmArpOp.Builder buildArpOp() { |
| 35 | throw new UnsupportedOperationException("OFOxmArpOp not supported in version 1.1"); |
| 36 | } |
| 37 | public OFOxmArpOp arpOp(ArpOpcode value) { |
| 38 | throw new UnsupportedOperationException("OFOxmArpOp not supported in version 1.1"); |
| 39 | } |
| 40 | |
| 41 | public OFOxmArpOpMasked.Builder buildArpOpMasked() { |
| 42 | throw new UnsupportedOperationException("OFOxmArpOpMasked not supported in version 1.1"); |
| 43 | } |
| 44 | public OFOxmArpOpMasked arpOpMasked(ArpOpcode value, ArpOpcode mask) { |
| 45 | throw new UnsupportedOperationException("OFOxmArpOpMasked not supported in version 1.1"); |
| 46 | } |
| 47 | |
| 48 | public OFOxmArpSha.Builder buildArpSha() { |
| 49 | throw new UnsupportedOperationException("OFOxmArpSha not supported in version 1.1"); |
| 50 | } |
| 51 | public OFOxmArpSha arpSha(MacAddress value) { |
| 52 | throw new UnsupportedOperationException("OFOxmArpSha not supported in version 1.1"); |
| 53 | } |
| 54 | |
| 55 | public OFOxmArpShaMasked.Builder buildArpShaMasked() { |
| 56 | throw new UnsupportedOperationException("OFOxmArpShaMasked not supported in version 1.1"); |
| 57 | } |
| 58 | public OFOxmArpShaMasked arpShaMasked(MacAddress value, MacAddress mask) { |
| 59 | throw new UnsupportedOperationException("OFOxmArpShaMasked not supported in version 1.1"); |
| 60 | } |
| 61 | |
| 62 | public OFOxmArpSpa.Builder buildArpSpa() { |
| 63 | throw new UnsupportedOperationException("OFOxmArpSpa not supported in version 1.1"); |
| 64 | } |
| 65 | public OFOxmArpSpa arpSpa(IPv4Address value) { |
| 66 | throw new UnsupportedOperationException("OFOxmArpSpa not supported in version 1.1"); |
| 67 | } |
| 68 | |
| 69 | public OFOxmArpSpaMasked.Builder buildArpSpaMasked() { |
| 70 | throw new UnsupportedOperationException("OFOxmArpSpaMasked not supported in version 1.1"); |
| 71 | } |
| 72 | public OFOxmArpSpaMasked arpSpaMasked(IPv4Address value, IPv4Address mask) { |
| 73 | throw new UnsupportedOperationException("OFOxmArpSpaMasked not supported in version 1.1"); |
| 74 | } |
| 75 | |
| 76 | public OFOxmArpTha.Builder buildArpTha() { |
| 77 | throw new UnsupportedOperationException("OFOxmArpTha not supported in version 1.1"); |
| 78 | } |
| 79 | public OFOxmArpTha arpTha(MacAddress value) { |
| 80 | throw new UnsupportedOperationException("OFOxmArpTha not supported in version 1.1"); |
| 81 | } |
| 82 | |
| 83 | public OFOxmArpThaMasked.Builder buildArpThaMasked() { |
| 84 | throw new UnsupportedOperationException("OFOxmArpThaMasked not supported in version 1.1"); |
| 85 | } |
| 86 | public OFOxmArpThaMasked arpThaMasked(MacAddress value, MacAddress mask) { |
| 87 | throw new UnsupportedOperationException("OFOxmArpThaMasked not supported in version 1.1"); |
| 88 | } |
| 89 | |
| 90 | public OFOxmArpTpa.Builder buildArpTpa() { |
| 91 | throw new UnsupportedOperationException("OFOxmArpTpa not supported in version 1.1"); |
| 92 | } |
| 93 | public OFOxmArpTpa arpTpa(IPv4Address value) { |
| 94 | throw new UnsupportedOperationException("OFOxmArpTpa not supported in version 1.1"); |
| 95 | } |
| 96 | |
| 97 | public OFOxmArpTpaMasked.Builder buildArpTpaMasked() { |
| 98 | throw new UnsupportedOperationException("OFOxmArpTpaMasked not supported in version 1.1"); |
| 99 | } |
| 100 | public OFOxmArpTpaMasked arpTpaMasked(IPv4Address value, IPv4Address mask) { |
| 101 | throw new UnsupportedOperationException("OFOxmArpTpaMasked not supported in version 1.1"); |
| 102 | } |
| 103 | |
| 104 | public OFOxmBsnEgrPortGroupId.Builder buildBsnEgrPortGroupId() { |
| 105 | throw new UnsupportedOperationException("OFOxmBsnEgrPortGroupId not supported in version 1.1"); |
| 106 | } |
| 107 | public OFOxmBsnEgrPortGroupId bsnEgrPortGroupId(ClassId value) { |
| 108 | throw new UnsupportedOperationException("OFOxmBsnEgrPortGroupId not supported in version 1.1"); |
| 109 | } |
| 110 | |
| 111 | public OFOxmBsnEgrPortGroupIdMasked.Builder buildBsnEgrPortGroupIdMasked() { |
| 112 | throw new UnsupportedOperationException("OFOxmBsnEgrPortGroupIdMasked not supported in version 1.1"); |
| 113 | } |
| 114 | public OFOxmBsnEgrPortGroupIdMasked bsnEgrPortGroupIdMasked(ClassId value, ClassId mask) { |
| 115 | throw new UnsupportedOperationException("OFOxmBsnEgrPortGroupIdMasked not supported in version 1.1"); |
| 116 | } |
| 117 | |
| 118 | public OFOxmBsnGlobalVrfAllowed.Builder buildBsnGlobalVrfAllowed() { |
| 119 | throw new UnsupportedOperationException("OFOxmBsnGlobalVrfAllowed not supported in version 1.1"); |
| 120 | } |
| 121 | public OFOxmBsnGlobalVrfAllowed bsnGlobalVrfAllowed(OFBooleanValue value) { |
| 122 | throw new UnsupportedOperationException("OFOxmBsnGlobalVrfAllowed not supported in version 1.1"); |
| 123 | } |
| 124 | |
| 125 | public OFOxmBsnGlobalVrfAllowedMasked.Builder buildBsnGlobalVrfAllowedMasked() { |
| 126 | throw new UnsupportedOperationException("OFOxmBsnGlobalVrfAllowedMasked not supported in version 1.1"); |
| 127 | } |
| 128 | public OFOxmBsnGlobalVrfAllowedMasked bsnGlobalVrfAllowedMasked(OFBooleanValue value, OFBooleanValue mask) { |
| 129 | throw new UnsupportedOperationException("OFOxmBsnGlobalVrfAllowedMasked not supported in version 1.1"); |
| 130 | } |
| 131 | |
| 132 | public OFOxmBsnInPorts128.Builder buildBsnInPorts128() { |
| 133 | throw new UnsupportedOperationException("OFOxmBsnInPorts128 not supported in version 1.1"); |
| 134 | } |
| 135 | public OFOxmBsnInPorts128 bsnInPorts128(OFBitMask128 value) { |
| 136 | throw new UnsupportedOperationException("OFOxmBsnInPorts128 not supported in version 1.1"); |
| 137 | } |
| 138 | |
| 139 | public OFOxmBsnInPorts128Masked.Builder buildBsnInPorts128Masked() { |
| 140 | throw new UnsupportedOperationException("OFOxmBsnInPorts128Masked not supported in version 1.1"); |
| 141 | } |
| 142 | public OFOxmBsnInPorts128Masked bsnInPorts128Masked(OFBitMask128 value, OFBitMask128 mask) { |
| 143 | throw new UnsupportedOperationException("OFOxmBsnInPorts128Masked not supported in version 1.1"); |
| 144 | } |
| 145 | |
| 146 | public OFOxmBsnL3DstClassId.Builder buildBsnL3DstClassId() { |
| 147 | throw new UnsupportedOperationException("OFOxmBsnL3DstClassId not supported in version 1.1"); |
| 148 | } |
| 149 | public OFOxmBsnL3DstClassId bsnL3DstClassId(ClassId value) { |
| 150 | throw new UnsupportedOperationException("OFOxmBsnL3DstClassId not supported in version 1.1"); |
| 151 | } |
| 152 | |
| 153 | public OFOxmBsnL3DstClassIdMasked.Builder buildBsnL3DstClassIdMasked() { |
| 154 | throw new UnsupportedOperationException("OFOxmBsnL3DstClassIdMasked not supported in version 1.1"); |
| 155 | } |
| 156 | public OFOxmBsnL3DstClassIdMasked bsnL3DstClassIdMasked(ClassId value, ClassId mask) { |
| 157 | throw new UnsupportedOperationException("OFOxmBsnL3DstClassIdMasked not supported in version 1.1"); |
| 158 | } |
| 159 | |
| 160 | public OFOxmBsnL3InterfaceClassId.Builder buildBsnL3InterfaceClassId() { |
| 161 | throw new UnsupportedOperationException("OFOxmBsnL3InterfaceClassId not supported in version 1.1"); |
| 162 | } |
| 163 | public OFOxmBsnL3InterfaceClassId bsnL3InterfaceClassId(ClassId value) { |
| 164 | throw new UnsupportedOperationException("OFOxmBsnL3InterfaceClassId not supported in version 1.1"); |
| 165 | } |
| 166 | |
| 167 | public OFOxmBsnL3InterfaceClassIdMasked.Builder buildBsnL3InterfaceClassIdMasked() { |
| 168 | throw new UnsupportedOperationException("OFOxmBsnL3InterfaceClassIdMasked not supported in version 1.1"); |
| 169 | } |
| 170 | public OFOxmBsnL3InterfaceClassIdMasked bsnL3InterfaceClassIdMasked(ClassId value, ClassId mask) { |
| 171 | throw new UnsupportedOperationException("OFOxmBsnL3InterfaceClassIdMasked not supported in version 1.1"); |
| 172 | } |
| 173 | |
| 174 | public OFOxmBsnL3SrcClassId.Builder buildBsnL3SrcClassId() { |
| 175 | throw new UnsupportedOperationException("OFOxmBsnL3SrcClassId not supported in version 1.1"); |
| 176 | } |
| 177 | public OFOxmBsnL3SrcClassId bsnL3SrcClassId(ClassId value) { |
| 178 | throw new UnsupportedOperationException("OFOxmBsnL3SrcClassId not supported in version 1.1"); |
| 179 | } |
| 180 | |
| 181 | public OFOxmBsnL3SrcClassIdMasked.Builder buildBsnL3SrcClassIdMasked() { |
| 182 | throw new UnsupportedOperationException("OFOxmBsnL3SrcClassIdMasked not supported in version 1.1"); |
| 183 | } |
| 184 | public OFOxmBsnL3SrcClassIdMasked bsnL3SrcClassIdMasked(ClassId value, ClassId mask) { |
| 185 | throw new UnsupportedOperationException("OFOxmBsnL3SrcClassIdMasked not supported in version 1.1"); |
| 186 | } |
| 187 | |
| 188 | public OFOxmBsnLagId.Builder buildBsnLagId() { |
| 189 | throw new UnsupportedOperationException("OFOxmBsnLagId not supported in version 1.1"); |
| 190 | } |
| 191 | public OFOxmBsnLagId bsnLagId(LagId value) { |
| 192 | throw new UnsupportedOperationException("OFOxmBsnLagId not supported in version 1.1"); |
| 193 | } |
| 194 | |
| 195 | public OFOxmBsnLagIdMasked.Builder buildBsnLagIdMasked() { |
| 196 | throw new UnsupportedOperationException("OFOxmBsnLagIdMasked not supported in version 1.1"); |
| 197 | } |
| 198 | public OFOxmBsnLagIdMasked bsnLagIdMasked(LagId value, LagId mask) { |
| 199 | throw new UnsupportedOperationException("OFOxmBsnLagIdMasked not supported in version 1.1"); |
| 200 | } |
| 201 | |
| 202 | public OFOxmBsnTcpFlags.Builder buildBsnTcpFlags() { |
| 203 | throw new UnsupportedOperationException("OFOxmBsnTcpFlags not supported in version 1.1"); |
| 204 | } |
| 205 | public OFOxmBsnTcpFlags bsnTcpFlags(U16 value) { |
| 206 | throw new UnsupportedOperationException("OFOxmBsnTcpFlags not supported in version 1.1"); |
| 207 | } |
| 208 | |
| 209 | public OFOxmBsnTcpFlagsMasked.Builder buildBsnTcpFlagsMasked() { |
| 210 | throw new UnsupportedOperationException("OFOxmBsnTcpFlagsMasked not supported in version 1.1"); |
| 211 | } |
| 212 | public OFOxmBsnTcpFlagsMasked bsnTcpFlagsMasked(U16 value, U16 mask) { |
| 213 | throw new UnsupportedOperationException("OFOxmBsnTcpFlagsMasked not supported in version 1.1"); |
| 214 | } |
| 215 | |
| 216 | public OFOxmBsnUdf0.Builder buildBsnUdf0() { |
| 217 | throw new UnsupportedOperationException("OFOxmBsnUdf0 not supported in version 1.1"); |
| 218 | } |
| 219 | public OFOxmBsnUdf0 bsnUdf0(UDF value) { |
| 220 | throw new UnsupportedOperationException("OFOxmBsnUdf0 not supported in version 1.1"); |
| 221 | } |
| 222 | |
| 223 | public OFOxmBsnUdf0Masked.Builder buildBsnUdf0Masked() { |
| 224 | throw new UnsupportedOperationException("OFOxmBsnUdf0Masked not supported in version 1.1"); |
| 225 | } |
| 226 | public OFOxmBsnUdf0Masked bsnUdf0Masked(UDF value, UDF mask) { |
| 227 | throw new UnsupportedOperationException("OFOxmBsnUdf0Masked not supported in version 1.1"); |
| 228 | } |
| 229 | |
| 230 | public OFOxmBsnUdf1.Builder buildBsnUdf1() { |
| 231 | throw new UnsupportedOperationException("OFOxmBsnUdf1 not supported in version 1.1"); |
| 232 | } |
| 233 | public OFOxmBsnUdf1 bsnUdf1(UDF value) { |
| 234 | throw new UnsupportedOperationException("OFOxmBsnUdf1 not supported in version 1.1"); |
| 235 | } |
| 236 | |
| 237 | public OFOxmBsnUdf1Masked.Builder buildBsnUdf1Masked() { |
| 238 | throw new UnsupportedOperationException("OFOxmBsnUdf1Masked not supported in version 1.1"); |
| 239 | } |
| 240 | public OFOxmBsnUdf1Masked bsnUdf1Masked(UDF value, UDF mask) { |
| 241 | throw new UnsupportedOperationException("OFOxmBsnUdf1Masked not supported in version 1.1"); |
| 242 | } |
| 243 | |
| 244 | public OFOxmBsnUdf2.Builder buildBsnUdf2() { |
| 245 | throw new UnsupportedOperationException("OFOxmBsnUdf2 not supported in version 1.1"); |
| 246 | } |
| 247 | public OFOxmBsnUdf2 bsnUdf2(UDF value) { |
| 248 | throw new UnsupportedOperationException("OFOxmBsnUdf2 not supported in version 1.1"); |
| 249 | } |
| 250 | |
| 251 | public OFOxmBsnUdf2Masked.Builder buildBsnUdf2Masked() { |
| 252 | throw new UnsupportedOperationException("OFOxmBsnUdf2Masked not supported in version 1.1"); |
| 253 | } |
| 254 | public OFOxmBsnUdf2Masked bsnUdf2Masked(UDF value, UDF mask) { |
| 255 | throw new UnsupportedOperationException("OFOxmBsnUdf2Masked not supported in version 1.1"); |
| 256 | } |
| 257 | |
| 258 | public OFOxmBsnUdf3.Builder buildBsnUdf3() { |
| 259 | throw new UnsupportedOperationException("OFOxmBsnUdf3 not supported in version 1.1"); |
| 260 | } |
| 261 | public OFOxmBsnUdf3 bsnUdf3(UDF value) { |
| 262 | throw new UnsupportedOperationException("OFOxmBsnUdf3 not supported in version 1.1"); |
| 263 | } |
| 264 | |
| 265 | public OFOxmBsnUdf3Masked.Builder buildBsnUdf3Masked() { |
| 266 | throw new UnsupportedOperationException("OFOxmBsnUdf3Masked not supported in version 1.1"); |
| 267 | } |
| 268 | public OFOxmBsnUdf3Masked bsnUdf3Masked(UDF value, UDF mask) { |
| 269 | throw new UnsupportedOperationException("OFOxmBsnUdf3Masked not supported in version 1.1"); |
| 270 | } |
| 271 | |
| 272 | public OFOxmBsnUdf4.Builder buildBsnUdf4() { |
| 273 | throw new UnsupportedOperationException("OFOxmBsnUdf4 not supported in version 1.1"); |
| 274 | } |
| 275 | public OFOxmBsnUdf4 bsnUdf4(UDF value) { |
| 276 | throw new UnsupportedOperationException("OFOxmBsnUdf4 not supported in version 1.1"); |
| 277 | } |
| 278 | |
| 279 | public OFOxmBsnUdf4Masked.Builder buildBsnUdf4Masked() { |
| 280 | throw new UnsupportedOperationException("OFOxmBsnUdf4Masked not supported in version 1.1"); |
| 281 | } |
| 282 | public OFOxmBsnUdf4Masked bsnUdf4Masked(UDF value, UDF mask) { |
| 283 | throw new UnsupportedOperationException("OFOxmBsnUdf4Masked not supported in version 1.1"); |
| 284 | } |
| 285 | |
| 286 | public OFOxmBsnUdf5.Builder buildBsnUdf5() { |
| 287 | throw new UnsupportedOperationException("OFOxmBsnUdf5 not supported in version 1.1"); |
| 288 | } |
| 289 | public OFOxmBsnUdf5 bsnUdf5(UDF value) { |
| 290 | throw new UnsupportedOperationException("OFOxmBsnUdf5 not supported in version 1.1"); |
| 291 | } |
| 292 | |
| 293 | public OFOxmBsnUdf5Masked.Builder buildBsnUdf5Masked() { |
| 294 | throw new UnsupportedOperationException("OFOxmBsnUdf5Masked not supported in version 1.1"); |
| 295 | } |
| 296 | public OFOxmBsnUdf5Masked bsnUdf5Masked(UDF value, UDF mask) { |
| 297 | throw new UnsupportedOperationException("OFOxmBsnUdf5Masked not supported in version 1.1"); |
| 298 | } |
| 299 | |
| 300 | public OFOxmBsnUdf6.Builder buildBsnUdf6() { |
| 301 | throw new UnsupportedOperationException("OFOxmBsnUdf6 not supported in version 1.1"); |
| 302 | } |
| 303 | public OFOxmBsnUdf6 bsnUdf6(UDF value) { |
| 304 | throw new UnsupportedOperationException("OFOxmBsnUdf6 not supported in version 1.1"); |
| 305 | } |
| 306 | |
| 307 | public OFOxmBsnUdf6Masked.Builder buildBsnUdf6Masked() { |
| 308 | throw new UnsupportedOperationException("OFOxmBsnUdf6Masked not supported in version 1.1"); |
| 309 | } |
| 310 | public OFOxmBsnUdf6Masked bsnUdf6Masked(UDF value, UDF mask) { |
| 311 | throw new UnsupportedOperationException("OFOxmBsnUdf6Masked not supported in version 1.1"); |
| 312 | } |
| 313 | |
| 314 | public OFOxmBsnUdf7.Builder buildBsnUdf7() { |
| 315 | throw new UnsupportedOperationException("OFOxmBsnUdf7 not supported in version 1.1"); |
| 316 | } |
| 317 | public OFOxmBsnUdf7 bsnUdf7(UDF value) { |
| 318 | throw new UnsupportedOperationException("OFOxmBsnUdf7 not supported in version 1.1"); |
| 319 | } |
| 320 | |
| 321 | public OFOxmBsnUdf7Masked.Builder buildBsnUdf7Masked() { |
| 322 | throw new UnsupportedOperationException("OFOxmBsnUdf7Masked not supported in version 1.1"); |
| 323 | } |
| 324 | public OFOxmBsnUdf7Masked bsnUdf7Masked(UDF value, UDF mask) { |
| 325 | throw new UnsupportedOperationException("OFOxmBsnUdf7Masked not supported in version 1.1"); |
| 326 | } |
| 327 | |
| 328 | public OFOxmBsnVlanXlatePortGroupId.Builder buildBsnVlanXlatePortGroupId() { |
| 329 | throw new UnsupportedOperationException("OFOxmBsnVlanXlatePortGroupId not supported in version 1.1"); |
| 330 | } |
| 331 | public OFOxmBsnVlanXlatePortGroupId bsnVlanXlatePortGroupId(ClassId value) { |
| 332 | throw new UnsupportedOperationException("OFOxmBsnVlanXlatePortGroupId not supported in version 1.1"); |
| 333 | } |
| 334 | |
| 335 | public OFOxmBsnVlanXlatePortGroupIdMasked.Builder buildBsnVlanXlatePortGroupIdMasked() { |
| 336 | throw new UnsupportedOperationException("OFOxmBsnVlanXlatePortGroupIdMasked not supported in version 1.1"); |
| 337 | } |
| 338 | public OFOxmBsnVlanXlatePortGroupIdMasked bsnVlanXlatePortGroupIdMasked(ClassId value, ClassId mask) { |
| 339 | throw new UnsupportedOperationException("OFOxmBsnVlanXlatePortGroupIdMasked not supported in version 1.1"); |
| 340 | } |
| 341 | |
| 342 | public OFOxmBsnVrf.Builder buildBsnVrf() { |
| 343 | throw new UnsupportedOperationException("OFOxmBsnVrf not supported in version 1.1"); |
| 344 | } |
| 345 | public OFOxmBsnVrf bsnVrf(VRF value) { |
| 346 | throw new UnsupportedOperationException("OFOxmBsnVrf not supported in version 1.1"); |
| 347 | } |
| 348 | |
| 349 | public OFOxmBsnVrfMasked.Builder buildBsnVrfMasked() { |
| 350 | throw new UnsupportedOperationException("OFOxmBsnVrfMasked not supported in version 1.1"); |
| 351 | } |
| 352 | public OFOxmBsnVrfMasked bsnVrfMasked(VRF value, VRF mask) { |
| 353 | throw new UnsupportedOperationException("OFOxmBsnVrfMasked not supported in version 1.1"); |
| 354 | } |
| 355 | |
| 356 | public OFOxmEthDst.Builder buildEthDst() { |
| 357 | throw new UnsupportedOperationException("OFOxmEthDst not supported in version 1.1"); |
| 358 | } |
| 359 | public OFOxmEthDst ethDst(MacAddress value) { |
| 360 | throw new UnsupportedOperationException("OFOxmEthDst not supported in version 1.1"); |
| 361 | } |
| 362 | |
| 363 | public OFOxmEthDstMasked.Builder buildEthDstMasked() { |
| 364 | throw new UnsupportedOperationException("OFOxmEthDstMasked not supported in version 1.1"); |
| 365 | } |
| 366 | public OFOxmEthDstMasked ethDstMasked(MacAddress value, MacAddress mask) { |
| 367 | throw new UnsupportedOperationException("OFOxmEthDstMasked not supported in version 1.1"); |
| 368 | } |
| 369 | |
| 370 | public OFOxmEthSrc.Builder buildEthSrc() { |
| 371 | throw new UnsupportedOperationException("OFOxmEthSrc not supported in version 1.1"); |
| 372 | } |
| 373 | public OFOxmEthSrc ethSrc(MacAddress value) { |
| 374 | throw new UnsupportedOperationException("OFOxmEthSrc not supported in version 1.1"); |
| 375 | } |
| 376 | |
| 377 | public OFOxmEthSrcMasked.Builder buildEthSrcMasked() { |
| 378 | throw new UnsupportedOperationException("OFOxmEthSrcMasked not supported in version 1.1"); |
| 379 | } |
| 380 | public OFOxmEthSrcMasked ethSrcMasked(MacAddress value, MacAddress mask) { |
| 381 | throw new UnsupportedOperationException("OFOxmEthSrcMasked not supported in version 1.1"); |
| 382 | } |
| 383 | |
| 384 | public OFOxmEthType.Builder buildEthType() { |
| 385 | throw new UnsupportedOperationException("OFOxmEthType not supported in version 1.1"); |
| 386 | } |
| 387 | public OFOxmEthType ethType(EthType value) { |
| 388 | throw new UnsupportedOperationException("OFOxmEthType not supported in version 1.1"); |
| 389 | } |
| 390 | |
| 391 | public OFOxmEthTypeMasked.Builder buildEthTypeMasked() { |
| 392 | throw new UnsupportedOperationException("OFOxmEthTypeMasked not supported in version 1.1"); |
| 393 | } |
| 394 | public OFOxmEthTypeMasked ethTypeMasked(EthType value, EthType mask) { |
| 395 | throw new UnsupportedOperationException("OFOxmEthTypeMasked not supported in version 1.1"); |
| 396 | } |
| 397 | |
| 398 | public OFOxmIcmpv4Code.Builder buildIcmpv4Code() { |
| 399 | throw new UnsupportedOperationException("OFOxmIcmpv4Code not supported in version 1.1"); |
| 400 | } |
| 401 | public OFOxmIcmpv4Code icmpv4Code(ICMPv4Code value) { |
| 402 | throw new UnsupportedOperationException("OFOxmIcmpv4Code not supported in version 1.1"); |
| 403 | } |
| 404 | |
| 405 | public OFOxmIcmpv4CodeMasked.Builder buildIcmpv4CodeMasked() { |
| 406 | throw new UnsupportedOperationException("OFOxmIcmpv4CodeMasked not supported in version 1.1"); |
| 407 | } |
| 408 | public OFOxmIcmpv4CodeMasked icmpv4CodeMasked(ICMPv4Code value, ICMPv4Code mask) { |
| 409 | throw new UnsupportedOperationException("OFOxmIcmpv4CodeMasked not supported in version 1.1"); |
| 410 | } |
| 411 | |
| 412 | public OFOxmIcmpv4Type.Builder buildIcmpv4Type() { |
| 413 | throw new UnsupportedOperationException("OFOxmIcmpv4Type not supported in version 1.1"); |
| 414 | } |
| 415 | public OFOxmIcmpv4Type icmpv4Type(ICMPv4Type value) { |
| 416 | throw new UnsupportedOperationException("OFOxmIcmpv4Type not supported in version 1.1"); |
| 417 | } |
| 418 | |
| 419 | public OFOxmIcmpv4TypeMasked.Builder buildIcmpv4TypeMasked() { |
| 420 | throw new UnsupportedOperationException("OFOxmIcmpv4TypeMasked not supported in version 1.1"); |
| 421 | } |
| 422 | public OFOxmIcmpv4TypeMasked icmpv4TypeMasked(ICMPv4Type value, ICMPv4Type mask) { |
| 423 | throw new UnsupportedOperationException("OFOxmIcmpv4TypeMasked not supported in version 1.1"); |
| 424 | } |
| 425 | |
| 426 | public OFOxmIcmpv6Code.Builder buildIcmpv6Code() { |
| 427 | throw new UnsupportedOperationException("OFOxmIcmpv6Code not supported in version 1.1"); |
| 428 | } |
| 429 | public OFOxmIcmpv6Code icmpv6Code(U8 value) { |
| 430 | throw new UnsupportedOperationException("OFOxmIcmpv6Code not supported in version 1.1"); |
| 431 | } |
| 432 | |
| 433 | public OFOxmIcmpv6CodeMasked.Builder buildIcmpv6CodeMasked() { |
| 434 | throw new UnsupportedOperationException("OFOxmIcmpv6CodeMasked not supported in version 1.1"); |
| 435 | } |
| 436 | public OFOxmIcmpv6CodeMasked icmpv6CodeMasked(U8 value, U8 mask) { |
| 437 | throw new UnsupportedOperationException("OFOxmIcmpv6CodeMasked not supported in version 1.1"); |
| 438 | } |
| 439 | |
| 440 | public OFOxmIcmpv6Type.Builder buildIcmpv6Type() { |
| 441 | throw new UnsupportedOperationException("OFOxmIcmpv6Type not supported in version 1.1"); |
| 442 | } |
| 443 | public OFOxmIcmpv6Type icmpv6Type(U8 value) { |
| 444 | throw new UnsupportedOperationException("OFOxmIcmpv6Type not supported in version 1.1"); |
| 445 | } |
| 446 | |
| 447 | public OFOxmIcmpv6TypeMasked.Builder buildIcmpv6TypeMasked() { |
| 448 | throw new UnsupportedOperationException("OFOxmIcmpv6TypeMasked not supported in version 1.1"); |
| 449 | } |
| 450 | public OFOxmIcmpv6TypeMasked icmpv6TypeMasked(U8 value, U8 mask) { |
| 451 | throw new UnsupportedOperationException("OFOxmIcmpv6TypeMasked not supported in version 1.1"); |
| 452 | } |
| 453 | |
| 454 | public OFOxmInPhyPort.Builder buildInPhyPort() { |
| 455 | throw new UnsupportedOperationException("OFOxmInPhyPort not supported in version 1.1"); |
| 456 | } |
| 457 | public OFOxmInPhyPort inPhyPort(OFPort value) { |
| 458 | throw new UnsupportedOperationException("OFOxmInPhyPort not supported in version 1.1"); |
| 459 | } |
| 460 | |
| 461 | public OFOxmInPhyPortMasked.Builder buildInPhyPortMasked() { |
| 462 | throw new UnsupportedOperationException("OFOxmInPhyPortMasked not supported in version 1.1"); |
| 463 | } |
| 464 | public OFOxmInPhyPortMasked inPhyPortMasked(OFPort value, OFPort mask) { |
| 465 | throw new UnsupportedOperationException("OFOxmInPhyPortMasked not supported in version 1.1"); |
| 466 | } |
| 467 | |
| 468 | public OFOxmInPort.Builder buildInPort() { |
| 469 | throw new UnsupportedOperationException("OFOxmInPort not supported in version 1.1"); |
| 470 | } |
| 471 | public OFOxmInPort inPort(OFPort value) { |
| 472 | throw new UnsupportedOperationException("OFOxmInPort not supported in version 1.1"); |
| 473 | } |
| 474 | |
| 475 | public OFOxmInPortMasked.Builder buildInPortMasked() { |
| 476 | throw new UnsupportedOperationException("OFOxmInPortMasked not supported in version 1.1"); |
| 477 | } |
| 478 | public OFOxmInPortMasked inPortMasked(OFPort value, OFPort mask) { |
| 479 | throw new UnsupportedOperationException("OFOxmInPortMasked not supported in version 1.1"); |
| 480 | } |
| 481 | |
| 482 | public OFOxmIpDscp.Builder buildIpDscp() { |
| 483 | throw new UnsupportedOperationException("OFOxmIpDscp not supported in version 1.1"); |
| 484 | } |
| 485 | public OFOxmIpDscp ipDscp(IpDscp value) { |
| 486 | throw new UnsupportedOperationException("OFOxmIpDscp not supported in version 1.1"); |
| 487 | } |
| 488 | |
| 489 | public OFOxmIpDscpMasked.Builder buildIpDscpMasked() { |
| 490 | throw new UnsupportedOperationException("OFOxmIpDscpMasked not supported in version 1.1"); |
| 491 | } |
| 492 | public OFOxmIpDscpMasked ipDscpMasked(IpDscp value, IpDscp mask) { |
| 493 | throw new UnsupportedOperationException("OFOxmIpDscpMasked not supported in version 1.1"); |
| 494 | } |
| 495 | |
| 496 | public OFOxmIpEcn.Builder buildIpEcn() { |
| 497 | throw new UnsupportedOperationException("OFOxmIpEcn not supported in version 1.1"); |
| 498 | } |
| 499 | public OFOxmIpEcn ipEcn(IpEcn value) { |
| 500 | throw new UnsupportedOperationException("OFOxmIpEcn not supported in version 1.1"); |
| 501 | } |
| 502 | |
| 503 | public OFOxmIpEcnMasked.Builder buildIpEcnMasked() { |
| 504 | throw new UnsupportedOperationException("OFOxmIpEcnMasked not supported in version 1.1"); |
| 505 | } |
| 506 | public OFOxmIpEcnMasked ipEcnMasked(IpEcn value, IpEcn mask) { |
| 507 | throw new UnsupportedOperationException("OFOxmIpEcnMasked not supported in version 1.1"); |
| 508 | } |
| 509 | |
| 510 | public OFOxmIpProto.Builder buildIpProto() { |
| 511 | throw new UnsupportedOperationException("OFOxmIpProto not supported in version 1.1"); |
| 512 | } |
| 513 | public OFOxmIpProto ipProto(IpProtocol value) { |
| 514 | throw new UnsupportedOperationException("OFOxmIpProto not supported in version 1.1"); |
| 515 | } |
| 516 | |
| 517 | public OFOxmIpProtoMasked.Builder buildIpProtoMasked() { |
| 518 | throw new UnsupportedOperationException("OFOxmIpProtoMasked not supported in version 1.1"); |
| 519 | } |
| 520 | public OFOxmIpProtoMasked ipProtoMasked(IpProtocol value, IpProtocol mask) { |
| 521 | throw new UnsupportedOperationException("OFOxmIpProtoMasked not supported in version 1.1"); |
| 522 | } |
| 523 | |
| 524 | public OFOxmIpv4Dst.Builder buildIpv4Dst() { |
| 525 | throw new UnsupportedOperationException("OFOxmIpv4Dst not supported in version 1.1"); |
| 526 | } |
| 527 | public OFOxmIpv4Dst ipv4Dst(IPv4Address value) { |
| 528 | throw new UnsupportedOperationException("OFOxmIpv4Dst not supported in version 1.1"); |
| 529 | } |
| 530 | |
| 531 | public OFOxmIpv4DstMasked.Builder buildIpv4DstMasked() { |
| 532 | throw new UnsupportedOperationException("OFOxmIpv4DstMasked not supported in version 1.1"); |
| 533 | } |
| 534 | public OFOxmIpv4DstMasked ipv4DstMasked(IPv4Address value, IPv4Address mask) { |
| 535 | throw new UnsupportedOperationException("OFOxmIpv4DstMasked not supported in version 1.1"); |
| 536 | } |
| 537 | |
| 538 | public OFOxmIpv4Src.Builder buildIpv4Src() { |
| 539 | throw new UnsupportedOperationException("OFOxmIpv4Src not supported in version 1.1"); |
| 540 | } |
| 541 | public OFOxmIpv4Src ipv4Src(IPv4Address value) { |
| 542 | throw new UnsupportedOperationException("OFOxmIpv4Src not supported in version 1.1"); |
| 543 | } |
| 544 | |
| 545 | public OFOxmIpv4SrcMasked.Builder buildIpv4SrcMasked() { |
| 546 | throw new UnsupportedOperationException("OFOxmIpv4SrcMasked not supported in version 1.1"); |
| 547 | } |
| 548 | public OFOxmIpv4SrcMasked ipv4SrcMasked(IPv4Address value, IPv4Address mask) { |
| 549 | throw new UnsupportedOperationException("OFOxmIpv4SrcMasked not supported in version 1.1"); |
| 550 | } |
| 551 | |
| 552 | public OFOxmIpv6Dst.Builder buildIpv6Dst() { |
| 553 | throw new UnsupportedOperationException("OFOxmIpv6Dst not supported in version 1.1"); |
| 554 | } |
| 555 | public OFOxmIpv6Dst ipv6Dst(IPv6Address value) { |
| 556 | throw new UnsupportedOperationException("OFOxmIpv6Dst not supported in version 1.1"); |
| 557 | } |
| 558 | |
| 559 | public OFOxmIpv6DstMasked.Builder buildIpv6DstMasked() { |
| 560 | throw new UnsupportedOperationException("OFOxmIpv6DstMasked not supported in version 1.1"); |
| 561 | } |
| 562 | public OFOxmIpv6DstMasked ipv6DstMasked(IPv6Address value, IPv6Address mask) { |
| 563 | throw new UnsupportedOperationException("OFOxmIpv6DstMasked not supported in version 1.1"); |
| 564 | } |
| 565 | |
| 566 | public OFOxmIpv6Flabel.Builder buildIpv6Flabel() { |
| 567 | throw new UnsupportedOperationException("OFOxmIpv6Flabel not supported in version 1.1"); |
| 568 | } |
| 569 | public OFOxmIpv6Flabel ipv6Flabel(IPv6FlowLabel value) { |
| 570 | throw new UnsupportedOperationException("OFOxmIpv6Flabel not supported in version 1.1"); |
| 571 | } |
| 572 | |
| 573 | public OFOxmIpv6FlabelMasked.Builder buildIpv6FlabelMasked() { |
| 574 | throw new UnsupportedOperationException("OFOxmIpv6FlabelMasked not supported in version 1.1"); |
| 575 | } |
| 576 | public OFOxmIpv6FlabelMasked ipv6FlabelMasked(IPv6FlowLabel value, IPv6FlowLabel mask) { |
| 577 | throw new UnsupportedOperationException("OFOxmIpv6FlabelMasked not supported in version 1.1"); |
| 578 | } |
| 579 | |
| 580 | public OFOxmIpv6NdSll.Builder buildIpv6NdSll() { |
| 581 | throw new UnsupportedOperationException("OFOxmIpv6NdSll not supported in version 1.1"); |
| 582 | } |
| 583 | public OFOxmIpv6NdSll ipv6NdSll(MacAddress value) { |
| 584 | throw new UnsupportedOperationException("OFOxmIpv6NdSll not supported in version 1.1"); |
| 585 | } |
| 586 | |
| 587 | public OFOxmIpv6NdSllMasked.Builder buildIpv6NdSllMasked() { |
| 588 | throw new UnsupportedOperationException("OFOxmIpv6NdSllMasked not supported in version 1.1"); |
| 589 | } |
| 590 | public OFOxmIpv6NdSllMasked ipv6NdSllMasked(MacAddress value, MacAddress mask) { |
| 591 | throw new UnsupportedOperationException("OFOxmIpv6NdSllMasked not supported in version 1.1"); |
| 592 | } |
| 593 | |
| 594 | public OFOxmIpv6NdTarget.Builder buildIpv6NdTarget() { |
| 595 | throw new UnsupportedOperationException("OFOxmIpv6NdTarget not supported in version 1.1"); |
| 596 | } |
| 597 | public OFOxmIpv6NdTarget ipv6NdTarget(IPv6Address value) { |
| 598 | throw new UnsupportedOperationException("OFOxmIpv6NdTarget not supported in version 1.1"); |
| 599 | } |
| 600 | |
| 601 | public OFOxmIpv6NdTargetMasked.Builder buildIpv6NdTargetMasked() { |
| 602 | throw new UnsupportedOperationException("OFOxmIpv6NdTargetMasked not supported in version 1.1"); |
| 603 | } |
| 604 | public OFOxmIpv6NdTargetMasked ipv6NdTargetMasked(IPv6Address value, IPv6Address mask) { |
| 605 | throw new UnsupportedOperationException("OFOxmIpv6NdTargetMasked not supported in version 1.1"); |
| 606 | } |
| 607 | |
| 608 | public OFOxmIpv6NdTll.Builder buildIpv6NdTll() { |
| 609 | throw new UnsupportedOperationException("OFOxmIpv6NdTll not supported in version 1.1"); |
| 610 | } |
| 611 | public OFOxmIpv6NdTll ipv6NdTll(MacAddress value) { |
| 612 | throw new UnsupportedOperationException("OFOxmIpv6NdTll not supported in version 1.1"); |
| 613 | } |
| 614 | |
| 615 | public OFOxmIpv6NdTllMasked.Builder buildIpv6NdTllMasked() { |
| 616 | throw new UnsupportedOperationException("OFOxmIpv6NdTllMasked not supported in version 1.1"); |
| 617 | } |
| 618 | public OFOxmIpv6NdTllMasked ipv6NdTllMasked(MacAddress value, MacAddress mask) { |
| 619 | throw new UnsupportedOperationException("OFOxmIpv6NdTllMasked not supported in version 1.1"); |
| 620 | } |
| 621 | |
| 622 | public OFOxmIpv6Src.Builder buildIpv6Src() { |
| 623 | throw new UnsupportedOperationException("OFOxmIpv6Src not supported in version 1.1"); |
| 624 | } |
| 625 | public OFOxmIpv6Src ipv6Src(IPv6Address value) { |
| 626 | throw new UnsupportedOperationException("OFOxmIpv6Src not supported in version 1.1"); |
| 627 | } |
| 628 | |
| 629 | public OFOxmIpv6SrcMasked.Builder buildIpv6SrcMasked() { |
| 630 | throw new UnsupportedOperationException("OFOxmIpv6SrcMasked not supported in version 1.1"); |
| 631 | } |
| 632 | public OFOxmIpv6SrcMasked ipv6SrcMasked(IPv6Address value, IPv6Address mask) { |
| 633 | throw new UnsupportedOperationException("OFOxmIpv6SrcMasked not supported in version 1.1"); |
| 634 | } |
| 635 | |
| 636 | public OFOxmMetadata.Builder buildMetadata() { |
| 637 | throw new UnsupportedOperationException("OFOxmMetadata not supported in version 1.1"); |
| 638 | } |
| 639 | public OFOxmMetadata metadata(OFMetadata value) { |
| 640 | throw new UnsupportedOperationException("OFOxmMetadata not supported in version 1.1"); |
| 641 | } |
| 642 | |
| 643 | public OFOxmMetadataMasked.Builder buildMetadataMasked() { |
| 644 | throw new UnsupportedOperationException("OFOxmMetadataMasked not supported in version 1.1"); |
| 645 | } |
| 646 | public OFOxmMetadataMasked metadataMasked(OFMetadata value, OFMetadata mask) { |
| 647 | throw new UnsupportedOperationException("OFOxmMetadataMasked not supported in version 1.1"); |
| 648 | } |
| 649 | |
| 650 | public OFOxmMplsLabel.Builder buildMplsLabel() { |
| 651 | throw new UnsupportedOperationException("OFOxmMplsLabel not supported in version 1.1"); |
| 652 | } |
| 653 | public OFOxmMplsLabel mplsLabel(U32 value) { |
| 654 | throw new UnsupportedOperationException("OFOxmMplsLabel not supported in version 1.1"); |
| 655 | } |
| 656 | |
| 657 | public OFOxmMplsLabelMasked.Builder buildMplsLabelMasked() { |
| 658 | throw new UnsupportedOperationException("OFOxmMplsLabelMasked not supported in version 1.1"); |
| 659 | } |
| 660 | public OFOxmMplsLabelMasked mplsLabelMasked(U32 value, U32 mask) { |
| 661 | throw new UnsupportedOperationException("OFOxmMplsLabelMasked not supported in version 1.1"); |
| 662 | } |
| 663 | |
| 664 | public OFOxmMplsTc.Builder buildMplsTc() { |
| 665 | throw new UnsupportedOperationException("OFOxmMplsTc not supported in version 1.1"); |
| 666 | } |
| 667 | public OFOxmMplsTc mplsTc(U8 value) { |
| 668 | throw new UnsupportedOperationException("OFOxmMplsTc not supported in version 1.1"); |
| 669 | } |
| 670 | |
| 671 | public OFOxmMplsTcMasked.Builder buildMplsTcMasked() { |
| 672 | throw new UnsupportedOperationException("OFOxmMplsTcMasked not supported in version 1.1"); |
| 673 | } |
| 674 | public OFOxmMplsTcMasked mplsTcMasked(U8 value, U8 mask) { |
| 675 | throw new UnsupportedOperationException("OFOxmMplsTcMasked not supported in version 1.1"); |
| 676 | } |
| 677 | |
| 678 | public OFOxmSctpDst.Builder buildSctpDst() { |
| 679 | throw new UnsupportedOperationException("OFOxmSctpDst not supported in version 1.1"); |
| 680 | } |
| 681 | public OFOxmSctpDst sctpDst(TransportPort value) { |
| 682 | throw new UnsupportedOperationException("OFOxmSctpDst not supported in version 1.1"); |
| 683 | } |
| 684 | |
| 685 | public OFOxmSctpDstMasked.Builder buildSctpDstMasked() { |
| 686 | throw new UnsupportedOperationException("OFOxmSctpDstMasked not supported in version 1.1"); |
| 687 | } |
| 688 | public OFOxmSctpDstMasked sctpDstMasked(TransportPort value, TransportPort mask) { |
| 689 | throw new UnsupportedOperationException("OFOxmSctpDstMasked not supported in version 1.1"); |
| 690 | } |
| 691 | |
| 692 | public OFOxmSctpSrc.Builder buildSctpSrc() { |
| 693 | throw new UnsupportedOperationException("OFOxmSctpSrc not supported in version 1.1"); |
| 694 | } |
| 695 | public OFOxmSctpSrc sctpSrc(TransportPort value) { |
| 696 | throw new UnsupportedOperationException("OFOxmSctpSrc not supported in version 1.1"); |
| 697 | } |
| 698 | |
| 699 | public OFOxmSctpSrcMasked.Builder buildSctpSrcMasked() { |
| 700 | throw new UnsupportedOperationException("OFOxmSctpSrcMasked not supported in version 1.1"); |
| 701 | } |
| 702 | public OFOxmSctpSrcMasked sctpSrcMasked(TransportPort value, TransportPort mask) { |
| 703 | throw new UnsupportedOperationException("OFOxmSctpSrcMasked not supported in version 1.1"); |
| 704 | } |
| 705 | |
| 706 | public OFOxmTcpDst.Builder buildTcpDst() { |
| 707 | throw new UnsupportedOperationException("OFOxmTcpDst not supported in version 1.1"); |
| 708 | } |
| 709 | public OFOxmTcpDst tcpDst(TransportPort value) { |
| 710 | throw new UnsupportedOperationException("OFOxmTcpDst not supported in version 1.1"); |
| 711 | } |
| 712 | |
| 713 | public OFOxmTcpDstMasked.Builder buildTcpDstMasked() { |
| 714 | throw new UnsupportedOperationException("OFOxmTcpDstMasked not supported in version 1.1"); |
| 715 | } |
| 716 | public OFOxmTcpDstMasked tcpDstMasked(TransportPort value, TransportPort mask) { |
| 717 | throw new UnsupportedOperationException("OFOxmTcpDstMasked not supported in version 1.1"); |
| 718 | } |
| 719 | |
| 720 | public OFOxmTcpSrc.Builder buildTcpSrc() { |
| 721 | throw new UnsupportedOperationException("OFOxmTcpSrc not supported in version 1.1"); |
| 722 | } |
| 723 | public OFOxmTcpSrc tcpSrc(TransportPort value) { |
| 724 | throw new UnsupportedOperationException("OFOxmTcpSrc not supported in version 1.1"); |
| 725 | } |
| 726 | |
| 727 | public OFOxmTcpSrcMasked.Builder buildTcpSrcMasked() { |
| 728 | throw new UnsupportedOperationException("OFOxmTcpSrcMasked not supported in version 1.1"); |
| 729 | } |
| 730 | public OFOxmTcpSrcMasked tcpSrcMasked(TransportPort value, TransportPort mask) { |
| 731 | throw new UnsupportedOperationException("OFOxmTcpSrcMasked not supported in version 1.1"); |
| 732 | } |
| 733 | |
| 734 | public OFOxmUdpDst.Builder buildUdpDst() { |
| 735 | throw new UnsupportedOperationException("OFOxmUdpDst not supported in version 1.1"); |
| 736 | } |
| 737 | public OFOxmUdpDst udpDst(TransportPort value) { |
| 738 | throw new UnsupportedOperationException("OFOxmUdpDst not supported in version 1.1"); |
| 739 | } |
| 740 | |
| 741 | public OFOxmUdpDstMasked.Builder buildUdpDstMasked() { |
| 742 | throw new UnsupportedOperationException("OFOxmUdpDstMasked not supported in version 1.1"); |
| 743 | } |
| 744 | public OFOxmUdpDstMasked udpDstMasked(TransportPort value, TransportPort mask) { |
| 745 | throw new UnsupportedOperationException("OFOxmUdpDstMasked not supported in version 1.1"); |
| 746 | } |
| 747 | |
| 748 | public OFOxmUdpSrc.Builder buildUdpSrc() { |
| 749 | throw new UnsupportedOperationException("OFOxmUdpSrc not supported in version 1.1"); |
| 750 | } |
| 751 | public OFOxmUdpSrc udpSrc(TransportPort value) { |
| 752 | throw new UnsupportedOperationException("OFOxmUdpSrc not supported in version 1.1"); |
| 753 | } |
| 754 | |
| 755 | public OFOxmUdpSrcMasked.Builder buildUdpSrcMasked() { |
| 756 | throw new UnsupportedOperationException("OFOxmUdpSrcMasked not supported in version 1.1"); |
| 757 | } |
| 758 | public OFOxmUdpSrcMasked udpSrcMasked(TransportPort value, TransportPort mask) { |
| 759 | throw new UnsupportedOperationException("OFOxmUdpSrcMasked not supported in version 1.1"); |
| 760 | } |
| 761 | |
| 762 | public OFOxmVlanPcp.Builder buildVlanPcp() { |
| 763 | throw new UnsupportedOperationException("OFOxmVlanPcp not supported in version 1.1"); |
| 764 | } |
| 765 | public OFOxmVlanPcp vlanPcp(VlanPcp value) { |
| 766 | throw new UnsupportedOperationException("OFOxmVlanPcp not supported in version 1.1"); |
| 767 | } |
| 768 | |
| 769 | public OFOxmVlanPcpMasked.Builder buildVlanPcpMasked() { |
| 770 | throw new UnsupportedOperationException("OFOxmVlanPcpMasked not supported in version 1.1"); |
| 771 | } |
| 772 | public OFOxmVlanPcpMasked vlanPcpMasked(VlanPcp value, VlanPcp mask) { |
| 773 | throw new UnsupportedOperationException("OFOxmVlanPcpMasked not supported in version 1.1"); |
| 774 | } |
| 775 | |
| 776 | public OFOxmVlanVid.Builder buildVlanVid() { |
| 777 | throw new UnsupportedOperationException("OFOxmVlanVid not supported in version 1.1"); |
| 778 | } |
| 779 | public OFOxmVlanVid vlanVid(OFVlanVidMatch value) { |
| 780 | throw new UnsupportedOperationException("OFOxmVlanVid not supported in version 1.1"); |
| 781 | } |
| 782 | |
| 783 | public OFOxmVlanVidMasked.Builder buildVlanVidMasked() { |
| 784 | throw new UnsupportedOperationException("OFOxmVlanVidMasked not supported in version 1.1"); |
| 785 | } |
| 786 | public OFOxmVlanVidMasked vlanVidMasked(OFVlanVidMatch value, OFVlanVidMatch mask) { |
| 787 | throw new UnsupportedOperationException("OFOxmVlanVidMasked not supported in version 1.1"); |
| 788 | } |
| 789 | |
| 790 | public OFOxmTunnelId.Builder buildTunnelId() { |
| 791 | throw new UnsupportedOperationException("OFOxmTunnelId not supported in version 1.1"); |
| 792 | } |
| 793 | public OFOxmTunnelId tunnelId(U64 value) { |
| 794 | throw new UnsupportedOperationException("OFOxmTunnelId not supported in version 1.1"); |
| 795 | } |
| 796 | |
| 797 | public OFOxmTunnelIdMasked.Builder buildTunnelIdMasked() { |
| 798 | throw new UnsupportedOperationException("OFOxmTunnelIdMasked not supported in version 1.1"); |
| 799 | } |
| 800 | public OFOxmTunnelIdMasked tunnelIdMasked(U64 value, U64 mask) { |
| 801 | throw new UnsupportedOperationException("OFOxmTunnelIdMasked not supported in version 1.1"); |
| 802 | } |
| 803 | |
| 804 | public OFMessageReader<OFOxm<?>> getReader() { |
| 805 | throw new UnsupportedOperationException("Reader<OFOxm<?>> not supported in version 1.1"); |
| 806 | } |
| 807 | |
| 808 | @SuppressWarnings("unchecked") |
| 809 | public <F extends OFValueType<F>> OFOxm<F> fromValue(F value, MatchField<F> field) { |
| 810 | switch (field.id) { |
| 811 | case ARP_OP: |
| 812 | return (OFOxm<F>)((Object)arpOp((ArpOpcode)((Object)value))); |
| 813 | case ARP_SHA: |
| 814 | return (OFOxm<F>)((Object)arpSha((MacAddress)((Object)value))); |
| 815 | case ARP_SPA: |
| 816 | return (OFOxm<F>)((Object)arpSpa((IPv4Address)((Object)value))); |
| 817 | case ARP_THA: |
| 818 | return (OFOxm<F>)((Object)arpTha((MacAddress)((Object)value))); |
| 819 | case ARP_TPA: |
| 820 | return (OFOxm<F>)((Object)arpTpa((IPv4Address)((Object)value))); |
| 821 | case BSN_EGR_PORT_GROUP_ID: |
| 822 | return (OFOxm<F>)((Object)bsnEgrPortGroupId((ClassId)((Object)value))); |
| 823 | case BSN_GLOBAL_VRF_ALLOWED: |
| 824 | return (OFOxm<F>)((Object)bsnGlobalVrfAllowed((OFBooleanValue)((Object)value))); |
| 825 | case BSN_IN_PORTS_128: |
| 826 | return (OFOxm<F>)((Object)bsnInPorts128((OFBitMask128)((Object)value))); |
| 827 | case BSN_L3_DST_CLASS_ID: |
| 828 | return (OFOxm<F>)((Object)bsnL3DstClassId((ClassId)((Object)value))); |
| 829 | case BSN_L3_INTERFACE_CLASS_ID: |
| 830 | return (OFOxm<F>)((Object)bsnL3InterfaceClassId((ClassId)((Object)value))); |
| 831 | case BSN_L3_SRC_CLASS_ID: |
| 832 | return (OFOxm<F>)((Object)bsnL3SrcClassId((ClassId)((Object)value))); |
| 833 | case BSN_LAG_ID: |
| 834 | return (OFOxm<F>)((Object)bsnLagId((LagId)((Object)value))); |
| 835 | case BSN_TCP_FLAGS: |
| 836 | return (OFOxm<F>)((Object)bsnTcpFlags((U16)((Object)value))); |
| 837 | case BSN_UDF0: |
| 838 | return (OFOxm<F>)((Object)bsnUdf0((UDF)((Object)value))); |
| 839 | case BSN_UDF1: |
| 840 | return (OFOxm<F>)((Object)bsnUdf1((UDF)((Object)value))); |
| 841 | case BSN_UDF2: |
| 842 | return (OFOxm<F>)((Object)bsnUdf2((UDF)((Object)value))); |
| 843 | case BSN_UDF3: |
| 844 | return (OFOxm<F>)((Object)bsnUdf3((UDF)((Object)value))); |
| 845 | case BSN_UDF4: |
| 846 | return (OFOxm<F>)((Object)bsnUdf4((UDF)((Object)value))); |
| 847 | case BSN_UDF5: |
| 848 | return (OFOxm<F>)((Object)bsnUdf5((UDF)((Object)value))); |
| 849 | case BSN_UDF6: |
| 850 | return (OFOxm<F>)((Object)bsnUdf6((UDF)((Object)value))); |
| 851 | case BSN_UDF7: |
| 852 | return (OFOxm<F>)((Object)bsnUdf7((UDF)((Object)value))); |
| 853 | case BSN_VLAN_XLATE_PORT_GROUP_ID: |
| 854 | return (OFOxm<F>)((Object)bsnVlanXlatePortGroupId((ClassId)((Object)value))); |
| 855 | case BSN_VRF: |
| 856 | return (OFOxm<F>)((Object)bsnVrf((VRF)((Object)value))); |
| 857 | case ETH_DST: |
| 858 | return (OFOxm<F>)((Object)ethDst((MacAddress)((Object)value))); |
| 859 | case ETH_SRC: |
| 860 | return (OFOxm<F>)((Object)ethSrc((MacAddress)((Object)value))); |
| 861 | case ETH_TYPE: |
| 862 | return (OFOxm<F>)((Object)ethType((EthType)((Object)value))); |
| 863 | case ICMPV4_CODE: |
| 864 | return (OFOxm<F>)((Object)icmpv4Code((ICMPv4Code)((Object)value))); |
| 865 | case ICMPV4_TYPE: |
| 866 | return (OFOxm<F>)((Object)icmpv4Type((ICMPv4Type)((Object)value))); |
| 867 | case ICMPV6_CODE: |
| 868 | return (OFOxm<F>)((Object)icmpv6Code((U8)((Object)value))); |
| 869 | case ICMPV6_TYPE: |
| 870 | return (OFOxm<F>)((Object)icmpv6Type((U8)((Object)value))); |
| 871 | case IN_PHY_PORT: |
| 872 | return (OFOxm<F>)((Object)inPhyPort((OFPort)((Object)value))); |
| 873 | case IN_PORT: |
| 874 | return (OFOxm<F>)((Object)inPort((OFPort)((Object)value))); |
| 875 | case IP_DSCP: |
| 876 | return (OFOxm<F>)((Object)ipDscp((IpDscp)((Object)value))); |
| 877 | case IP_ECN: |
| 878 | return (OFOxm<F>)((Object)ipEcn((IpEcn)((Object)value))); |
| 879 | case IP_PROTO: |
| 880 | return (OFOxm<F>)((Object)ipProto((IpProtocol)((Object)value))); |
| 881 | case IPV4_DST: |
| 882 | return (OFOxm<F>)((Object)ipv4Dst((IPv4Address)((Object)value))); |
| 883 | case IPV4_SRC: |
| 884 | return (OFOxm<F>)((Object)ipv4Src((IPv4Address)((Object)value))); |
| 885 | case IPV6_DST: |
| 886 | return (OFOxm<F>)((Object)ipv6Dst((IPv6Address)((Object)value))); |
| 887 | case IPV6_FLABEL: |
| 888 | return (OFOxm<F>)((Object)ipv6Flabel((IPv6FlowLabel)((Object)value))); |
| 889 | case IPV6_ND_SLL: |
| 890 | return (OFOxm<F>)((Object)ipv6NdSll((MacAddress)((Object)value))); |
| 891 | case IPV6_ND_TARGET: |
| 892 | return (OFOxm<F>)((Object)ipv6NdTarget((IPv6Address)((Object)value))); |
| 893 | case IPV6_ND_TLL: |
| 894 | return (OFOxm<F>)((Object)ipv6NdTll((MacAddress)((Object)value))); |
| 895 | case IPV6_SRC: |
| 896 | return (OFOxm<F>)((Object)ipv6Src((IPv6Address)((Object)value))); |
| 897 | case METADATA: |
| 898 | return (OFOxm<F>)((Object)metadata((OFMetadata)((Object)value))); |
| 899 | case MPLS_LABEL: |
| 900 | return (OFOxm<F>)((Object)mplsLabel((U32)((Object)value))); |
| 901 | case MPLS_TC: |
| 902 | return (OFOxm<F>)((Object)mplsTc((U8)((Object)value))); |
| 903 | case SCTP_DST: |
| 904 | return (OFOxm<F>)((Object)sctpDst((TransportPort)((Object)value))); |
| 905 | case SCTP_SRC: |
| 906 | return (OFOxm<F>)((Object)sctpSrc((TransportPort)((Object)value))); |
| 907 | case TCP_DST: |
| 908 | return (OFOxm<F>)((Object)tcpDst((TransportPort)((Object)value))); |
| 909 | case TCP_SRC: |
| 910 | return (OFOxm<F>)((Object)tcpSrc((TransportPort)((Object)value))); |
| 911 | case UDP_DST: |
| 912 | return (OFOxm<F>)((Object)udpDst((TransportPort)((Object)value))); |
| 913 | case UDP_SRC: |
| 914 | return (OFOxm<F>)((Object)udpSrc((TransportPort)((Object)value))); |
| 915 | case VLAN_PCP: |
| 916 | return (OFOxm<F>)((Object)vlanPcp((VlanPcp)((Object)value))); |
| 917 | case VLAN_VID: |
| 918 | return (OFOxm<F>)((Object)vlanVid((OFVlanVidMatch)((Object)value))); |
| 919 | case TUNNEL_ID: |
| 920 | return (OFOxm<F>)((Object)tunnelId((U64)((Object)value))); |
| 921 | default: |
| 922 | throw new IllegalArgumentException("No OXM known for match field " + field); |
| 923 | } |
| 924 | } |
| 925 | |
| 926 | @SuppressWarnings("unchecked") |
| 927 | public <F extends OFValueType<F>> OFOxm<F> fromValueAndMask(F value, F mask, MatchField<F> field) { |
| 928 | switch (field.id) { |
| 929 | case ARP_OP: |
| 930 | return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)value), (ArpOpcode)((Object)mask))); |
| 931 | case ARP_SHA: |
| 932 | return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask))); |
| 933 | case ARP_SPA: |
| 934 | return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask))); |
| 935 | case ARP_THA: |
| 936 | return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)value), (MacAddress)((Object)mask))); |
| 937 | case ARP_TPA: |
| 938 | return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask))); |
| 939 | case BSN_EGR_PORT_GROUP_ID: |
| 940 | return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask))); |
| 941 | case BSN_GLOBAL_VRF_ALLOWED: |
| 942 | return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)value), (OFBooleanValue)((Object)mask))); |
| 943 | case BSN_IN_PORTS_128: |
| 944 | return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)value), (OFBitMask128)((Object)mask))); |
| 945 | case BSN_L3_DST_CLASS_ID: |
| 946 | return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask))); |
| 947 | case BSN_L3_INTERFACE_CLASS_ID: |
| 948 | return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask))); |
| 949 | case BSN_L3_SRC_CLASS_ID: |
| 950 | return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)value), (ClassId)((Object)mask))); |
| 951 | case BSN_LAG_ID: |
| 952 | return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)value), (LagId)((Object)mask))); |
| 953 | case BSN_TCP_FLAGS: |
| 954 | return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)value), (U16)((Object)mask))); |
| 955 | case BSN_UDF0: |
| 956 | return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 957 | case BSN_UDF1: |
| 958 | return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 959 | case BSN_UDF2: |
| 960 | return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 961 | case BSN_UDF3: |
| 962 | return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 963 | case BSN_UDF4: |
| 964 | return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 965 | case BSN_UDF5: |
| 966 | return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 967 | case BSN_UDF6: |
| 968 | return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 969 | case BSN_UDF7: |
| 970 | return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)value), (UDF)((Object)mask))); |
| 971 | case BSN_VLAN_XLATE_PORT_GROUP_ID: |
| 972 | return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)value), (ClassId)((Object)mask))); |
| 973 | case BSN_VRF: |
| 974 | return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)value), (VRF)((Object)mask))); |
| 975 | case ETH_DST: |
| 976 | return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)value), (MacAddress)((Object)mask))); |
| 977 | case ETH_SRC: |
| 978 | return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)value), (MacAddress)((Object)mask))); |
| 979 | case ETH_TYPE: |
| 980 | return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)value), (EthType)((Object)mask))); |
| 981 | case ICMPV4_CODE: |
| 982 | return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)value), (ICMPv4Code)((Object)mask))); |
| 983 | case ICMPV4_TYPE: |
| 984 | return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)value), (ICMPv4Type)((Object)mask))); |
| 985 | case ICMPV6_CODE: |
| 986 | return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)value), (U8)((Object)mask))); |
| 987 | case ICMPV6_TYPE: |
| 988 | return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)value), (U8)((Object)mask))); |
| 989 | case IN_PHY_PORT: |
| 990 | return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)value), (OFPort)((Object)mask))); |
| 991 | case IN_PORT: |
| 992 | return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)value), (OFPort)((Object)mask))); |
| 993 | case IP_DSCP: |
| 994 | return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)value), (IpDscp)((Object)mask))); |
| 995 | case IP_ECN: |
| 996 | return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)value), (IpEcn)((Object)mask))); |
| 997 | case IP_PROTO: |
| 998 | return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)value), (IpProtocol)((Object)mask))); |
| 999 | case IPV4_DST: |
| 1000 | return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask))); |
| 1001 | case IPV4_SRC: |
| 1002 | return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)value), (IPv4Address)((Object)mask))); |
| 1003 | case IPV6_DST: |
| 1004 | return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask))); |
| 1005 | case IPV6_FLABEL: |
| 1006 | return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)value), (IPv6FlowLabel)((Object)mask))); |
| 1007 | case IPV6_ND_SLL: |
| 1008 | return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask))); |
| 1009 | case IPV6_ND_TARGET: |
| 1010 | return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask))); |
| 1011 | case IPV6_ND_TLL: |
| 1012 | return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)value), (MacAddress)((Object)mask))); |
| 1013 | case IPV6_SRC: |
| 1014 | return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)value), (IPv6Address)((Object)mask))); |
| 1015 | case METADATA: |
| 1016 | return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)value), (OFMetadata)((Object)mask))); |
| 1017 | case MPLS_LABEL: |
| 1018 | return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)value), (U32)((Object)mask))); |
| 1019 | case MPLS_TC: |
| 1020 | return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)value), (U8)((Object)mask))); |
| 1021 | case SCTP_DST: |
| 1022 | return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask))); |
| 1023 | case SCTP_SRC: |
| 1024 | return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask))); |
| 1025 | case TCP_DST: |
| 1026 | return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask))); |
| 1027 | case TCP_SRC: |
| 1028 | return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask))); |
| 1029 | case UDP_DST: |
| 1030 | return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)value), (TransportPort)((Object)mask))); |
| 1031 | case UDP_SRC: |
| 1032 | return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)value), (TransportPort)((Object)mask))); |
| 1033 | case VLAN_PCP: |
| 1034 | return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)value), (VlanPcp)((Object)mask))); |
| 1035 | case VLAN_VID: |
| 1036 | return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)value), (OFVlanVidMatch)((Object)mask))); |
| 1037 | case TUNNEL_ID: |
| 1038 | return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)value), (U64)((Object)mask))); |
| 1039 | default: |
| 1040 | throw new IllegalArgumentException("No OXM known for match field " + field); |
| 1041 | } |
| 1042 | } |
| 1043 | |
| 1044 | @SuppressWarnings("unchecked") |
| 1045 | public <F extends OFValueType<F>> OFOxm<F> fromMasked(Masked<F> masked, MatchField<F> field) { |
| 1046 | switch (field.id) { |
| 1047 | case ARP_OP: |
| 1048 | return (OFOxm<F>)((Object)arpOpMasked((ArpOpcode)((Object)(masked.getValue())), (ArpOpcode)((Object)(masked.getMask())))); |
| 1049 | case ARP_SHA: |
| 1050 | return (OFOxm<F>)((Object)arpShaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask())))); |
| 1051 | case ARP_SPA: |
| 1052 | return (OFOxm<F>)((Object)arpSpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask())))); |
| 1053 | case ARP_THA: |
| 1054 | return (OFOxm<F>)((Object)arpThaMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask())))); |
| 1055 | case ARP_TPA: |
| 1056 | return (OFOxm<F>)((Object)arpTpaMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask())))); |
| 1057 | case BSN_EGR_PORT_GROUP_ID: |
| 1058 | return (OFOxm<F>)((Object)bsnEgrPortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask())))); |
| 1059 | case BSN_GLOBAL_VRF_ALLOWED: |
| 1060 | return (OFOxm<F>)((Object)bsnGlobalVrfAllowedMasked((OFBooleanValue)((Object)(masked.getValue())), (OFBooleanValue)((Object)(masked.getMask())))); |
| 1061 | case BSN_IN_PORTS_128: |
| 1062 | return (OFOxm<F>)((Object)bsnInPorts128Masked((OFBitMask128)((Object)(masked.getValue())), (OFBitMask128)((Object)(masked.getMask())))); |
| 1063 | case BSN_L3_DST_CLASS_ID: |
| 1064 | return (OFOxm<F>)((Object)bsnL3DstClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask())))); |
| 1065 | case BSN_L3_INTERFACE_CLASS_ID: |
| 1066 | return (OFOxm<F>)((Object)bsnL3InterfaceClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask())))); |
| 1067 | case BSN_L3_SRC_CLASS_ID: |
| 1068 | return (OFOxm<F>)((Object)bsnL3SrcClassIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask())))); |
| 1069 | case BSN_LAG_ID: |
| 1070 | return (OFOxm<F>)((Object)bsnLagIdMasked((LagId)((Object)(masked.getValue())), (LagId)((Object)(masked.getMask())))); |
| 1071 | case BSN_TCP_FLAGS: |
| 1072 | return (OFOxm<F>)((Object)bsnTcpFlagsMasked((U16)((Object)(masked.getValue())), (U16)((Object)(masked.getMask())))); |
| 1073 | case BSN_UDF0: |
| 1074 | return (OFOxm<F>)((Object)bsnUdf0Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1075 | case BSN_UDF1: |
| 1076 | return (OFOxm<F>)((Object)bsnUdf1Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1077 | case BSN_UDF2: |
| 1078 | return (OFOxm<F>)((Object)bsnUdf2Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1079 | case BSN_UDF3: |
| 1080 | return (OFOxm<F>)((Object)bsnUdf3Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1081 | case BSN_UDF4: |
| 1082 | return (OFOxm<F>)((Object)bsnUdf4Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1083 | case BSN_UDF5: |
| 1084 | return (OFOxm<F>)((Object)bsnUdf5Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1085 | case BSN_UDF6: |
| 1086 | return (OFOxm<F>)((Object)bsnUdf6Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1087 | case BSN_UDF7: |
| 1088 | return (OFOxm<F>)((Object)bsnUdf7Masked((UDF)((Object)(masked.getValue())), (UDF)((Object)(masked.getMask())))); |
| 1089 | case BSN_VLAN_XLATE_PORT_GROUP_ID: |
| 1090 | return (OFOxm<F>)((Object)bsnVlanXlatePortGroupIdMasked((ClassId)((Object)(masked.getValue())), (ClassId)((Object)(masked.getMask())))); |
| 1091 | case BSN_VRF: |
| 1092 | return (OFOxm<F>)((Object)bsnVrfMasked((VRF)((Object)(masked.getValue())), (VRF)((Object)(masked.getMask())))); |
| 1093 | case ETH_DST: |
| 1094 | return (OFOxm<F>)((Object)ethDstMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask())))); |
| 1095 | case ETH_SRC: |
| 1096 | return (OFOxm<F>)((Object)ethSrcMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask())))); |
| 1097 | case ETH_TYPE: |
| 1098 | return (OFOxm<F>)((Object)ethTypeMasked((EthType)((Object)(masked.getValue())), (EthType)((Object)(masked.getMask())))); |
| 1099 | case ICMPV4_CODE: |
| 1100 | return (OFOxm<F>)((Object)icmpv4CodeMasked((ICMPv4Code)((Object)(masked.getValue())), (ICMPv4Code)((Object)(masked.getMask())))); |
| 1101 | case ICMPV4_TYPE: |
| 1102 | return (OFOxm<F>)((Object)icmpv4TypeMasked((ICMPv4Type)((Object)(masked.getValue())), (ICMPv4Type)((Object)(masked.getMask())))); |
| 1103 | case ICMPV6_CODE: |
| 1104 | return (OFOxm<F>)((Object)icmpv6CodeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask())))); |
| 1105 | case ICMPV6_TYPE: |
| 1106 | return (OFOxm<F>)((Object)icmpv6TypeMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask())))); |
| 1107 | case IN_PHY_PORT: |
| 1108 | return (OFOxm<F>)((Object)inPhyPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask())))); |
| 1109 | case IN_PORT: |
| 1110 | return (OFOxm<F>)((Object)inPortMasked((OFPort)((Object)(masked.getValue())), (OFPort)((Object)(masked.getMask())))); |
| 1111 | case IP_DSCP: |
| 1112 | return (OFOxm<F>)((Object)ipDscpMasked((IpDscp)((Object)(masked.getValue())), (IpDscp)((Object)(masked.getMask())))); |
| 1113 | case IP_ECN: |
| 1114 | return (OFOxm<F>)((Object)ipEcnMasked((IpEcn)((Object)(masked.getValue())), (IpEcn)((Object)(masked.getMask())))); |
| 1115 | case IP_PROTO: |
| 1116 | return (OFOxm<F>)((Object)ipProtoMasked((IpProtocol)((Object)(masked.getValue())), (IpProtocol)((Object)(masked.getMask())))); |
| 1117 | case IPV4_DST: |
| 1118 | return (OFOxm<F>)((Object)ipv4DstMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask())))); |
| 1119 | case IPV4_SRC: |
| 1120 | return (OFOxm<F>)((Object)ipv4SrcMasked((IPv4Address)((Object)(masked.getValue())), (IPv4Address)((Object)(masked.getMask())))); |
| 1121 | case IPV6_DST: |
| 1122 | return (OFOxm<F>)((Object)ipv6DstMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask())))); |
| 1123 | case IPV6_FLABEL: |
| 1124 | return (OFOxm<F>)((Object)ipv6FlabelMasked((IPv6FlowLabel)((Object)(masked.getValue())), (IPv6FlowLabel)((Object)(masked.getMask())))); |
| 1125 | case IPV6_ND_SLL: |
| 1126 | return (OFOxm<F>)((Object)ipv6NdSllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask())))); |
| 1127 | case IPV6_ND_TARGET: |
| 1128 | return (OFOxm<F>)((Object)ipv6NdTargetMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask())))); |
| 1129 | case IPV6_ND_TLL: |
| 1130 | return (OFOxm<F>)((Object)ipv6NdTllMasked((MacAddress)((Object)(masked.getValue())), (MacAddress)((Object)(masked.getMask())))); |
| 1131 | case IPV6_SRC: |
| 1132 | return (OFOxm<F>)((Object)ipv6SrcMasked((IPv6Address)((Object)(masked.getValue())), (IPv6Address)((Object)(masked.getMask())))); |
| 1133 | case METADATA: |
| 1134 | return (OFOxm<F>)((Object)metadataMasked((OFMetadata)((Object)(masked.getValue())), (OFMetadata)((Object)(masked.getMask())))); |
| 1135 | case MPLS_LABEL: |
| 1136 | return (OFOxm<F>)((Object)mplsLabelMasked((U32)((Object)(masked.getValue())), (U32)((Object)(masked.getMask())))); |
| 1137 | case MPLS_TC: |
| 1138 | return (OFOxm<F>)((Object)mplsTcMasked((U8)((Object)(masked.getValue())), (U8)((Object)(masked.getMask())))); |
| 1139 | case SCTP_DST: |
| 1140 | return (OFOxm<F>)((Object)sctpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask())))); |
| 1141 | case SCTP_SRC: |
| 1142 | return (OFOxm<F>)((Object)sctpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask())))); |
| 1143 | case TCP_DST: |
| 1144 | return (OFOxm<F>)((Object)tcpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask())))); |
| 1145 | case TCP_SRC: |
| 1146 | return (OFOxm<F>)((Object)tcpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask())))); |
| 1147 | case UDP_DST: |
| 1148 | return (OFOxm<F>)((Object)udpDstMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask())))); |
| 1149 | case UDP_SRC: |
| 1150 | return (OFOxm<F>)((Object)udpSrcMasked((TransportPort)((Object)(masked.getValue())), (TransportPort)((Object)(masked.getMask())))); |
| 1151 | case VLAN_PCP: |
| 1152 | return (OFOxm<F>)((Object)vlanPcpMasked((VlanPcp)((Object)(masked.getValue())), (VlanPcp)((Object)(masked.getMask())))); |
| 1153 | case VLAN_VID: |
| 1154 | return (OFOxm<F>)((Object)vlanVidMasked((OFVlanVidMatch)((Object)(masked.getValue())), (OFVlanVidMatch)((Object)(masked.getMask())))); |
| 1155 | case TUNNEL_ID: |
| 1156 | return (OFOxm<F>)((Object)tunnelIdMasked((U64)((Object)(masked.getValue())), (U64)((Object)(masked.getMask())))); |
| 1157 | default: |
| 1158 | return null; |
| 1159 | } |
| 1160 | } |
| 1161 | |
| 1162 | public OFVersion getVersion() { |
| 1163 | return OFVersion.OF_11; |
| 1164 | } |
| 1165 | } |