public final class LispSourceDestLcafAddress extends LispLcafAddress
Source destination key type is defined in draft-ietf-lisp-lcaf-22 https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-20
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = 16387 | Rsvd1 | Flags | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type = 12 | Rsvd2 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Reserved | Source-ML | Dest-ML | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = x | Source-Prefix ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = x | Destination-Prefix ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Modifier and Type | Class and Description |
|---|---|
static class |
LispSourceDestLcafAddress.SourceDestAddressBuilder |
static class |
LispSourceDestLcafAddress.SourceDestLcafAddressReader
SourceDest LCAF address reader class.
|
static class |
LispSourceDestLcafAddress.SourceDestLcafAddressWriter
SourceDest LCAF address writer class.
|
LispLcafAddress.LcafAddressBuilder<T>, LispLcafAddress.LcafAddressReader, LispLcafAddress.LcafAddressWriterLispAfiAddress.AfiAddressReader, LispAfiAddress.AfiAddressWriterCOMMON_HEADER_SIZE| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte |
getDstMaskLength()
Obtains destination mask length.
|
LispAfiAddress |
getDstPrefix()
Obtains destination address prefix.
|
short |
getReserved()
Obtains reserved value.
|
byte |
getSrcMaskLength()
Obtains source mask length.
|
LispAfiAddress |
getSrcPrefix()
Obtains source address prefix.
|
int |
hashCode() |
String |
toString() |
deserializeCommon, getFlag, getLength, getReserved1, getReserved2, getType, serializeCommon, updateLengthgetAfipublic LispAfiAddress getSrcPrefix()
public LispAfiAddress getDstPrefix()
public byte getSrcMaskLength()
public byte getDstMaskLength()
public short getReserved()
public int hashCode()
hashCode in class LispLcafAddresspublic boolean equals(Object obj)
equals in class LispLcafAddresspublic String toString()
toString in class LispLcafAddress