public final class LispAppDataLcafAddress extends LispLcafAddress
Application data type is defined in draft-ietf-lisp-lcaf-22 https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-29
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 = 4 | Rsvd2 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IP TOS, IPv6 TC, or Flow Label | Protocol | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local Port (lower-range) | Local Port (upper-range) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Remote Port (lower-range) | Remote Port (upper-range) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = x | Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Modifier and Type | Class and Description |
|---|---|
static class |
LispAppDataLcafAddress.AppDataAddressBuilder |
static class |
LispAppDataLcafAddress.AppDataLcafAddressReader
Application data LCAF address reader class.
|
static class |
LispAppDataLcafAddress.AppDataLcafAddressWriter
Application data 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.
|
int |
getIpTos()
Obtains IP type of service.
|
short |
getLocalPortHigh()
Obtains high-ranged local port number.
|
short |
getLocalPortLow()
Obtains low-ranged local port number.
|
byte |
getProtocol()
Obtains protocol number.
|
short |
getRemotePortHigh()
Obtains high-ranged remote port number.
|
short |
getRemotePortLow()
Obtains low-ranged remote port number.
|
int |
hashCode() |
String |
toString() |
deserializeCommon, getFlag, getLength, getReserved1, getReserved2, getType, serializeCommon, updateLengthgetAfipublic byte getProtocol()
public int getIpTos()
public short getLocalPortLow()
public short getLocalPortHigh()
public short getRemotePortLow()
public short getRemotePortHigh()
public LispAfiAddress getAddress()
public int hashCode()
hashCode in class LispLcafAddresspublic boolean equals(Object obj)
equals in class LispLcafAddresspublic String toString()
toString in class LispLcafAddress