ISC DHCP  4.4.1
A reference DHCPv4 and DHCPv6 implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dhcp6.h File Reference

Go to the source code of this file.

Data Structures

struct  dhcpv6_packet
 
struct  dhcpv6_relay_packet
 
struct  dhcpv4_over_dhcpv6_packet
 

Macros

#define D6O_CLIENTID   1 /* RFC3315 */
 
#define D6O_SERVERID   2
 
#define D6O_IA_NA   3
 
#define D6O_IA_TA   4
 
#define D6O_IAADDR   5
 
#define D6O_ORO   6
 
#define D6O_PREFERENCE   7
 
#define D6O_ELAPSED_TIME   8
 
#define D6O_RELAY_MSG   9
 
#define D6O_AUTH   11
 
#define D6O_UNICAST   12
 
#define D6O_STATUS_CODE   13
 
#define D6O_RAPID_COMMIT   14
 
#define D6O_USER_CLASS   15
 
#define D6O_VENDOR_CLASS   16
 
#define D6O_VENDOR_OPTS   17
 
#define D6O_INTERFACE_ID   18
 
#define D6O_RECONF_MSG   19
 
#define D6O_RECONF_ACCEPT   20
 
#define D6O_SIP_SERVERS_DNS   21 /* RFC3319 */
 
#define D6O_SIP_SERVERS_ADDR   22 /* RFC3319 */
 
#define D6O_NAME_SERVERS   23 /* RFC3646 */
 
#define D6O_DOMAIN_SEARCH   24 /* RFC3646 */
 
#define D6O_IA_PD   25 /* RFC3633 */
 
#define D6O_IAPREFIX   26 /* RFC3633 */
 
#define D6O_NIS_SERVERS   27 /* RFC3898 */
 
#define D6O_NISP_SERVERS   28 /* RFC3898 */
 
#define D6O_NIS_DOMAIN_NAME   29 /* RFC3898 */
 
#define D6O_NISP_DOMAIN_NAME   30 /* RFC3898 */
 
#define D6O_SNTP_SERVERS   31 /* RFC4075 */
 
#define D6O_INFORMATION_REFRESH_TIME   32 /* RFC4242 */
 
#define D6O_BCMCS_SERVER_D   33 /* RFC4280 */
 
#define D6O_BCMCS_SERVER_A   34 /* RFC4280 */
 
#define D6O_GEOCONF_CIVIC   36 /* RFC4776 */
 
#define D6O_REMOTE_ID   37 /* RFC4649 */
 
#define D6O_SUBSCRIBER_ID   38 /* RFC4580 */
 
#define D6O_CLIENT_FQDN   39 /* RFC4704 */
 
#define D6O_PANA_AGENT   40 /* paa-option */
 
#define D6O_NEW_POSIX_TIMEZONE   41 /* RFC4833 */
 
#define D6O_NEW_TZDB_TIMEZONE   42 /* RFC4833 */
 
#define D6O_ERO   43 /* RFC4994 */
 
#define D6O_LQ_QUERY   44 /* RFC5007 */
 
#define D6O_CLIENT_DATA   45 /* RFC5007 */
 
#define D6O_CLT_TIME   46 /* RFC5007 */
 
#define D6O_LQ_RELAY_DATA   47 /* RFC5007 */
 
#define D6O_LQ_CLIENT_LINK   48 /* RFC5007 */
 
#define D6O_MIP6_HNIDF   49 /* RFC6610 */
 
#define D6O_MIP6_VDINF   50 /* RFC6610 */
 
#define D6O_V6_LOST   51 /* RFC5223 */
 
#define D6O_CAPWAP_AC_V6   52 /* RFC5417 */
 
#define D6O_RELAY_ID   53 /* RFC5460 */
 
#define D6O_IPV6_ADDRESS_MOS   54 /* RFC5678 */
 
#define D6O_IPV6_FQDN_MOS   55 /* RFC5678 */
 
#define D6O_NTP_SERVER   56 /* RFC5908 */
 
