| Package | Description |
|---|---|
| org.onlab.packet |
Utilities for decoding and encoding packets of various network protocols
and encapsulations.
|
| Modifier and Type | Method and Description |
|---|---|
Ip6Address |
Ip6Prefix.address()
Returns the IPv6 address value of the prefix.
|
Ip6Address |
IpAddress.getIp6Address()
Gets the
Ip6Address view of the IP address. |
static Ip6Address |
Ip6Address.makeMaskedAddress(Ip6Address address,
int prefixLength)
Creates an IPv6 address by masking it with a network mask of given
mask length.
|
static Ip6Address |
Ip6Address.makeMaskPrefix(int prefixLength)
Creates an IPv6 network mask prefix.
|
static Ip6Address |
Ip6Address.valueOf(byte[] value)
Converts a byte array into an IPv6 address.
|
static Ip6Address |
Ip6Address.valueOf(byte[] value,
int offset)
Converts a byte array and a given offset from the beginning of the
array into an IPv6 address.
|
static Ip6Address |
Ip6Address.valueOf(InetAddress inetAddress)
Converts an InetAddress into an IPv6 address.
|
static Ip6Address |
Ip6Address.valueOf(String value)
Converts an IPv6 string literal (e.g., "1111:2222::8888") into an IP
address.
|
| Modifier and Type | Method and Description |
|---|---|
static Ip6Address |
Ip6Address.makeMaskedAddress(Ip6Address address,
int prefixLength)
Creates an IPv6 address by masking it with a network mask of given
mask length.
|
static Ip6Prefix |
Ip6Prefix.valueOf(Ip6Address address,
int prefixLength)
Converts an IPv6 address and a prefix length into an IPv6 prefix.
|
Copyright © 2016. All rights reserved.