dhcp6-protocol.h revision bbfa43ca37df0718287c25a8e39ee7477ebf33f6
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering This file is part of systemd.
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering Copyright (C) 2014 Intel Corporation. All rights reserved.
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering systemd is free software; you can redistribute it and/or modify it
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering under the terms of the GNU Lesser General Public License as published by
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering the Free Software Foundation; either version 2.1 of the License, or
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering (at your option) any later version.
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering systemd is distributed in the hope that it will be useful, but
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering Lesser General Public License for more details.
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering You should have received a copy of the GNU Lesser General Public License
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering 1280 - sizeof(struct ip6_hdr) - sizeof(struct udphdr)
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define IN6ADDR_ALL_DHCP6_RELAY_AGENTS_AND_SERVERS_INIT \
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering { { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
3b97fcbd28f92a1e51887fef5de8844a89bde523Lennart Poettering 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02 } } }
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_INF_TIMEOUT 1 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_INF_MAX_RT 120 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_SOL_MAX_DELAY 1 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_SOL_TIMEOUT 1 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_SOL_MAX_RT 120 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_REQ_TIMEOUT 1 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_REQ_MAX_RT 120 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_REN_TIMEOUT 10 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_REN_MAX_RT 600 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_REB_TIMEOUT 10 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering#define DHCP6_REB_MAX_RT 600 * USEC_PER_SEC
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering /* option code 10 is unassigned */
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering DHCP6_OPTION_DNS_SERVERS = 23, /* RFC 3646 */
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering DHCP6_OPTION_DOMAIN_LIST = 24, /* RFC 3646 */
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering DHCP6_OPTION_SNTP_SERVERS = 31, /* RFC 4075 */
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering /* option code 35 is unassigned */
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering DHCP6_OPTION_NTP_SERVER = 56, /* RFC 5908 */
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering /* option codes 89-142 are unassigned */
ef63833d532dd86bdba63211e6a1363cbb3ef61dLennart Poettering /* option codes 144-65535 are unassigned */