NAME

Net::DHCP::Constants - Constants for DHCP codes and options

SYNOPSIS

use Net::DHCP::Constants;
print "DHCP option SUBNET_MASK is ", DHO_SUBNET_MASK();

DESCRIPTION

Represents constants used in DHCP protocol, defined in RFC 1533, RFC 2132, RFC 3046.

TAGS

As mentioned above, constants can either be imported individually or in sets grouped by tag names. The tag names are:

  • bootp_codes

    Imports all of the basic BOOTP constants.

    BOOTREQUEST
    BOOTREPLY
  • htype_codes

    Imports all HTYPE (hardware address type) codes.

    HTYPE_ETHER
    HTYPE_IEEE802
    HTYPE_FDDI

    Most common value is HTYPE_ETHER for Ethernet.

  • dhcp_message

    Import all DHCP Message codes.

    DHCPDISCOVER
    DHCPOFFER
    DHCPREQUEST
    DHCPDECLINE
    DHCPACK
    DHCPNAK
    DHCPRELEASE
    DHCPINFORM
    DHCPFORCERENEW
  • dho_codes

    Import all DHCP option codes.

    DHO_PAD
    DHO_SUBNET_MASK
    DHO_IMPRESS_SERVERS
    DHO_RESOURCE_LOCATION_SERVERS
    DHO_SUBNET_SELECTION
    DHO_HOST_NAME
    DHO_BOOT_SIZE
    DHO_MERIT_DUMP
    DHO_DOMAIN_NAME
    DHO_SWAP_SERVER
    DHO_ROOT_PATH
    DHO_EXTENSIONS_PATH
    DHO_IP_FORWARDING
    DHO_TIME_OFFSET
    DHO_NON_LOCAL_SOURCE_ROUTING
    DHO_POLICY_FILTER
    DHO_MAX_DGRAM_REASSEMBLY
    DHO_DEFAULT_IP_TTL
    DHO_PATH_MTU_AGING_TIMEOUT
    DHO_PATH_MTU_PLATEAU_TABLE
    DHO_INTERFACE_MTU
    DHO_ALL_SUBNETS_LOCAL
    DHO_BROADCAST_ADDRESS
    DHO_PERFORM_MASK_DISCOVERY
    DHO_ROUTERS
    DHO_MASK_SUPPLIER
    DHO_ROUTER_DISCOVERY
    DHO_ROUTER_SOLICITATION_ADDRESS
    DHO_STATIC_ROUTES
    DHO_TRAILER_ENCAPSULATION
    DHO_ARP_CACHE_TIMEOUT
    DHO_IEEE802_3_ENCAPSULATION
    DHO_DEFAULT_TCP_TTL
    DHO_TCP_KEEPALIVE_INTERVAL
    DHO_TCP_KEEPALIVE_GARBAGE
    DHO_TIME_SERVERS
    DHO_NIS_SERVERS
    DHO_NTP_SERVERS
    DHO_VENDOR_ENCAPSULATED_OPTIONS
    DHO_NETBIOS_NAME_SERVERS
    DHO_NETBIOS_DD_SERVER
    DHO_NETBIOS_NODE_TYPE
    DHO_NETBIOS_SCOPE
    DHO_FONT_SERVERS
    DHO_X_DISPLAY_MANAGER
    DHO_NAME_SERVERS
    DHO_DHCP_REQUESTED_ADDRESS
    DHO_DHCP_LEASE_TIME
    DHO_DHCP_OPTION_OVERLOAD
    DHO_DHCP_MESSAGE_TYPE
    DHO_DHCP_SERVER_IDENTIFIER
    DHO_DHCP_PARAMETER_REQUEST_LIST
    DHO_DHCP_MESSAGE
    DHO_DHCP_MAX_MESSAGE_SIZE
    DHO_DHCP_RENEWAL_TIME
    DHO_DHCP_REBINDING_TIME
    DHO_DOMAIN_NAME_SERVERS
    DHO_VENDOR_CLASS_IDENTIFIER
    DHO_DHCP_CLIENT_IDENTIFIER
    DHO_NWIP_DOMAIN_NAME
    DHO_NWIP_SUBOPTIONS
    DHO_NIS_DOMAIN
    DHO_NIS_SERVER
    DHO_TFTP_SERVER
    DHO_BOOTFILE
    DHO_MOBILE_IP_HOME_AGENT
    DHO_SMTP_SERVER
    DHO_LOG_SERVERS
    DHO_POP3_SERVER
    DHO_NNTP_SERVER
    DHO_WWW_SERVER
    DHO_FINGER_SERVER
    DHO_IRC_SERVER
    DHO_STREETTALK_SERVER
    DHO_STDA_SERVER
    DHO_USER_CLASS
    DHO_COOKIE_SERVERS
    DHO_FQDN
    DHO_DHCP_AGENT_OPTIONS
    DHO_LPR_SERVERS

SEE ALSO

Net::DHCP::Packet, Net::DHCP::Options

AUTHOR

Stephan Hadinger <shadinger@cpan.org>.

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.