Interface EncodeConstants
-
public interface EncodeConstantsStores common constants.- Author:
- michal.polkorab
-
-
Field Summary
Fields Modifier and Type Field Description static intEMPTY_LENGTHZero length - used when the length is updated later.static intEMPTY_VALUEEmpty (zero) int value.static intEXPERIMENTER_VALUECommon experimenter value.static byteGROUPS_IN_IPV4_ADDRESSNumber of groups in ipv4 address.static byteGROUPS_IN_IPV6_ADDRESSNumber of groups in ipv6 address.static byteMAC_ADDRESS_LENGTHLength of mac address.static byteMAX_PORT_NAME_LENGTHOF v1.0 maximal port name length.static byteOF_HELLO_MESSAGE_TYPE_VALUEOpenFlow Hello message type value.static byteOF_PACKETIN_MESSAGE_TYPE_VALUEOpenFlow PacketIn message type value.static byteOF10_VERSION_IDOpenFlow v1.0 wire protocol number.static byteOF13_VERSION_IDOpenFlow v1.3 wire protocol number.static byteOF14_VERSION_IDOpenFlow v1.4 wire protocol number.static byteOF15_VERSION_IDOpenFlow v1.5 wire protocol number.static intOFHEADER_LENGTH_INDEXIndex of length in Openflow header.static intOFHEADER_SIZESize of Openflow header.static org.opendaylight.yangtools.yang.common.Uint32ONF_EXPERIMENTER_IDExperimenter ID of ONF approved extensions.static intONFOXM_ET_TCP_FLAGSONFOXM_ET_TCP_FLAGS value.static bytePADDINGDefault OF padding (in bytes).static byteSIZE_OF_3_BYTESLength of 3 bytes.static byteSIZE_OF_BYTE_IN_BYTESLength of byte in bytes.static byteSIZE_OF_INT_IN_BYTESLength of int in bytes.static byteSIZE_OF_IPV6_ADDRESS_IN_BYTESLength of ipv6 address in bytes.static byteSIZE_OF_LONG_IN_BYTESLength of long in bytes.static byteSIZE_OF_SHORT_IN_BYTESLength of short in bytes.
-
-
-
Field Detail
-
PADDING
static final byte PADDING
Default OF padding (in bytes).- See Also:
- Constant Field Values
-
OF10_VERSION_ID
static final byte OF10_VERSION_ID
OpenFlow v1.0 wire protocol number.- See Also:
- Constant Field Values
-
OF13_VERSION_ID
static final byte OF13_VERSION_ID
OpenFlow v1.3 wire protocol number.- See Also:
- Constant Field Values
-
OF14_VERSION_ID
static final byte OF14_VERSION_ID
OpenFlow v1.4 wire protocol number.- See Also:
- Constant Field Values
-
OF15_VERSION_ID
static final byte OF15_VERSION_ID
OpenFlow v1.5 wire protocol number.- See Also:
- Constant Field Values
-
OF_HELLO_MESSAGE_TYPE_VALUE
static final byte OF_HELLO_MESSAGE_TYPE_VALUE
OpenFlow Hello message type value.- See Also:
- Constant Field Values
-
OF_PACKETIN_MESSAGE_TYPE_VALUE
static final byte OF_PACKETIN_MESSAGE_TYPE_VALUE
OpenFlow PacketIn message type value.- See Also:
- Constant Field Values
-
OFHEADER_LENGTH_INDEX
static final int OFHEADER_LENGTH_INDEX
Index of length in Openflow header.- See Also:
- Constant Field Values
-
OFHEADER_SIZE
static final int OFHEADER_SIZE
Size of Openflow header.- See Also:
- Constant Field Values
-
EMPTY_LENGTH
static final int EMPTY_LENGTH
Zero length - used when the length is updated later.- See Also:
- Constant Field Values
-
MAC_ADDRESS_LENGTH
static final byte MAC_ADDRESS_LENGTH
Length of mac address.- See Also:
- Constant Field Values
-
GROUPS_IN_IPV4_ADDRESS
static final byte GROUPS_IN_IPV4_ADDRESS
Number of groups in ipv4 address.- See Also:
- Constant Field Values
-
GROUPS_IN_IPV6_ADDRESS
static final byte GROUPS_IN_IPV6_ADDRESS
Number of groups in ipv6 address.- See Also:
- Constant Field Values
-
SIZE_OF_IPV6_ADDRESS_IN_BYTES
static final byte SIZE_OF_IPV6_ADDRESS_IN_BYTES
Length of ipv6 address in bytes.- See Also:
- Constant Field Values
-
SIZE_OF_LONG_IN_BYTES
static final byte SIZE_OF_LONG_IN_BYTES
Length of long in bytes.- See Also:
- Constant Field Values
-
SIZE_OF_INT_IN_BYTES
static final byte SIZE_OF_INT_IN_BYTES
Length of int in bytes.- See Also:
- Constant Field Values
-
SIZE_OF_SHORT_IN_BYTES
static final byte SIZE_OF_SHORT_IN_BYTES
Length of short in bytes.- See Also:
- Constant Field Values
-
SIZE_OF_BYTE_IN_BYTES
static final byte SIZE_OF_BYTE_IN_BYTES
Length of byte in bytes.- See Also:
- Constant Field Values
-
SIZE_OF_3_BYTES
static final byte SIZE_OF_3_BYTES
Length of 3 bytes.- See Also:
- Constant Field Values
-
EMPTY_VALUE
static final int EMPTY_VALUE
Empty (zero) int value.- See Also:
- Constant Field Values
-
EXPERIMENTER_VALUE
static final int EXPERIMENTER_VALUE
Common experimenter value.- See Also:
- Constant Field Values
-
MAX_PORT_NAME_LENGTH
static final byte MAX_PORT_NAME_LENGTH
OF v1.0 maximal port name length.- See Also:
- Constant Field Values
-
ONF_EXPERIMENTER_ID
static final org.opendaylight.yangtools.yang.common.Uint32 ONF_EXPERIMENTER_ID
Experimenter ID of ONF approved extensions.
-
ONFOXM_ET_TCP_FLAGS
static final int ONFOXM_ET_TCP_FLAGS
ONFOXM_ET_TCP_FLAGS value.- See Also:
- Constant Field Values
-
-