1 package org.openkilda.wfm.topology.stats;
42 long firstNibble = cookie >>> 60 & 0xf;
43 long switchSeqId = cookie >>> 56 & 0xf;
44 long param = cookie >>> 48 & 0xf;
45 return (firstNibble == 0) && (switchSeqId > 0) && (param == 4);
51 long flowType = cookie >>> 60 & 0xf;
52 long nibbles = cookie >>> 48 & 0xfff;
53 return ((flowType == 2) || (flowType == 4) || (flowType == 8)) && nibbles == 0;
62 long direction = cookie >>> 60 & 0xff;
63 if ((direction != 2) && (direction != 4)) {
75 long direction = cookie >>> 52 & 0xf;
76 if ((direction != 0) && (direction != 8)) {
static Direction getLegacyDirection(long cookie)
static boolean isLegacyCookie(long cookie)
static boolean isKildaCookie(long cookie)
static Direction getKildaDirection(long cookie)
static Direction findDirection(long cookie)