Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.ipv6 | |
inet.ipaddr.mac |
Modifier and Type | Method and Description |
---|---|
MACAddress |
MACAddressString.getAddress()
Produces the
MACAddress corresponding to this MACAddressString. |
MACAddress |
MACAddressString.toAddress()
Produces the
MACAddress corresponding to this MACAddressString. |
Constructor and Description |
---|
MACAddressString(MACAddress address) |
Modifier and Type | Method and Description |
---|---|
MACAddress |
IPv6Address.toEUI(boolean extended) |
Modifier and Type | Method and Description |
---|---|
IPv6AddressSection |
IPv6AddressNetwork.IPv6AddressCreator.createSection(MACAddress eui) |
Constructor and Description |
---|
IPv6Address(IPv6Address prefix,
MACAddress eui)
Constructs an IPv6 address from a modified EUI-64 (Extended Unique Identifier) address section and an IPv6 address section network prefix.
|
IPv6Address(IPv6AddressSection section,
MACAddress eui)
Constructs an IPv6 address from a modified EUI-64 (Extended Unique Identifier) address section and an IPv6 address section network prefix.
|
IPv6AddressSection(MACAddress eui)
Constructs the corresponding IPv6 address section from a modified EUI-64 (Extended Unique Identifier) address.
|
Modifier and Type | Method and Description |
---|---|
MACAddress |
MACAddress.adjustPrefixBySegment(boolean nextSegment) |
MACAddress |
MACAddress.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
MACAddress |
MACAddress.adjustPrefixLength(int adjustment) |
MACAddress |
MACAddress.adjustPrefixLength(int adjustment,
boolean zeroed) |
MACAddress |
MACAddress.applyPrefixLength(int prefixLength) |
MACAddress |
MACAddressNetwork.MACAddressCreator.createAddress(MACAddressSection section) |
MACAddress |
MACAddress.getLower() |
MACAddress |
MACAddress.getUpper() |
MACAddress |
MACAddress.increment(long increment) |
MACAddress |
MACAddress.removePrefixLength() |
MACAddress |
MACAddress.removePrefixLength(boolean zeroed) |
MACAddress |
MACAddress.replace(int startIndex,
int endIndex,
MACAddress replacement,
int replacementIndex)
Replaces segments starting from startIndex and ending before endIndex with the same number of segments starting at replacementStartIndex from the replacement section
|
MACAddress |
MACAddress.reverseBits(boolean perByte)
Use to produce:
"MSB format", "IBM format", "Token-Ring format", and "non-canonical form"
See RFC 2469 section 2
Also see https://en.wikipedia.org/wiki/MAC_address
|
MACAddress |
MACAddress.reverseBytes() |
MACAddress |
MACAddress.reverseBytesPerSegment() |
MACAddress |
MACAddress.reverseSegments() |
MACAddress |
MACAddress.setPrefixLength(int prefixLength) |
MACAddress |
MACAddress.setPrefixLength(int prefixLength,
boolean zeroed) |
MACAddress |
MACAddress.toEUI64(boolean asMAC)
Convert to IPv6 EUI-64 section
http://standards.ieee.org/develop/regauth/tut/eui64.pdf
|
MACAddress |
MACAddress.toOUIPrefixBlock()
Returns an address in which the range of values match the block for the OUI (organizationally unique identifier)
|
MACAddress |
MACAddress.toPrefixBlock() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<MACAddress> |
MACAddress.getIterable() |
java.util.Iterator<MACAddress> |
MACAddress.iterator() |
java.util.Iterator<MACAddress> |
MACAddress.prefixBlockIterator() |
Modifier and Type | Method and Description |
---|---|
MACAddress |
MACAddress.replace(int startIndex,
int endIndex,
MACAddress replacement,
int replacementIndex)
Replaces segments starting from startIndex and ending before endIndex with the same number of segments starting at replacementStartIndex from the replacement section
|