264 static const uint16_t HWTYPE_ETHERNET = 0x0001;
265 static const uint16_t HWTYPE_INFINIBAND = 0x0020;
273 #define RSASSA_PKCS1v1_5 1
276 static const uint32_t ENTERPRISE_ID_ISC = 2495;
280 static const uint16_t ISC_V6_4O6_INTERFACE = 60000;
281 static const uint16_t ISC_V6_4O6_SRC_ADDRESS = 60001;
282 static const uint16_t ISC_V6_4O6_SRC_PORT = 60002;
285 static const uint16_t IA_NA_OFFSET = 12;
286 static const uint16_t IA_TA_OFFSET = 4;
287 static const uint16_t IA_PD_OFFSET = 12;
290 static const uint16_t IAADDR_OFFSET = 24;
293 static const uint16_t IAPREFIX_OFFSET = 25;
296 static const uint16_t LQ_QUERY_OFFSET = 17;
302 #define ALL_DHCP_RELAY_AGENTS_AND_SERVERS "ff02::1:2"
303 #define ALL_DHCP_SERVERS "ff05::1:3"
305 static const uint16_t DHCP6_CLIENT_PORT = 546;
306 static const uint16_t DHCP6_SERVER_PORT = 547;
313 #define SOL_MAX_DELAY 1
314 #define SOL_TIMEOUT 1
315 #define SOL_MAX_RT 120
316 #define REQ_TIMEOUT 1
317 #define REQ_MAX_RT 30
318 #define REQ_MAX_RC 10
319 #define CNF_MAX_DELAY 1
320 #define CNF_TIMEOUT 1
322 #define CNF_MAX_RD 10
323 #define REN_TIMEOUT 10
324 #define REN_MAX_RT 600
325 #define REB_TIMEOUT 10
326 #define REB_MAX_RT 600
327 #define INF_MAX_DELAY 1
328 #define INF_TIMEOUT 1
329 #define INF_MAX_RT 120
330 #define REL_TIMEOUT 1
332 #define DEC_TIMEOUT 1
334 #define REC_TIMEOUT 2
336 #define HOP_COUNT_LIMIT 32
337 #define LQ6_TIMEOUT 1
338 #define LQ6_MAX_RT 10
343 #define LQ6QT_BY_ADDRESS 1
344 #define LQ6QT_BY_CLIENTID 2
354 #define DUID_TIME_EPOCH 946684800
358 #define IRT_DEFAULT 86400
359 #define IRT_MINIMUM 600
362 #define DHCPV4_QUERY_FLAGS_UNICAST (1 << 23)