public final class LispSegmentLcafAddress extends LispLcafAddress
Instance ID type is defined in draft-ietf-lisp-lcaf-22 https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-8
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 = 2 | IID mask-len | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Instance ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = x | Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Modifier and Type | Class and Description |
|---|---|
static class |
LispSegmentLcafAddress.SegmentAddressBuilder |
static class |
LispSegmentLcafAddress.SegmentLcafAddressReader
Segment LCAF address reader class.
|
static class |
LispSegmentLcafAddress.SegmentLcafAddressWriter
Segment 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) |
LispAfiAddress |
getAddress()
Obtains address.
|
byte |
getIdMaskLength()
Obtains id mask length.
|
int |
getInstanceId()
Obtains instance id.
|
int |
hashCode() |
String |
toString() |
deserializeCommon, getFlag, getLength, getReserved1, getReserved2, getType, serializeCommon, updateLengthgetAfipublic LispAfiAddress getAddress()
public int getInstanceId()
public byte getIdMaskLength()
public int hashCode()
hashCode in class LispLcafAddresspublic boolean equals(Object obj)
equals in class LispLcafAddresspublic String toString()
toString in class LispLcafAddress