.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "Net::DHCP::Constants 3pm" .TH Net::DHCP::Constants 3pm "2022-11-19" "perl v5.36.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Net::DHCP::Constants \- Constants for DHCP codes and options .SH "VERSION" .IX Header "VERSION" version 0.696 .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 2 \& use Net::DHCP::Constants; \& print "DHCP option SUBNET_MASK is ", DHO_SUBNET_MASK(); .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" Represents constants used in \s-1DHCP\s0 protocol, defined in \s-1RFC 1533, RFC 2132, RFC 2241, RFC 2485, RFC 2563, RFC 2937, RFC 3004, RFC 3011, RFC 3046.\s0 .SH "TAGS" .IX Header "TAGS" As mentioned above, constants can either be imported individually or in sets grouped by tag names. The tag names are: .IP "\(bu" 4 bootp_codes .Sp Imports all of the basic \fI\s-1BOOTP\s0\fR constants. .Sp .Vb 2 \& (01) BOOTREQUEST \& (02) BOOTREPLY .Ve .IP "\(bu" 4 htype_codes .Sp Imports all \fI\s-1HTYPE\s0\fR (hardware address type) codes. .Sp .Vb 3 \& (01) HTYPE_ETHER \& (06) HTYPE_IEEE802 \& (08) HTYPE_FDDI .Ve .Sp Most common value is \s-1HTYPE_ETHER\s0 for \f(CW\*(C`Ethernet\*(C'\fR. .IP "\(bu" 4 dhcp_message .Sp Import all \s-1DHCP\s0 Message codes. .Sp (rfc2132) .Sp .Vb 9 \& (01) DHCPDISCOVER \& (02) DHCPOFFER \& (03) DHCPREQUEST \& (04) DHCPDECLINE \& (05) DHCPACK \& (06) DHCPNAK \& (07) DHCPRELEASE \& (08) DHCPINFORM \& (09) DHCPFORCERENEW .Ve .Sp (rfc4388) .Sp .Vb 4 \& (10) DHCPLEASEQUERY \& (11) DHCPLEASEUNASSIGNED \& (12) DHCPLEASEUNKNOWN \& (13) DHCPLEASEACTIVE .Ve .Sp Nb. Previously Cisco used 13 for \s-1DHCPLEASEQUERY.\s0 If you need to decode or encode packets to communicate with such a system, you might simply use the integer rather than the constant \- or use the updated constant and comment in your code appropriately. .IP "\(bu" 4 dho_codes .Sp Import all \s-1DHCP\s0 option codes. .Sp .Vb 10 \& (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 \& (040) DHO_NIS_DOMAIN \& (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_NISV3_DOMAIN \& (065) DHO_NISV3_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 \& (078) DHO_DIRECTORY_AGENT \& (079) DHO_SERVICE_SCOPE \& (080) DHO_RAPID_COMMIT \& (081) DHO_FQDN \& (082) DHO_DHCP_AGENT_OPTIONS \& (083) DHO_ISNS \& (085) DHO_NDS_SERVERS \& (086) DHO_NDS_TREE_NAME \& (087) DHO_NDS_CONTEXT \& (088) DHO_BCMCS_CONTROLLER_DOMAIN_NAME_LIST \& (089) DHO_BCMCS_CONTROLLER_IPV4_ADDRESS \& (090) DHO_AUTHENTICATION \& (091) DHO_CLIENT_LAST_TRANSACTION_TIME \& (092) DHO_ASSOCIATED_IP \& (093) DHO_CLIENT_SYSTEM \& (094) DHO_CLIENT_NDI \& (095) DHO_LDAP \& (097) DHO_UUID_GUID \& (098) DHO_USER_AUTHENTICATION_PROTOCOL \& (099) DHO_GEOCONF_CIVIC \& (100) DHO_PCODE \& (101) DHO_TCODE \& (112) DHO_NETINFO_ADDRESS \& (113) DHO_NETINFO_TAG \& (114) DHO_URL \& (116) DHO_AUTO_CONFIGURE \& (117) DHO_NAME_SERVICE_SEARCH \& (118) DHO_SUBNET_SELECTION \& (119) DHO_DOMAIN_SEARCH \& (120) DHO_SIP_SERVERS \& (121) DHO_CLASSLESS_STATIC_ROUTE \& (122) DHO_CCC \& (123) DHO_GEOCONF \& (124) DHO_VI_VENDOR_CLASS \& (125) DHO_VI_VENDOR_SPECIFIC_INFOMATION \& (128) DHO_ETHERBOOT_SIGNATURE \& (129) DHO_CALL_SERVER_ADDRESS \& (130) DHO_DISCRIMINATION_STRING \& (131) DHO_REMOTE_STATISTICS_SERVER \& (132) DHO_VLAN_ID \& (133) DHO_L2_PRIORITY \& (134) DHO_DSCP \& (135) DHO_HTTP_PROXY_FORPHONES \& (136) DHO_OPTION_PANA_AGENT \& (137) DHO_OPTION_PANA_V4_LOST \& (138) DHO_OPTION_CAPWAP_AC_V4 \& (139) DHO_OPTION_IPV4_ADDRESS_MOS \& (140) DHO_OPTION_IPV4_FQDN_MOS \& (141) DHO_SIP_UA_CONFIGURATION_SERVICE_DOMAINS \& (150) DHO_ETHERBOOT \& (176) DHO_IP_TELEPHONE \& (177) DHO_PACKETCABLE_DEPRECATED \& (208) DHO_PXELINUX_MAGIC \& (209) DHO_CONFIGURATION_FILE \& (210) DHO_PATH_PREFIX \& (211) DHO_REBOOT_TIME \& (212) DHO_OPTION_6RD \& (213) DHO_OPTION_V4_ACCESS_DOMAIN \& (220) DHO_SUBNET_ALLOCATION \& (221) DHO_VIRTUAL_SUBNET \& (249) DHO_CLASSLESS_STATIC_ROUTE_MS \& (255) DHO_END .Ve .IP "\(bu" 4 ccc_codes .Sp Import all CableLabs Client Configuration .Sp .Vb 10 \& (001) CCC_PRIMARY_DHCP_SERVER \& (002) CCC_SECONDARY_DHCP_SERVER \& (003) CCC_PROVISIONING_SERVER \& (004) CCC_AS_REQ_AS_REP_BACKOFFRETRY \& (005) CCC_AP_REQ_AS_REP_BACKOFFRETRY \& (006) CCC_KERBEROS_REALM \& (007) CCC_TICKET_SERVER_UTILIZATION \& (008) CCC_PROVISIONING_TIMER \& (009) CCC_SECURITY_TICKET_CONTROL \& (010) CCC_KDC_SERVER .Ve .SH "TO DO, LIMITATIONS" .IX Header "TO DO, LIMITATIONS" Automatic parsing of \s-1DHO_VENDOR_ENCAPSULATED_OPTIONS\s0 (code 43) is unsupported. .PP Automatic parsing of \s-1DHO_NWIP_SUBOPTIONS\s0 (code 63 \- rfc 2242) is unsupported. .PP Automatic parsing of \s-1DHO_USER_CLASS\s0 (code 77 \- rfc 3004) is unsupported. .PP Automatic parsing of \s-1DHO_CCC\s0 (code 122 \- rfc 3495) is unsupported. .PP Automatic parsing of \s-1DHO_PACKETCABLE_DEPRECATED\s0 (code 177 \- rfc 3495) is unsupported. .SH "SEE ALSO" .IX Header "SEE ALSO" Net::DHCP::Packet, Net::DHCP::Options .SH "AUTHOR" .IX Header "AUTHOR" Dean Hamstead and past Authors (see \s-1README\s0) .SH "GOT PATCHES?" .IX Header "GOT PATCHES?" Many young people like to use Github, so by all means send me pull requests at .PP https://github.com/djzort/Net\-DHCP .SH "COPYRIGHT" .IX Header "COPYRIGHT" This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.