- DHCPACK - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPBadPacketException - Exception in org.dhcp4java
-
Thrown to indicate that a DHCP datagram is malformed.
- DHCPBadPacketException() - Constructor for exception org.dhcp4java.DHCPBadPacketException
-
Constructs an DHCPBadPacketException with no detail message.
- DHCPBadPacketException(String) - Constructor for exception org.dhcp4java.DHCPBadPacketException
-
Constructs an DHCPBadPacketException with the specified detail
message.
- DHCPBadPacketException(String, Throwable) - Constructor for exception org.dhcp4java.DHCPBadPacketException
-
Constructs a new exception with the specified detail message and cause.
- DHCPBadPacketException(Throwable) - Constructor for exception org.dhcp4java.DHCPBadPacketException
-
Constructs a new exception with the specified cause and a detail message of
(cause==null ?
- DHCPClient - Class in org.dhcp4java.examples
-
Example of DHCP Client (under construction).
- DHCPConstants - Class in org.dhcp4java
-
Class holding all DHCP constants.
- DHCPCoreServer - Class in org.dhcp4java
-
A simple generic DHCP Server.
- DHCPDECLINE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPDISCOVER - Static variable in class org.dhcp4java.DHCPConstants
-
DHCP MESSAGE CODES
- DHCPFORCERENEW - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPINFORM - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPLEASEACTIVE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPLEASEQUERY - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPLEASEUNASSIGNED - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPLEASEUNKNOWN - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPNAK - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPOFFER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPOption - Class in org.dhcp4java
-
Class for manipulating DHCP options (used internally).
- DHCPOption(byte, byte[], boolean) - Constructor for class org.dhcp4java.DHCPOption
-
Constructor for DHCPOption.
- DHCPOption(byte, byte[]) - Constructor for class org.dhcp4java.DHCPOption
-
Constructor for DHCPOption.
- DHCPPacket - Class in org.dhcp4java
-
The basic class for manipulating DHCP packets.
- DHCPPacket() - Constructor for class org.dhcp4java.DHCPPacket
-
Constructor for the DHCPPacket class.
- DHCPRELEASE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPREQUEST - Static variable in class org.dhcp4java.DHCPConstants
-
- DHCPResponseFactory - Class in org.dhcp4java
-
This class provides some standard factories for DHCP responses.
- DHCPServerInitException - Exception in org.dhcp4java
-
Thrown to indicate there was a problem starting the DHCP Server.
- DHCPServerInitException() - Constructor for exception org.dhcp4java.DHCPServerInitException
-
- DHCPServerInitException(String) - Constructor for exception org.dhcp4java.DHCPServerInitException
-
- DHCPServerInitException(Throwable) - Constructor for exception org.dhcp4java.DHCPServerInitException
-
- DHCPServerInitException(String, Throwable) - Constructor for exception org.dhcp4java.DHCPServerInitException
-
- DHCPServlet - Class in org.dhcp4java
-
General Interface for a "DHCP Servlet"
Normal use is to override the doXXX() or service()
method to provide your own application logic.
- DHCPServlet() - Constructor for class org.dhcp4java.DHCPServlet
-
- DHCPSniffer - Class in org.dhcp4java.examples
-
A simple DHCP sniffer.
- DHCPSnifferServlet - Class in org.dhcp4java.examples
-
A simple DHCP sniffer based on DHCP servlets.
- DHCPSnifferServlet() - Constructor for class org.dhcp4java.examples.DHCPSnifferServlet
-
- DHO_ALL_SUBNETS_LOCAL - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_ARP_CACHE_TIMEOUT - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_ASSOCIATED_IP - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_AUTO_CONFIGURE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_BOOT_SIZE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_BOOTFILE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_BROADCAST_ADDRESS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_CLASSLESS_ROUTE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_CLIENT_LAST_TRANSACTION_TIME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_COOKIE_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DEFAULT_IP_TTL - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DEFAULT_TCP_TTL - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_AGENT_OPTIONS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_CLIENT_IDENTIFIER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_LEASE_TIME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_MAX_MESSAGE_SIZE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_MESSAGE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_MESSAGE_TYPE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_OPTION_OVERLOAD - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_PARAMETER_REQUEST_LIST - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_REBINDING_TIME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_RENEWAL_TIME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_REQUESTED_ADDRESS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DHCP_SERVER_IDENTIFIER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DOMAIN_NAME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DOMAIN_NAME_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_DOMAIN_SEARCH - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_END - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_EXTENSIONS_PATH - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_FINGER_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_FONT_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_FQDN - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_HOST_NAME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_IEEE802_3_ENCAPSULATION - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_IMPRESS_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_INTERFACE_MTU - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_IP_FORWARDING - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_IRC_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_LOG_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_LPR_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_MASK_SUPPLIER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_MAX_DGRAM_REASSEMBLY - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_MERIT_DUMP - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_MOBILE_IP_HOME_AGENT - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NAME_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NAME_SERVICE_SEARCH - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NDS_CONTEXT - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NDS_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NDS_TREE_NAME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NETBIOS_DD_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NETBIOS_NAME_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NETBIOS_NODE_TYPE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NETBIOS_SCOPE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NIS_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NISPLUS_DOMAIN - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NISPLUS_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NNTP_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NON_LOCAL_SOURCE_ROUTING - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NTP_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NWIP_DOMAIN_NAME - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_NWIP_SUBOPTIONS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_PAD - Static variable in class org.dhcp4java.DHCPConstants
-
DHCP OPTIONS CODE
- DHO_PATH_MTU_AGING_TIMEOUT - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_PATH_MTU_PLATEAU_TABLE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_PERFORM_MASK_DISCOVERY - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_POLICY_FILTER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_POP3_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_RESOURCE_LOCATION_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_ROOT_PATH - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_ROUTER_DISCOVERY - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_ROUTER_SOLICITATION_ADDRESS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_ROUTERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_SMTP_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_STATIC_ROUTES - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_STDA_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_STREETTALK_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_SUBNET_MASK - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_SUBNET_SELECTION - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_SWAP_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_TCP_KEEPALIVE_GARBAGE - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_TCP_KEEPALIVE_INTERVAL - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_TFTP_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_TIME_OFFSET - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_TIME_SERVERS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_TRAILER_ENCAPSULATION - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_USER_AUTHENTICATION_PROTOCOL - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_USER_CLASS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_VENDOR_CLASS_IDENTIFIER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_VENDOR_ENCAPSULATED_OPTIONS - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_WWW_SERVER - Static variable in class org.dhcp4java.DHCPConstants
-
- DHO_X_DISPLAY_MANAGER - Static variable in class org.dhcp4java.DHCPConstants
-
- dispatch() - Method in class org.dhcp4java.DHCPCoreServer
-
- doDecline(DHCPPacket) - Method in class org.dhcp4java.DHCPServlet
-
Process DECLINE request.
- doDiscover(DHCPPacket) - Method in class org.dhcp4java.DHCPServlet
-
Process DISCOVER request.
- doInform(DHCPPacket) - Method in class org.dhcp4java.DHCPServlet
-
Process INFORM request.
- doRelease(DHCPPacket) - Method in class org.dhcp4java.DHCPServlet
-
Process RELEASE request.
- doRequest(DHCPPacket) - Method in class org.dhcp4java.DHCPServlet
-
Process REQUEST request.
- getAddr() - Method in class org.dhcp4java.InetCidr
-
- getAddress() - Method in class org.dhcp4java.DHCPPacket
-
Returns the IP address of the machine to which this datagram is being sent
or from which the datagram was received.
- getAddrLong() - Method in class org.dhcp4java.InetCidr
-
- getAddrPort() - Method in class org.dhcp4java.DHCPPacket
-
Syntactic sugar for getAddress/getPort.
- getBootNamesMap() - Static method in class org.dhcp4java.DHCPConstants
-
Returns a map associating a BootCode and the user-readable name.
- getChaddr() - Method in class org.dhcp4java.DHCPPacket
-
Returns the chaddr field (Client hardware address - typically MAC address).
- getChaddrAsHex() - Method in class org.dhcp4java.DHCPPacket
-
Returns the chaddr field (Client hardware address - typically MAC address)
as a hex string.
- getCiaddr() - Method in class org.dhcp4java.DHCPPacket
-
Returns the ciaddr field (Client IP Address).
- getCiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
-
Returns the ciaddr field (Client IP Address).
- getCode() - Method in class org.dhcp4java.DHCPOption
-
Return the code field (byte).
- getComment() - Method in class org.dhcp4java.DHCPPacket
-
Returns the comment associated to this packet.
- getDefaultSocketAddress(DHCPPacket, byte) - Static method in class org.dhcp4java.DHCPResponseFactory
-
Calculates the addres/port to which the response must be sent, according to
rfc 2131, section 4.1.
- getDhcpCodesMap() - Static method in class org.dhcp4java.DHCPConstants
-
Returns a map associating a DHCP code and the user-readable name.
- getDHCPMessageType() - Method in class org.dhcp4java.DHCPPacket
-
Return the DHCP Option Type.
- getDhoName(byte) - Static method in class org.dhcp4java.DHCPConstants
-
Converts a DHCP code into a user-readable DHCP option name.
- getDhoNamesMap() - Static method in class org.dhcp4java.DHCPConstants
-
Returns a map associating a DHCP option code and the user-readable name.
- getDhoNamesReverse(String) - Static method in class org.dhcp4java.DHCPConstants
-
Converts a DHCP option name into the option code.
- getDhoNamesReverseMap() - Static method in class org.dhcp4java.DHCPConstants
-
Returns a map associating a user-readable DHCP option name and the option
code.
- getFile() - Method in class org.dhcp4java.DHCPPacket
-
Returns the file field (Boot File Name) as String.
- getFileRaw() - Method in class org.dhcp4java.DHCPPacket
-
Returns the file field (Boot File Name).
- getFlags() - Method in class org.dhcp4java.DHCPPacket
-
Returns the flags field.
- getGiaddr() - Method in class org.dhcp4java.DHCPPacket
-
Returns the giaddr field (Relay agent IP address).
- getGiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
-
Returns the giaddr field (Relay agent IP address).
- getHardwareAddress() - Method in class org.dhcp4java.DHCPPacket
-
Return the hardware address (@MAC) as an HardwareAddress
object.
- getHardwareAddress() - Method in class org.dhcp4java.HardwareAddress
-
- getHardwareAddressByString(String) - Static method in class org.dhcp4java.HardwareAddress
-
Parse the MAC address in hex format, split by ':'.
- getHardwareAddressHex() - Method in class org.dhcp4java.HardwareAddress
-
- getHardwareType() - Method in class org.dhcp4java.HardwareAddress
-
- getHlen() - Method in class org.dhcp4java.DHCPPacket
-
Returns the hlen field (Hardware address length).
- getHops() - Method in class org.dhcp4java.DHCPPacket
-
Returns the hops field.
- getHostAddress(InetAddress) - Static method in class org.dhcp4java.Util
-
Faster version than InetAddress.getHostAddress().
- getHtype() - Method in class org.dhcp4java.DHCPPacket
-
Returns the htype field (Hardware address length).
- getHtypesMap() - Static method in class org.dhcp4java.DHCPConstants
-
Returns a map associating a HType and the user-readable name.
- getInetSocketAddress(Properties) - Method in class org.dhcp4java.DHCPCoreServer
-
Returns the InetSocketAddress for the server (client-side).
- getMask() - Method in class org.dhcp4java.InetCidr
-
- getOp() - Method in class org.dhcp4java.DHCPPacket
-
Returns the op field (Message op code).
- getOption(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns the option as DHCPOption object.
- getOptionAsByte(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as Byte format.
- getOptionAsBytes(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as Byte array format.
- getOptionAsInetAddr(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as InetAddress format.
- getOptionAsInetAddrs(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as InetAddress array format.
- getOptionAsInteger(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as Integer format.
- getOptionAsNum(byte) - Method in class org.dhcp4java.DHCPPacket
-
Wrapper function for getValueAsNum() in DHCPOption.
- getOptionAsShort(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as Short format.
- getOptionAsShorts(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as Short array format.
- getOptionAsString(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns a DHCP Option as String format.
- getOptionFormat(byte) - Static method in class org.dhcp4java.DHCPOption
-
Returns the type of the option based on the option code.
- getOptionRaw(byte) - Method in class org.dhcp4java.DHCPPacket
-
Returns the option as raw byte[] buffer.
- getOptionsArray() - Method in class org.dhcp4java.DHCPPacket
-
Return an array of all DHCP options.
- getOptionsCollection() - Method in class org.dhcp4java.DHCPPacket
-
Return an ordered list/collection of all options.
- getPacket(DatagramPacket) - Static method in class org.dhcp4java.DHCPPacket
-
Factory for creating DHCPPacket objects by parsing a
DatagramPacket object.
- getPacket(byte[], int, int, boolean) - Static method in class org.dhcp4java.DHCPPacket
-
Factory for creating DHCPPacket objects by parsing a
byte[] e.g. from a datagram.
- getPadding() - Method in class org.dhcp4java.DHCPPacket
-
Returns the padding portion of the packet.
- getPort() - Method in class org.dhcp4java.DHCPPacket
-
Returns the port number on the remote host to which this datagram is being
sent or from which the datagram was received.
- getSecs() - Method in class org.dhcp4java.DHCPPacket
-
Returns the secs field (seconds elapsed).
- getServer() - Method in class org.dhcp4java.DHCPServlet
-
- getSiaddr() - Method in class org.dhcp4java.DHCPPacket
-
Returns the siaddr field (IP address of next server).
- getSiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
-
Returns the siaddr field (IP address of next server).
- getSname() - Method in class org.dhcp4java.DHCPPacket
-
Returns the sname field (Optional server host name) as String.
- getSnameRaw() - Method in class org.dhcp4java.DHCPPacket
-
Returns the sname field (Optional server host name).
- getSockAddress() - Method in class org.dhcp4java.DHCPCoreServer
-
- getValue() - Method in class org.dhcp4java.DHCPOption
-
- getValueAsByte() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as Byte format.
- getValueAsBytes() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as Byte array format.
- getValueAsInetAddr() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as InetAddress format.
- getValueAsInetAddrs() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as InetAddress array format.
- getValueAsInt() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as Integer format.
- getValueAsNum() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as Integer format, but is usable for any numerical
type: int, short or byte.
- getValueAsShort() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as Short format.
- getValueAsShorts() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as Short array format.
- getValueAsString() - Method in class org.dhcp4java.DHCPOption
-
Returns a DHCP Option as String format.
- getValueFast() - Method in class org.dhcp4java.DHCPOption
-
- getXid() - Method in class org.dhcp4java.DHCPPacket
-
Returns the xid field (Transaction ID).
- getYiaddr() - Method in class org.dhcp4java.DHCPPacket
-
Returns the yiaddr field ('your' IP address).
- getYiaddrRaw() - Method in class org.dhcp4java.DHCPPacket
-
Returns the yiaddr field ('your' IP address).
- sendResponse(DatagramPacket) - Method in class org.dhcp4java.DHCPCoreServer
-
Send back response packet to client.
- serialize() - Method in class org.dhcp4java.DHCPPacket
-
Converts the object to a byte array ready to be sent on the wire.
- serialize(int, int) - Method in class org.dhcp4java.DHCPPacket
-
Converts the object to a byte array ready to be sent on the wire.
- SERVER_ADDRESS - Static variable in class org.dhcp4java.DHCPCoreServer
-
- SERVER_THREADS - Static variable in class org.dhcp4java.DHCPCoreServer
-
- SERVER_THREADS_KEEPALIVE - Static variable in class org.dhcp4java.DHCPCoreServer
-
- SERVER_THREADS_MAX - Static variable in class org.dhcp4java.DHCPCoreServer
-
- service(DHCPPacket) - Method in class org.dhcp4java.DHCPServlet
-
General method for parsing a DHCP request.
- service(DHCPPacket) - Method in class org.dhcp4java.examples.DHCPSnifferServlet
-
Print received packet as INFO log, and do not respnd.
- serviceDatagram(DatagramPacket) - Method in class org.dhcp4java.DHCPServlet
-
Low-level method for receiving a UDP Daragram and sending one back.
- setAddress(InetAddress) - Method in class org.dhcp4java.DHCPPacket
-
Sets the IP address of the machine to which this datagram is being sent.
- setAddrPort(InetSocketAddress) - Method in class org.dhcp4java.DHCPPacket
-
Syntactic sugar for setAddress/setPort.
- setChaddr(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the chaddr field (Client hardware address - typically MAC address).
- setChaddrHex(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the chaddr field - from an hex String.
- setCiaddr(InetAddress) - Method in class org.dhcp4java.DHCPPacket
-
Sets the ciaddr field (Client IP Address).
- setCiaddr(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the ciaddr field (Client IP Address).
- setCiaddrRaw(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the ciaddr field (Client IP Address).
- setComment(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the comment associated to this packet.
- setDhcp(boolean) - Method in class org.dhcp4java.DHCPPacket
-
Sets the isDhcp flag.
- setDHCPMessageType(byte) - Method in class org.dhcp4java.DHCPPacket
-
Sets the DHCP Option Type.
- setFile(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the file field (Boot File Name) as String.
- setFileRaw(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the file field (Boot File Name) as String.
- setFlags(short) - Method in class org.dhcp4java.DHCPPacket
-
Sets the flags field.
- setGiaddr(InetAddress) - Method in class org.dhcp4java.DHCPPacket
-
Sets the giaddr field (Relay agent IP address).
- setGiaddr(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the giaddr field (Relay agent IP address).
- setGiaddrRaw(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the giaddr field (Relay agent IP address).
- setHlen(byte) - Method in class org.dhcp4java.DHCPPacket
-
Sets the hlen field (Hardware address length).
- setHops(byte) - Method in class org.dhcp4java.DHCPPacket
-
Sets the hops field.
- setHtype(byte) - Method in class org.dhcp4java.DHCPPacket
-
Sets the htype field (Hardware address length).
- setOp(byte) - Method in class org.dhcp4java.DHCPPacket
-
Sets the op field (Message op code).
- setOption(DHCPOption) - Method in class org.dhcp4java.DHCPPacket
-
Sets the option specified for the option.
- setOptionAsByte(byte, byte) - Method in class org.dhcp4java.DHCPPacket
-
Sets a DHCP Option as Byte format.
- setOptionAsInetAddress(byte, InetAddress) - Method in class org.dhcp4java.DHCPPacket
-
Sets a DHCP Option as InetAddress format.
- setOptionAsInetAddress(byte, String) - Method in class org.dhcp4java.DHCPPacket
-
Sets a DHCP Option as InetAddress format.
- setOptionAsInetAddresses(byte, InetAddress[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets a DHCP Option as InetAddress array format.
- setOptionAsInt(byte, int) - Method in class org.dhcp4java.DHCPPacket
-
Sets a DHCP Option as Integer format.
- setOptionAsShort(byte, short) - Method in class org.dhcp4java.DHCPPacket
-
Sets a DHCP Option as Short format.
- setOptionAsString(byte, String) - Method in class org.dhcp4java.DHCPPacket
-
Sets a DHCP Option as String format.
- setOptionRaw(byte, byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the option specified for the option.
- setOptions(DHCPOption[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets an array of options.
- setOptions(Collection<DHCPOption>) - Method in class org.dhcp4java.DHCPPacket
-
Sets a Collection of options.
- setPadding(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the padding buffer.
- setPaddingWithZeroes(int) - Method in class org.dhcp4java.DHCPPacket
-
Sets the padding buffer with length zero bytes.
- setPort(int) - Method in class org.dhcp4java.DHCPPacket
-
Sets the port number on the remote host to which this datagram is being
sent.
- setSecs(short) - Method in class org.dhcp4java.DHCPPacket
-
Sets the secs field (seconds elapsed).
- setServer(DHCPCoreServer) - Method in class org.dhcp4java.DHCPServlet
-
- setSiaddr(InetAddress) - Method in class org.dhcp4java.DHCPPacket
-
Sets the siaddr field (IP address of next server).
- setSiaddr(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the siaddr field (IP address of next server).
- setSiaddrRaw(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the siaddr field (IP address of next server).
- setSname(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the sname field (Optional server host name) as String.
- setSnameRaw(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the sname field (Optional server host name) as String.
- setXid(int) - Method in class org.dhcp4java.DHCPPacket
-
Sets the xid field (Transaction ID).
- setYiaddr(InetAddress) - Method in class org.dhcp4java.DHCPPacket
-
Sets the yiaddr field ('your' IP address).
- setYiaddr(String) - Method in class org.dhcp4java.DHCPPacket
-
Sets the yiaddr field ('your' IP address).
- setYiaddrRaw(byte[]) - Method in class org.dhcp4java.DHCPPacket
-
Sets the yiaddr field ('your' IP address).
- short2Bytes(short) - Static method in class org.dhcp4java.DHCPOption
-
- stopServer() - Method in class org.dhcp4java.DHCPCoreServer
-
This method stops the server and closes the socket.
- string2Class(String) - Static method in class org.dhcp4java.DHCPOption
-
Simple method for converting from string to supported class format.
- stringListToUserClass(List<String>) - Static method in class org.dhcp4java.DHCPOption
-
Converts this list of strings to a DHO_USER_CLASS (77) option.
- stringToBytes(String) - Static method in class org.dhcp4java.Util
-