This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 1/2] Added ICMPv6 Recursive DNS Server Option
- From: Dan Luedtke <maildanrl at gmail dot com>
- To: libc-alpha at sourceware dot org
- Cc: Dan Luedtke <danrl at danrl dot de>
- Date: Mon, 10 Feb 2014 22:43:14 +0100
- Subject: [PATCH 1/2] Added ICMPv6 Recursive DNS Server Option
- Authentication-results: sourceware.org; auth=none
---
inet/netinet/icmp6.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/inet/netinet/icmp6.h b/inet/netinet/icmp6.h
index baaeb26..e9438e0 100644
--- a/inet/netinet/icmp6.h
+++ b/inet/netinet/icmp6.h
@@ -197,6 +197,7 @@ struct nd_opt_hdr /* Neighbor discovery option header */
#define ND_OPT_MTU 5
#define ND_OPT_RTR_ADV_INTERVAL 7
#define ND_OPT_HOME_AGENT_INFO 8
+#define ND_OPT_RDNSS 25
struct nd_opt_prefix_info /* prefix information */
{
@@ -231,6 +232,15 @@ struct nd_opt_mtu /* MTU option */
uint32_t nd_opt_mtu_mtu;
};
+struct nd_opt_rdnss /* RDNSS option */
+ {
+ uint8_t nd_opt_rdnss_type;
+ uint8_t nd_opt_rdnss_len;
+ uint16_t nd_opt_rdnss_reserved;
+ uint32_t nd_opt_rdnss_lifetime;
+ /* followed by recursive DNS servers */
+ };
+
struct mld_hdr
{
struct icmp6_hdr mld_icmp6_hdr;
--
1.8.5.3