#define D6O_V6_ACCESS_DOMAIN   57 /* RFC5986 */
 
#define D6O_SIP_UA_CS_LIST   58 /* RFC6011 */
 
#define D6O_BOOTFILE_URL   59 /* RFC5970 */
 
#define D6O_BOOTFILE_PARAM   60 /* RFC5970 */
 
#define D6O_CLIENT_ARCH_TYPE   61 /* RFC5970 */
 
#define D6O_NII   62 /* RFC5970 */
 
#define D6O_GEOLOCATION   63 /* RFC6225 */
 
#define D6O_AFTR_NAME   64 /* RFC6334 */
 
#define D6O_ERP_LOCAL_DOMAIN_NAME   65 /* RFC6440 */
 
#define D6O_RSOO   66 /* RFC6422 */
 
#define D6O_PD_EXCLUDE   67 /* RFC6603 */
 
#define D6O_VSS   68 /* RFC6607 */
 
#define D6O_MIP6_IDINF   69 /* RFC6610 */
 
#define D6O_MIP6_UDINF   70 /* RFC6610 */
 
#define D6O_MIP6_HNP   71 /* RFC6610 */
 
#define D6O_MIP6_HAA   72 /* RFC6610 */
 
#define D6O_MIP6_HAF   73 /* RFC6610 */
 
#define D6O_RDNSS_SELECTION   74 /* RFC6731 */
 
#define D6O_KRB_PRINCIPAL_NAME   75 /* RFC6784 */
 
#define D6O_KRB_REALM_NAME   76 /* RFC6784 */
 
#define D6O_KRB_DEFAULT_REALM_NAME   77 /* RFC6784 */
 
#define D6O_KRB_KDC   78 /* RFC6784 */
 
#define D6O_CLIENT_LINKLAYER_ADDR   79 /* RFC6939 */
 
#define D6O_LINK_ADDRESS   80 /* RFC6977 */
 
#define D6O_RADIUS   81 /* RFC7037 */
 
#define D6O_SOL_MAX_RT   82 /* RFC7083 */
 
#define D6O_INF_MAX_RT   83 /* RFC7083 */
 
#define D6O_ADDRSEL   84 /* RFC7078 */
 
#define D6O_ADDRSEL_TABLE   85 /* RFC7078 */
 
#define D6O_V6_PCP_SERVER   86 /* RFC7291 */
 
#define D6O_DHCPV4_MSG   87 /* RFC7341 */
 
#define D6O_DHCP4_O_DHCP6_SERVER   88 /* RFC7341 */
 
#define D6O_RELAY_SOURCE_PORT   135 /* I-D */
 
#define STATUS_Success   0
 
#define STATUS_UnspecFail   1
 
#define STATUS_NoAddrsAvail   2
 
#define STATUS_NoBinding   3
 
#define STATUS_NotOnLink   4
 
#define STATUS_UseMulticast   5
 
#define STATUS_NoPrefixAvail   6
 
#define STATUS_UnknownQueryType   7
 
#define STATUS_MalformedQuery   8
 
#define STATUS_NotConfigured   9
 
#define STATUS_NotAllowed   10
 
#define STATUS_QueryTerminated   11
 
#define DHCPV6_SOLICIT   1
 
#define DHCPV6_ADVERTISE   2
 
#define DHCPV6_REQUEST   3
 
#define DHCPV6_CONFIRM   4
 
#define DHCPV6_RENEW   5
 
#define DHCPV6_REBIND   6
 
#define DHCPV6_REPLY   7
 
#define DHCPV6_RELEASE   8
 
#define DHCPV6_DECLINE   9
 
#define DHCPV6_RECONFIGURE   10
 
#define DHCPV6_INFORMATION_REQUEST   11
 
#define DHCPV6_RELAY_FORW   12
 
#define DHCPV6_RELAY_REPL   13
 
#define DHCPV6_LEASEQUERY   14 /* RFC5007 */
 
#define DHCPV6_LEASEQUERY_REPLY   15 /* RFC5007 */
 
#define DHCPV6_LEASEQUERY_DONE   16 /* RFC5460 */
 
#define DHCPV6_LEASEQUERY_DATA   17 /* RFC5460 */
 
#define DHCPV6_RECONFIGURE_REQUEST   18 /* RFC6977 */
 
#define DHCPV6_RECONFIGURE_REPLY   19 /* RFC6977 */
 
#define DHCPV6_DHCPV4_QUERY   20 /* RFC7341 */
 
#define DHCPV6_DHCPV4_RESPONSE   21 /* RFC7341 */
 
#define DUID_LLT   1
 
#define DUID_EN   2
 
#define DUID_LL   3
 
#define DUID_UUID   4 /* RFC6355 */
 
#define IA_NA_OFFSET   12 /* IAID, T1, T2, all 4 octets each */
 
#define IA_TA_OFFSET   4 /* IAID only, 4 octets */
 
#define IA_PD_OFFSET   12 /* IAID, T1, T2, all 4 octets each */
 
#define IAADDR_OFFSET   24
 
#define IAPREFIX_OFFSET   25
 
#define LQ_QUERY_OFFSET   17
 
#define All_DHCP_Relay_Agents_and_Servers   "FF02::1:2"
 
#define All_DHCP_Servers   "FF05::1:3"
 
#define SOL_MAX_DELAY   1
 
#define SOL_TIMEOUT   1
 
#define SOL_MAX_RT   120
 
#define REQ_TIMEOUT   1
 
#define REQ_MAX_RT   30
 
#define REQ_MAX_RC   10
 
#define CNF_MAX_DELAY   1
 
#define CNF_TIMEOUT   1
 
#define CNF_MAX_RT   4
 
#define CNF_MAX_RD   10
 
#define REN_TIMEOUT   10
 
#define REN_MAX_RT   600
 
#define REB_TIMEOUT   10
 
#define REB_MAX_RT   600
 
#define INF_MAX_DELAY   1
 
#define INF_TIMEOUT   1
 
#define INF_MAX_RT   120
 
#define REL_TIMEOUT   1
 
#define REL_MAX_RC   5
 
#define DEC_TIMEOUT   1
 
#define DEC_MAX_RC   5
 
#define REC_TIMEOUT   2
 
#define REC_MAX_RC   8
 
#define HOP_COUNT_LIMIT   32
 
#define LQ6_TIMEOUT   1
 
#define LQ6_MAX_RT   10
 
#define LQ6_MAX_RC   5
 
#define REPLY_OPTIONS_INDEX   4
 
#define MAX_V6RELAY_HOPS   32
 
#define DHCP4O6_QUERY_UNICAST   128
 
#define D4O6_INTERFACE   60000
 
#define D4O6_SRC_ADDRESS   60001
 
#define LQ6QT_BY_ADDRESS   1
 
#define LQ6QT_BY_CLIENTID   2
 
#define LQ6QT_BY_RELAY_ID   3
 
#define LQ6QT_BY_LINK_ADDRESS   4
 
#define LQ6QT_BY_REMOTE_ID   5
 
#define DUID_TIME_EPOCH   946684800
 
#define IRT_DEFAULT   86400
 
#define IRT_MINIMUM   600
 
#define EUI_64_ID_LEN   12 /* 2 for duid-type, 2 for hardware type, 8 for ID */
 
#define IAID_LEN   4
 
#define IASUBOPT_NA_ADDR_OFFSET   0
 
#define IASUBOPT_NA_PREF_OFFSET   16
 
#define IASUBOPT_NA_VALID_OFFSET   20
 
#define IASUBOPT_NA_LEN   24
 
#define IASUBOPT_PD_PREF_OFFSET   0
 
#define IASUBOPT_PD_VALID_OFFSET   4
 
#define IASUBOPT_PD_PREFLEN_OFFSET   8
 
#define IASUBOPT_PD_PREFIX_OFFSET   9
 
#define IASUBOPT_PD_LEN   25
 

Variables

const char * dhcpv6_type_names []
 
const int dhcpv6_type_name_max
 

Macro Definition Documentation

#define All_DHCP_Relay_Agents_and_Servers   "FF02::1:2"

Definition at line 189 of file dhcp6.h.

#define All_DHCP_Servers   "FF05::1:3"

Definition at line 190 of file dhcp6.h.

#define CNF_MAX_DELAY   1

Definition at line 202 of file dhcp6.h.

#define CNF_MAX_RD   10

Definition at line 205 of file dhcp6.h.

#define CNF_MAX_RT   4

Definition at line 204 of file dhcp6.h.

#define CNF_TIMEOUT   1

Definition at line 203 of file dhcp6.h.

#define D4O6_INTERFACE   60000

Definition at line 259 of file dhcp6.h.

#define D4O6_SRC_ADDRESS   60001

Definition at line 260 of file dhcp6.h.

#define D6O_ADDRSEL   84 /* RFC7078 */

Definition at line 113 of file dhcp6.h.

#define D6O_ADDRSEL_TABLE   85 /* RFC7078 */

Definition at line 114 of file dhcp6.h.

#define D6O_AFTR_NAME   64 /* RFC6334 */

Definition at line 93 of file dhcp6.h.

#define D6O_AUTH   11

Definition at line 40 of file dhcp6.h.

#define D6O_BCMCS_SERVER_A   34 /* RFC4280 */

Definition at line 63 of file dhcp6.h.

#define D6O_BCMCS_SERVER_D   33 /* RFC4280 */

Definition at line 62 of file dhcp6.h.

#define D6O_BOOTFILE_PARAM   60 /* RFC5970 */

Definition at line 89 of file dhcp6.h.

#define D6O_BOOTFILE_URL   59 /* RFC5970 */

Definition at line 88 of file dhcp6.h.

#define D6O_CAPWAP_AC_V6   52 /* RFC5417 */

Definition at line 81 of file dhcp6.h.

#define D6O_CLIENT_ARCH_TYPE   61 /* RFC5970 */

Definition at line 90 of file dhcp6.h.

#define D6O_CLIENT_DATA   45 /* RFC5007 */

Definition at line 74 of file dhcp6.h.

#define D6O_CLIENT_FQDN   39 /* RFC4704 */

Definition at line 68 of file dhcp6.h.

#define D6O_CLIENT_LINKLAYER_ADDR   79 /* RFC6939 */

Definition at line 108 of file dhcp6.h.

#define D6O_CLIENTID   1 /* RFC3315 */

Definition at line 30 of file dhcp6.h.

#define D6O_CLT_TIME   46 /* RFC5007 */

Definition at line 75 of file dhcp6.h.

#define D6O_DHCP4_O_DHCP6_SERVER   88 /* RFC7341 */

Definition at line 117 of file dhcp6.h.

#define D6O_DHCPV4_MSG   87 /* RFC7341 */

Definition at line 116 of file dhcp6.h.

#define D6O_DOMAIN_SEARCH   24 /* RFC3646 */

Definition at line 53 of file dhcp6.h.

#define D6O_ELAPSED_TIME   8

Definition at line 37 of file dhcp6.h.

#define D6O_ERO   43 /* RFC4994 */

Definition at line 72 of file dhcp6.h.

#define D6O_ERP_LOCAL_DOMAIN_NAME   65 /* RFC6440 */

Definition at line 94 of file dhcp6.h.

#define D6O_GEOCONF_CIVIC   36 /* RFC4776 */

Definition at line 65 of file dhcp6.h.

#define D6O_GEOLOCATION   63 /* RFC6225 */

Definition at line 92 of file dhcp6.h.

#define D6O_IA_NA   3

Definition at line 32 of file dhcp6.h.

#define D6O_IA_PD   25 /* RFC3633 */

Definition at line 54 of file dhcp6.h.

#define D6O_IA_TA   4

Definition at line 33 of file dhcp6.h.

#define D6O_IAADDR   5

Definition at line 34 of file dhcp6.h.

#define D6O_IAPREFIX   26 /* RFC3633 */

Definition at line 55 of file dhcp6.h.

#define D6O_INF_MAX_RT   83 /* RFC7083 */

Definition at line 112 of file dhcp6.h.

#define D6O_INFORMATION_REFRESH_TIME   32 /* RFC4242 */

Definition at line 61 of file dhcp6.h.

#define D6O_INTERFACE_ID   18

Definition at line 47 of file dhcp6.h.

#define D6O_IPV6_ADDRESS_MOS   54 /* RFC5678 */

Definition at line 83 of file dhcp6.h.

#define D6O_IPV6_FQDN_MOS   55 /* RFC5678 */

Definition at line 84 of file dhcp6.h.

#define D6O_KRB_DEFAULT_REALM_NAME   77 /* RFC6784 */

Definition at line 106 of file dhcp6.h.

#define D6O_KRB_KDC   78 /* RFC6784 */

Definition at line 107 of file dhcp6.h.

#define D6O_KRB_PRINCIPAL_NAME   75 /* RFC6784 */

Definition at line 104 of file dhcp6.h.

#define D6O_KRB_REALM_NAME   76 /* RFC6784 */

Definition at line 105 of file dhcp6.h.

#define D6O_LINK_ADDRESS   80 /* RFC6977 */

Definition at line 109 of file dhcp6.h.

#define D6O_LQ_CLIENT_LINK   48 /* RFC5007 */

Definition at line 77 of file dhcp6.h.

#define D6O_LQ_QUERY   44 /* RFC5007 */

Definition at line 73 of file dhcp6.h.

#define D6O_LQ_RELAY_DATA   47 /* RFC5007 */

Definition at line 76 of file dhcp6.h.

#define D6O_MIP6_HAA   72 /* RFC6610 */

Definition at line 101 of file dhcp6.h.

#define D6O_MIP6_HAF   73 /* RFC6610 */

Definition at line 102 of file dhcp6.h.

#define D6O_MIP6_HNIDF   49 /* RFC6610 */

Definition at line 78 of file dhcp6.h.

#define D6O_MIP6_HNP   71 /* RFC6610 */

Definition at line 100 of file dhcp6.h.

#define D6O_MIP6_IDINF   69 /* RFC6610 */

Definition at line 98 of file dhcp6.h.

#define D6O_MIP6_UDINF   70 /* RFC6610 */

Definition at line 99 of file dhcp6.h.

#define D6O_MIP6_VDINF   50 /* RFC6610 */

Definition at line 79 of file dhcp6.h.

#define D6O_NAME_SERVERS   23 /* RFC3646 */

Definition at line 52 of file dhcp6.h.

#define D6O_NEW_POSIX_TIMEZONE   41 /* RFC4833 */

Definition at line 70 of file dhcp6.h.

#define D6O_NEW_TZDB_TIMEZONE   42 /* RFC4833 */

Definition at line 71 of file dhcp6.h.

#define D6O_NII   62 /* RFC5970 */

Definition at line 91 of file dhcp6.h.

#define D6O_NIS_DOMAIN_NAME   29 /* RFC3898 */

Definition at line 58 of file dhcp6.h.

#define D6O_NIS_SERVERS   27 /* RFC3898 */

Definition at line 56 of file dhcp6.h.

#define D6O_NISP_DOMAIN_NAME   30 /* RFC3898 */

Definition at line 59 of file dhcp6.h.

#define D6O_NISP_SERVERS   28 /* RFC3898 */

Definition at line 57 of file dhcp6.h.

#define D6O_NTP_SERVER   56 /* RFC5908 */

Definition at line 85 of file dhcp6.h.

#define D6O_ORO   6

Definition at line 35 of file dhcp6.h.

#define D6O_PANA_AGENT   40 /* paa-option */

Definition at line 69 of file dhcp6.h.

#define D6O_PD_EXCLUDE   67 /* RFC6603 */

Definition at line 96 of file dhcp6.h.

#define D6O_PREFERENCE   7

Definition at line 36 of file dhcp6.h.

#define D6O_RADIUS   81 /* RFC7037 */

Definition at line 110 of file dhcp6.h.

#define D6O_RAPID_COMMIT   14

Definition at line 43 of file dhcp6.h.

#define D6O_RDNSS_SELECTION   74 /* RFC6731 */

Definition at line 103 of file dhcp6.h.

#define D6O_RECONF_ACCEPT   20

Definition at line 49 of file dhcp6.h.

#define D6O_RECONF_MSG   19

Definition at line 48 of file dhcp6.h.

#define D6O_RELAY_ID   53 /* RFC5460 */

Definition at line 82 of file dhcp6.h.

#define D6O_RELAY_MSG   9

Definition at line 38 of file dhcp6.h.

#define D6O_RELAY_SOURCE_PORT   135 /* I-D */

Definition at line 119 of file dhcp6.h.

#define D6O_REMOTE_ID   37 /* RFC4649 */

Definition at line 66 of file dhcp6.h.

#define D6O_RSOO   66 /* RFC6422 */

Definition at line 95 of file dhcp6.h.

#define D6O_SERVERID   2

Definition at line 31 of file dhcp6.h.

#define D6O_SIP_SERVERS_ADDR   22 /* RFC3319 */

Definition at line 51 of file dhcp6.h.

#define D6O_SIP_SERVERS_DNS   21 /* RFC3319 */

Definition at line 50 of file dhcp6.h.

#define D6O_SIP_UA_CS_LIST   58 /* RFC6011 */

Definition at line 87 of file dhcp6.h.

#define D6O_SNTP_SERVERS   31 /* RFC4075 */

Definition at line 60 of file dhcp6.h.

#define D6O_SOL_MAX_RT   82 /* RFC7083 */

Definition at line 111 of file dhcp6.h.

#define D6O_STATUS_CODE   13

Definition at line 42 of file dhcp6.h.

#define D6O_SUBSCRIBER_ID   38 /* RFC4580 */

Definition at line 67 of file dhcp6.h.

#define D6O_UNICAST   12

Definition at line 41 of file dhcp6.h.

#define D6O_USER_CLASS   15

Definition at line 44 of file dhcp6.h.

#define D6O_V6_ACCESS_DOMAIN   57 /* RFC5986 */

Definition at line 86 of file dhcp6.h.

#define D6O_V6_LOST   51 /* RFC5223 */

Definition at line 80 of file dhcp6.h.

#define D6O_V6_PCP_SERVER   86 /* RFC7291 */

Definition at line 115 of file dhcp6.h.

#define D6O_VENDOR_CLASS   16

Definition at line 45 of file dhcp6.h.

#define D6O_VENDOR_OPTS   17

Definition at line 46 of file dhcp6.h.

#define D6O_VSS   68 /* RFC6607 */

Definition at line 97 of file dhcp6.h.

#define DEC_MAX_RC   5

Definition at line 216 of file dhcp6.h.

#define DEC_TIMEOUT   1

Definition at line 215 of file dhcp6.h.

#define DHCP4O6_QUERY_UNICAST   128

Definition at line 256 of file dhcp6.h.

#define DHCPV6_ADVERTISE   2

Definition at line 141 of file dhcp6.h.

#define DHCPV6_CONFIRM   4

Definition at line 143 of file dhcp6.h.

#define DHCPV6_DECLINE   9

Definition at line 148 of file dhcp6.h.

#define DHCPV6_DHCPV4_QUERY   20 /* RFC7341 */

Definition at line 159 of file dhcp6.h.

#define DHCPV6_DHCPV4_RESPONSE   21 /* RFC7341 */

Definition at line 160 of file dhcp6.h.

#define DHCPV6_INFORMATION_REQUEST   11

Definition at line 150 of file dhcp6.h.

#define DHCPV6_LEASEQUERY   14 /* RFC5007 */

Definition at line 153 of file dhcp6.h.

#define DHCPV6_LEASEQUERY_DATA   17 /* RFC5460 */

Definition at line 156 of file dhcp6.h.

#define DHCPV6_LEASEQUERY_DONE   16 /* RFC5460 */

Definition at line 155 of file dhcp6.h.

#define DHCPV6_LEASEQUERY_REPLY   15 /* RFC5007 */

Definition at line 154 of file dhcp6.h.

#define DHCPV6_REBIND   6

Definition at line 145 of file dhcp6.h.

#define DHCPV6_RECONFIGURE   10

Definition at line 149 of file dhcp6.h.

#define DHCPV6_RECONFIGURE_REPLY   19 /* RFC6977 */

Definition at line 158 of file dhcp6.h.

#define DHCPV6_RECONFIGURE_REQUEST   18 /* RFC6977 */

Definition at line 157 of file dhcp6.h.

#define DHCPV6_RELAY_FORW   12

Definition at line 151 of file dhcp6.h.

#define DHCPV6_RELAY_REPL   13

Definition at line 152 of file dhcp6.h.

#define DHCPV6_RELEASE   8

Definition at line 147 of file dhcp6.h.

#define DHCPV6_RENEW   5

Definition at line 144 of file dhcp6.h.

#define DHCPV6_REPLY   7

Definition at line 146 of file dhcp6.h.

#define DHCPV6_REQUEST   3

Definition at line 142 of file dhcp6.h.

#define DHCPV6_SOLICIT   1

Definition at line 140 of file dhcp6.h.

#define DUID_EN   2

Definition at line 168 of file dhcp6.h.

#define DUID_LL   3

Definition at line 169 of file dhcp6.h.

#define DUID_LLT   1

Definition at line 167 of file dhcp6.h.

#define DUID_TIME_EPOCH   946684800

Definition at line 275 of file dhcp6.h.

#define DUID_UUID   4 /* RFC6355 */

Definition at line 170 of file dhcp6.h.

#define EUI_64_ID_LEN   12 /* 2 for duid-type, 2 for hardware type, 8 for ID */

Definition at line 282 of file dhcp6.h.

#define HOP_COUNT_LIMIT   32

Definition at line 219 of file dhcp6.h.

#define IA_NA_OFFSET   12 /* IAID, T1, T2, all 4 octets each */

Definition at line 173 of file dhcp6.h.

#define IA_PD_OFFSET   12 /* IAID, T1, T2, all 4 octets each */

Definition at line 175 of file dhcp6.h.

#define IA_TA_OFFSET   4 /* IAID only, 4 octets */

Definition at line 174 of file dhcp6.h.

#define IAADDR_OFFSET   24

Definition at line 178 of file dhcp6.h.

#define IAID_LEN   4

Definition at line 283 of file dhcp6.h.

#define IAPREFIX_OFFSET   25

Definition at line 181 of file dhcp6.h.

#define IASUBOPT_NA_ADDR_OFFSET   0

Definition at line 286 of file dhcp6.h.

#define IASUBOPT_NA_LEN   24

Definition at line 289 of file dhcp6.h.

#define IASUBOPT_NA_PREF_OFFSET   16

Definition at line 287 of file dhcp6.h.

#define IASUBOPT_NA_VALID_OFFSET   20

Definition at line 288 of file dhcp6.h.

#define IASUBOPT_PD_LEN   25

Definition at line 296 of file dhcp6.h.

#define IASUBOPT_PD_PREF_OFFSET   0

Definition at line 292 of file dhcp6.h.

#define IASUBOPT_PD_PREFIX_OFFSET   9

Definition at line 295 of file dhcp6.h.

#define IASUBOPT_PD_PREFLEN_OFFSET   8

Definition at line 294 of file dhcp6.h.

#define IASUBOPT_PD_VALID_OFFSET   4

Definition at line 293 of file dhcp6.h.

#define INF_MAX_DELAY   1

Definition at line 210 of file dhcp6.h.

#define INF_MAX_RT   120

Definition at line 212 of file dhcp6.h.

#define INF_TIMEOUT   1

Definition at line 211 of file dhcp6.h.

#define IRT_DEFAULT   86400

Definition at line 279 of file dhcp6.h.

#define IRT_MINIMUM   600

Definition at line 280 of file dhcp6.h.

#define LQ6_MAX_RC   5

Definition at line 222 of file dhcp6.h.

#define LQ6_MAX_RT   10

Definition at line 221 of file dhcp6.h.

#define LQ6_TIMEOUT   1

Definition at line 220 of file dhcp6.h.

#define LQ6QT_BY_ADDRESS   1

Definition at line 264 of file dhcp6.h.

#define LQ6QT_BY_CLIENTID   2

Definition at line 265 of file dhcp6.h.

#define LQ6QT_BY_LINK_ADDRESS   4

Definition at line 267 of file dhcp6.h.

#define LQ6QT_BY_RELAY_ID   3

Definition at line 266 of file dhcp6.h.

#define LQ6QT_BY_REMOTE_ID   5

Definition at line 268 of file dhcp6.h.

#define LQ_QUERY_OFFSET   17

Definition at line 184 of file dhcp6.h.

#define MAX_V6RELAY_HOPS   32

Definition at line 246 of file dhcp6.h.

#define REB_MAX_RT   600

Definition at line 209 of file dhcp6.h.

#define REB_TIMEOUT   10

Definition at line 208 of file dhcp6.h.

#define REC_MAX_RC   8

Definition at line 218 of file dhcp6.h.

#define REC_TIMEOUT   2

Definition at line 217 of file dhcp6.h.

#define REL_MAX_RC   5

Definition at line 214 of file dhcp6.h.

#define REL_TIMEOUT   1

Definition at line 213 of file dhcp6.h.

#define REN_MAX_RT   600

Definition at line 207 of file dhcp6.h.

#define REN_TIMEOUT   10

Definition at line 206 of file dhcp6.h.

#define REPLY_OPTIONS_INDEX   4

Definition at line 234 of file dhcp6.h.

#define REQ_MAX_RC   10

Definition at line 201 of file dhcp6.h.

#define REQ_MAX_RT   30

Definition at line 200 of file dhcp6.h.

#define REQ_TIMEOUT   1

Definition at line 199 of file dhcp6.h.

#define SOL_MAX_DELAY   1

Definition at line 196 of file dhcp6.h.

#define SOL_MAX_RT   120

Definition at line 198 of file dhcp6.h.

#define SOL_TIMEOUT   1

Definition at line 197 of file dhcp6.h.

#define STATUS_MalformedQuery   8

Definition at line 132 of file dhcp6.h.

#define STATUS_NoAddrsAvail   2

Definition at line 126 of file dhcp6.h.

#define STATUS_NoBinding   3

Definition at line 127 of file dhcp6.h.

#define STATUS_NoPrefixAvail   6

Definition at line 130 of file dhcp6.h.

#define STATUS_NotAllowed   10

Definition at line 134 of file dhcp6.h.

#define STATUS_NotConfigured   9

Definition at line 133 of file dhcp6.h.

#define STATUS_NotOnLink   4

Definition at line 128 of file dhcp6.h.

#define STATUS_QueryTerminated   11

Definition at line 135 of file dhcp6.h.

#define STATUS_Success   0

Definition at line 124 of file dhcp6.h.

#define STATUS_UnknownQueryType   7

Definition at line 131 of file dhcp6.h.

#define STATUS_UnspecFail   1

Definition at line 125 of file dhcp6.h.

#define STATUS_UseMulticast   5

Definition at line 129 of file dhcp6.h.

Variable Documentation

const int dhcpv6_type_name_max

Definition at line 684 of file tables.c.

const char* dhcpv6_type_names[]

Definition at line 660 of file tables.c.