Package | Description |
---|---|
com.hp.util.pkt |
Network packet parsing library.
|
Modifier and Type | Method and Description |
---|---|
DhcpOption.Code |
DhcpOption.code()
Returns the option code.
|
DhcpOption.Code[] |
DhcpOption.codes()
Returns a copy of the list of codes or null.
|
static DhcpOption.Code |
DhcpOption.Code.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DhcpOption.Code[] |
DhcpOption.Code.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EnumMap<DhcpOption.Code,DhcpOption> |
Dhcp.options()
Returns the options in the form of a map to allow access based on
DhcpOption . |
Constructor and Description |
---|
DhcpOption(DhcpOption.Code code)
Constructor for a no-payload option.
|
DhcpOption(DhcpOption.Code code,
byte[] bytes)
Constructor for a byte array (opaque) option.
|
DhcpOption(DhcpOption.Code code,
DhcpOption.Code[] codes)
Constructor for an option holding a list of
DhcpOption.Code values. |
DhcpOption(DhcpOption.Code code,
DhcpOption.Code[] codes)
Constructor for an option holding a list of
DhcpOption.Code values. |
DhcpOption(DhcpOption.Code code,
IpAddress ipAddr)
Constructor for a IP address option.
|
DhcpOption(DhcpOption.Code code,
IpAddress[] ipAddrs)
Constructor for an option holding a list of IP addresses.
|
DhcpOption(DhcpOption.Code code,
long number)
Constructor for a scalar (number) option.
|
DhcpOption(DhcpOption.Code code,
MacAddress macAddr)
Constructor for an option holding a MAC address.
|
DhcpOption(DhcpOption.Code code,
String name)
Constructor for a string option.
|
Copyright © 2015. All Rights Reserved.