|
version 1.1.1.1, 2013/07/29 19:37:40
|
version 1.1.1.4, 2021/03/17 00:56:46
|
|
Line 1
|
Line 1
|
| /* dnsmasq is Copyright (c) 2000-2013 Simon Kelley | /* dnsmasq is Copyright (c) 2000-2021 Simon Kelley |
| |
|
| This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
|
Line 33 struct ra_packet {
|
Line 33 struct ra_packet {
|
| u32 retrans_time; |
u32 retrans_time; |
| }; |
}; |
| |
|
| |
struct neigh_packet { |
| |
u8 type, code; |
| |
u16 checksum; |
| |
u16 reserved; |
| |
struct in6_addr target; |
| |
}; |
| |
|
| struct prefix_opt { |
struct prefix_opt { |
| u8 type, len, prefix_len, flags; |
u8 type, len, prefix_len, flags; |
| u32 valid_lifetime, preferred_lifetime, reserved; |
u32 valid_lifetime, preferred_lifetime, reserved; |
|
Line 42 struct prefix_opt {
|
Line 49 struct prefix_opt {
|
| #define ICMP6_OPT_SOURCE_MAC 1 |
#define ICMP6_OPT_SOURCE_MAC 1 |
| #define ICMP6_OPT_PREFIX 3 |
#define ICMP6_OPT_PREFIX 3 |
| #define ICMP6_OPT_MTU 5 |
#define ICMP6_OPT_MTU 5 |
| |
#define ICMP6_OPT_ADV_INTERVAL 7 |
| |
#define ICMP6_OPT_RT_INFO 24 |
| #define ICMP6_OPT_RDNSS 25 |
#define ICMP6_OPT_RDNSS 25 |
| #define ICMP6_OPT_DNSSL 31 |
#define ICMP6_OPT_DNSSL 31 |
| |
|