public class VxlanNI extends Object implements OFValueType<VxlanNI>
Modifier and Type | Field and Description |
---|---|
static VxlanNI |
FULL_MASK |
static VxlanNI |
NO_MASK |
static VxlanNI |
ZERO |
Modifier and Type | Method and Description |
---|---|
VxlanNI |
applyMask(VxlanNI mask) |
int |
compareTo(VxlanNI o) |
boolean |
equals(Object obj) |
int |
getLength() |
int |
getVni() |
int |
hashCode() |
static VxlanNI |
ofVni(int vni) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static VxlanNI |
read4Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write4Bytes(io.netty.buffer.ByteBuf c) |
public static final VxlanNI ZERO
public static final VxlanNI NO_MASK
public static final VxlanNI FULL_MASK
public static VxlanNI ofVni(int vni)
public int getVni()
public int getLength()
getLength
in interface OFValueType<VxlanNI>
public void write4Bytes(io.netty.buffer.ByteBuf c)
public static VxlanNI read4Bytes(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseError
public VxlanNI applyMask(VxlanNI mask)
applyMask
in interface OFValueType<VxlanNI>
public int compareTo(VxlanNI o)
compareTo
in interface Comparable<VxlanNI>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.