1 /* dnsmasq is Copyright (c) 2000-2013 Simon Kelley
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; version 2 dated June, 1991, or
6 (at your option) version 3 dated 29 June, 2007.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #define ALL_NODES "FF02::1"
18 #define ALL_ROUTERS "FF02::2"
40 struct in6_addr target
;
44 u8 type
, len
, prefix_len
, flags
;
45 u32 valid_lifetime
, preferred_lifetime
, reserved
;
46 struct in6_addr prefix
;
49 #define ICMP6_OPT_SOURCE_MAC 1
50 #define ICMP6_OPT_PREFIX 3
51 #define ICMP6_OPT_MTU 5
52 #define ICMP6_OPT_RDNSS 25
53 #define ICMP6_OPT_DNSSL 31