- public static final Short OFPTT_ALL = 0xff;
- public static final Long ANY = Long.parseLong("ffffffff", 16);
- public static final Long OFPP_ANY = ANY;
- public static final Long OFPG_ANY = ANY;
- public static final Long OFPQ_ANY = ANY;
- public static final BigInteger DEFAULT_COOKIE = BigInteger.ZERO;
- public static final BigInteger DEFAULT_COOKIE_MASK = BigInteger.ZERO;
- public static final Long OFP_NO_BUFFER = 0xffffffffL;
- public static final Integer OFPCML_NO_BUFFER = 0xffff;
+ /** enum ofp_table: Table numbering, wildcard table used for table config, flow stats and flow deletes. */
+ public static final Uint8 OFPTT_ALL = Uint8.MAX_VALUE;
+ public static final Uint32 ANY = Uint32.MAX_VALUE;
+ /** Wildcard port used only for flow mod (delete) and flow stats requests. Selects
+ * all flows regardless of output port (including flows with no output port).*/
+ public static final Uint32 OFPP_ANY = ANY;
+ /** enum ofp_group: For OFPFC_DELETE* commands, require matching entries to include this as an
+ * output group. A value of OFPG_ANY indicates no restriction. */
+ public static final Uint32 OFPG_ANY = ANY;
+ /** enum ofp_group: Represents all groups for group delete commands. */
+ public static final Uint32 OFPG_ALL = Uint32.valueOf(0xfffffffcL).intern();
+ /** Refers to all queues configured at the specified port. */
+ public static final Uint32 OFPQ_ALL = ANY;
+ /** Represents all meters for stat requests commands. */
+ public static final Uint32 OFPM_ALL = ANY;
+ /** Default cookie. */
+ public static final Uint64 DEFAULT_COOKIE = Uint64.ZERO;
+ public static final Uint64 DEFAULT_COOKIE_MASK = Uint64.ZERO;
+ public static final FlowCookie DEFAULT_FLOW_COOKIE = new FlowCookie(DEFAULT_COOKIE);
+ public static final Uint16 DEFAULT_FLOW_PRIORITY = Uint16.valueOf(0x8000).intern();
+ /** Empty flow match. */
+ public static final Match EMPTY_MATCH = new MatchBuilder().build();