Rechercher une page de manuel
Net::DHCP::Constants.3pm
Langue: en
Version: 2006-07-12 (ubuntu - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Net::DHCP::Constants - Constants for DHCP codes and optionsSYNOPSIS
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 2241, RFC 2485, RFC 2563, RFC 2937, RFC 3004, RFC 3011, 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.
(01) BOOTREQUEST (02) BOOTREPLY
- •
- htype_codes
Imports all HTYPE (hardware address type) codes.
(01) HTYPE_ETHER (06) HTYPE_IEEE802 (08) HTYPE_FDDI
Most common value is HTYPE_ETHER for "Ethernet".
- •
- dhcp_message
Import all DHCP Message codes.
(01) DHCPDISCOVER (02) DHCPOFFER (03) DHCPREQUEST (04) DHCPDECLINE (05) DHCPACK (06) DHCPNAK (07) DHCPRELEASE (08) DHCPINFORM (09) DHCPFORCERENEW (13) DHCPLEASEQUERY # draft-ietf-dhc-leasequery-08.txt
- •
- dho_codes
Import all DHCP option codes.
(000) DHO_PAD (001) DHO_SUBNET_MASK (002) DHO_TIME_OFFSET (003) DHO_ROUTERS (004) DHO_TIME_SERVERS (005) DHO_NAME_SERVERS (006) DHO_DOMAIN_NAME_SERVERS (007) DHO_LOG_SERVERS (008) DHO_COOKIE_SERVERS (009) DHO_LPR_SERVERS (010) DHO_IMPRESS_SERVERS (011) DHO_RESOURCE_LOCATION_SERVERS (012) DHO_HOST_NAME (013) DHO_BOOT_SIZE (014) DHO_MERIT_DUMP (015) DHO_DOMAIN_NAME (016) DHO_SWAP_SERVER (017) DHO_ROOT_PATH (018) DHO_EXTENSIONS_PATH (019) DHO_IP_FORWARDING (020) DHO_NON_LOCAL_SOURCE_ROUTING (021) DHO_POLICY_FILTER (022) DHO_MAX_DGRAM_REASSEMBLY (023) DHO_DEFAULT_IP_TTL (024) DHO_PATH_MTU_AGING_TIMEOUT (025) DHO_PATH_MTU_PLATEAU_TABLE (026) DHO_INTERFACE_MTU (027) DHO_ALL_SUBNETS_LOCAL (028) DHO_BROADCAST_ADDRESS (029) DHO_PERFORM_MASK_DISCOVERY (030) DHO_MASK_SUPPLIER (031) DHO_ROUTER_DISCOVERY (032) DHO_ROUTER_SOLICITATION_ADDRESS (033) DHO_STATIC_ROUTES (034) DHO_TRAILER_ENCAPSULATION (035) DHO_ARP_CACHE_TIMEOUT (036) DHO_IEEE802_3_ENCAPSULATION (037) DHO_DEFAULT_TCP_TTL (038) DHO_TCP_KEEPALIVE_INTERVAL (039) DHO_TCP_KEEPALIVE_GARBAGE (041) DHO_NIS_SERVERS (042) DHO_NTP_SERVERS (043) DHO_VENDOR_ENCAPSULATED_OPTIONS (044) DHO_NETBIOS_NAME_SERVERS (045) DHO_NETBIOS_DD_SERVER (046) DHO_NETBIOS_NODE_TYPE (047) DHO_NETBIOS_SCOPE (048) DHO_FONT_SERVERS (049) DHO_X_DISPLAY_MANAGER (050) DHO_DHCP_REQUESTED_ADDRESS (051) DHO_DHCP_LEASE_TIME (052) DHO_DHCP_OPTION_OVERLOAD (053) DHO_DHCP_MESSAGE_TYPE (054) DHO_DHCP_SERVER_IDENTIFIER (055) DHO_DHCP_PARAMETER_REQUEST_LIST (056) DHO_DHCP_MESSAGE (057) DHO_DHCP_MAX_MESSAGE_SIZE (058) DHO_DHCP_RENEWAL_TIME (059) DHO_DHCP_REBINDING_TIME (060) DHO_VENDOR_CLASS_IDENTIFIER (061) DHO_DHCP_CLIENT_IDENTIFIER (062) DHO_NWIP_DOMAIN_NAME (063) DHO_NWIP_SUBOPTIONS (064) DHO_NIS_DOMAIN (065) DHO_NIS_SERVER (066) DHO_TFTP_SERVER (067) DHO_BOOTFILE (068) DHO_MOBILE_IP_HOME_AGENT (069) DHO_SMTP_SERVER (070) DHO_POP3_SERVER (071) DHO_NNTP_SERVER (072) DHO_WWW_SERVER (073) DHO_FINGER_SERVER (074) DHO_IRC_SERVER (075) DHO_STREETTALK_SERVER (076) DHO_STDA_SERVER (077) DHO_USER_CLASS (081) DHO_FQDN (082) DHO_DHCP_AGENT_OPTIONS (085) DHO_NDS_SERVERS (086) DHO_NDS_TREE_NAME (098) DHO_USER_AUTHENTICATION_PROTOCOL (116) DHO_AUTO_CONFIGURE (117) DHO_NAME_SERVICE_SEARCH (118) DHO_SUBNET_SELECTION (255) DHO_END
TO DO, LIMITATIONS
Automatic parsing of DHO_VENDOR_ENCAPSULATED_OPTIONS (code 43) is unsupported.Automatic parsing of DHO_NWIP_SUBOPTIONS (code 63 - rfc 2242) is unsupported.
Automatic parsing of DHO_USER_CLASS (code 77 - rfc 3004) is unsupported.
SEE ALSO
Net::DHCP::Packet, Net::DHCP::OptionsAUTHOR
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.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre