255 static const uint16_t HWTYPE_ETHERNET = 0x0001;
256 static const uint16_t HWTYPE_INFINIBAND = 0x0020;
264 #define RSASSA_PKCS1v1_5 1
267 static const uint32_t ENTERPRISE_ID_ISC = 2495;
271 static const uint16_t ISC_V6_4O6_INTERFACE = 60000;
272 static const uint16_t ISC_V6_4O6_SRC_ADDRESS = 60001;
273 static const uint16_t ISC_V6_4O6_SRC_PORT = 60002;
276 static const uint16_t IA_NA_OFFSET = 12;
277 static const uint16_t IA_TA_OFFSET = 4;
278 static const uint16_t IA_PD_OFFSET = 12;
281 static const uint16_t IAADDR_OFFSET = 24;
284 static const uint16_t IAPREFIX_OFFSET = 25;
287 static const uint16_t LQ_QUERY_OFFSET = 17;
293 #define ALL_DHCP_RELAY_AGENTS_AND_SERVERS "ff02::1:2"
294 #define ALL_DHCP_SERVERS "ff05::1:3"
296 static const uint16_t DHCP6_CLIENT_PORT = 546;
297 static const uint16_t DHCP6_SERVER_PORT = 547;
304 #define SOL_MAX_DELAY 1
305 #define SOL_TIMEOUT 1
306 #define SOL_MAX_RT 120
307 #define REQ_TIMEOUT 1
308 #define REQ_MAX_RT 30
309 #define REQ_MAX_RC 10
310 #define CNF_MAX_DELAY 1
311 #define CNF_TIMEOUT 1
313 #define CNF_MAX_RD 10
314 #define REN_TIMEOUT 10
315 #define REN_MAX_RT 600
316 #define REB_TIMEOUT 10
317 #define REB_MAX_RT 600
318 #define INF_MAX_DELAY 1
319 #define INF_TIMEOUT 1
320 #define INF_MAX_RT 120
321 #define REL_TIMEOUT 1
323 #define DEC_TIMEOUT 1
325 #define REC_TIMEOUT 2
327 #define HOP_COUNT_LIMIT 32
328 #define LQ6_TIMEOUT 1
329 #define LQ6_MAX_RT 10
334 #define LQ6QT_BY_ADDRESS 1
335 #define LQ6QT_BY_CLIENTID 2
345 #define DUID_TIME_EPOCH 946684800
349 #define IRT_DEFAULT 86400
350 #define IRT_MINIMUM 600
353 #define DHCPV4_QUERY_FLAGS_UNICAST (1 << 23)
const int dhcpv6_type_name_max
const char * dhcpv6_type_names[]