+ private static FlowWildcardsV10 createWildcards(long input) {\r
+ boolean _iNPORT = (input & (1 << 0)) != 0;\r
+ boolean _dLVLAN = (input & (1 << 1)) != 0;\r
+ boolean _dLSRC = (input & (1 << 2)) != 0;\r
+ boolean _dLDST = (input & (1 << 3)) != 0;\r
+ boolean _dLTYPE = (input & (1 << 4)) != 0;\r
+ boolean _nWPROTO = (input & (1 << 5)) != 0;\r
+ boolean _tPSRC = (input & (1 << 6)) != 0;\r
+ boolean _tPDST = (input & (1 << 7)) != 0;\r
+ boolean _dLVLANPCP = (input & (1 << 20)) != 0;\r
+ boolean _nWTOS = (input & (1 << 21)) != 0;\r
+ int allBits = (1 << 22) - 1;\r
+ boolean _aLL = (input & allBits) == allBits;\r
+ return new FlowWildcardsV10(_aLL, _dLDST, _dLSRC, _dLTYPE, _dLVLAN,\r
+ _dLVLANPCP, _iNPORT, _nWPROTO, _nWTOS, _tPDST, _tPSRC);\r
+ }\r
+ \r
+ private static short decodeNwSrcMask(long input) {\r
+ return (short) Math.max(32 - ((input & NW_SRC_MASK) >> NW_SRC_SHIFT), 0);\r
+ }\r
+ \r
+ private static short decodeNwDstMask(long input) {\r
+ return (short) Math.max(32 - ((input & NW_DST_MASK) >> NW_DST_SHIFT), 0);\r
+ }\r
+ \r