[PATCH 1/2] Added ICMPv6 Recursive DNS Server Option
Dan Luedtke
maildanrl@gmail.com
Mon Feb 10 21:43:00 GMT 2014
---
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
More information about the Libc-alpha
mailing list