| Package | Description |
|---|---|
| org.onlab.packet |
Utilities for decoding and encoding packets of various network protocols
and encapsulations.
|
| org.onlab.packet.pim |
Utilities for managing PIM packets.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Ip4Address
A class representing an IPv4 address.
|
class |
Ip6Address
A class representing an IPv6 address.
|
| Modifier and Type | Field and Description |
|---|---|
protected IpAddress |
IGMPGroup.gaddr |
static IpAddress |
PIM.PIM_ADDRESS |
| Modifier and Type | Field and Description |
|---|---|
protected List<IpAddress> |
IGMPGroup.sources |
| Modifier and Type | Method and Description |
|---|---|
IpAddress |
IpPrefix.address()
Returns the IP address value of the prefix.
|
IpAddress |
IGMPGroup.getGaddr()
Get the multicast group address.
|
static IpAddress |
IpAddress.makeMaskedAddress(IpAddress address,
int prefixLength)
Creates an IP address by masking it with a network mask of given
mask length.
|
static IpAddress |
IpAddress.makeMaskPrefix(IpAddress.Version version,
int prefixLength)
Creates an IP network mask prefix.
|
static IpAddress |
IpAddress.valueOf(InetAddress inetAddress)
Converts an InetAddress into an IP address.
|
static IpAddress |
IpAddress.valueOf(int value)
Converts an integer into an IPv4 address.
|
static IpAddress |
IpAddress.valueOf(IpAddress.Version version,
byte[] value)
Converts a byte array into an IP address.
|
static IpAddress |
IpAddress.valueOf(IpAddress.Version version,
byte[] value,
int offset)
Converts a byte array and a given offset from the beginning of the
array into an IP address.
|
static IpAddress |
IpAddress.valueOf(String value)
Converts an IPv4 or IPv6 string literal (e.g., "10.2.3.4" or
"1111:2222::8888") into an IP address.
|
| Modifier and Type | Method and Description |
|---|---|
List<IpAddress> |
IGMPGroup.getSources()
Return the list of source addresses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IGMPGroup.addSource(IpAddress saddr)
Add a unicast source address to this message.
|
int |
IpAddress.compareTo(IpAddress o) |
boolean |
IpPrefix.contains(IpAddress other)
Determines whether a given IP address is contained within this prefix.
|
static IpAddress |
IpAddress.makeMaskedAddress(IpAddress address,
int prefixLength)
Creates an IP address by masking it with a network mask of given
mask length.
|
static IpPrefix |
IpPrefix.valueOf(IpAddress address,
int prefixLength)
Converts an IP address and a prefix length into an IP prefix.
|
| Constructor and Description |
|---|
IGMPGroup(IpAddress gaddr,
int auxInfo)
Initialize this object with a multicast group address and additional info.
|
IGMPQuery(IpAddress gaddr,
int auxInfo)
Create IGMP Query message.
|
IpPrefix(IpAddress address,
int prefixLength)
Constructor for given IP address, and a prefix length.
|
| Modifier and Type | Method and Description |
|---|---|
IpAddress |
PIMAddrUnicast.getAddr()
Get the address of this encoded address.
|
IpAddress |
PIMAddrSource.getAddr()
Get the address of this encoded address.
|
IpAddress |
PIMAddrGroup.getAddr()
Get the address of this encoded address.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PIMAddrUnicast.setAddr(IpAddress addr)
PIM Encoded Source Address.
|
Copyright © 2016. All rights reserved.