public final class LispListLcafAddress extends LispLcafAddress
List type is defined in draft-ietf-lisp-lcaf-22 https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-23
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 = 1 | Rsvd2 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = 1 | IPv4 Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... IPv4 Address | AFI = 2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPv6 Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... IPv6 Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... IPv6 Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ... IPv6 Address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Modifier and Type | Class and Description |
|---|---|
static class |
LispListLcafAddress.ListLcafAddressReader
List LCAF address reader class.
|
static class |
LispListLcafAddress.ListLcafAddressWriter
List LCAF address writer class.
|
LispLcafAddress.LcafAddressBuilder<T>, LispLcafAddress.LcafAddressReader, LispLcafAddress.LcafAddressWriterLispAfiAddress.AfiAddressReader, LispAfiAddress.AfiAddressWriterCOMMON_HEADER_SIZE| Constructor and Description |
|---|
LispListLcafAddress(byte reserved1,
byte reserved2,
byte flag,
List<LispAfiAddress> addresses)
Initializes list type LCAF address.
|
LispListLcafAddress(List<LispAfiAddress> addresses)
Initializes list type LCAF address.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<LispAfiAddress> |
getAddresses()
Obtains a set of AFI addresses including IPv4 and IPv6.
|
int |
hashCode() |
String |
toString() |
deserializeCommon, getFlag, getLength, getReserved1, getReserved2, getType, serializeCommon, updateLengthgetAfipublic LispListLcafAddress(List<LispAfiAddress> addresses)
addresses - a set of IPv4 and IPv6 addressespublic LispListLcafAddress(byte reserved1,
byte reserved2,
byte flag,
List<LispAfiAddress> addresses)
reserved1 - reserved1 fieldflag - flagreserved2 - reserved2 fieldaddresses - a set of IPv4 and IPv6 addressespublic List<LispAfiAddress> getAddresses()
public int hashCode()
hashCode in class LispLcafAddresspublic boolean equals(Object obj)
equals in class LispLcafAddresspublic String toString()
toString in class LispLcafAddress