[BACK]Return to patch-rdnssd_rdnssd.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / tcptraceroute6 / patches

File: [cvs.NetBSD.org] / pkgsrc / net / tcptraceroute6 / patches / patch-rdnssd_rdnssd.h (download)

Revision 1.1, Fri Oct 23 09:52:35 2015 UTC (4 years, 11 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4

Add tcptraceroute6 from the NDisc6 package by Remi Denis-Courmont.
This is similar to tcptraceroute, but for IPv6.
This is the version from 1.0.3 of the NDisc6 package.

$NetBSD: patch-rdnssd_rdnssd.h,v 1.1 2015/10/23 09:52:35 he Exp $

Don't define nd_opt_rdnss on NetBSD.

--- rdnssd/rdnssd.h.orig	2011-10-17 15:35:11.000000000 +0000
+++ rdnssd/rdnssd.h
@@ -32,6 +32,7 @@ extern const rdnss_src_t rdnss_netlink, 
 #define ND_OPT_RDNSS 25
 #define ND_OPT_DNSSL 31
 
+#if !defined(__NetBSD__)
 struct nd_opt_rdnss
 {
 	uint8_t nd_opt_rdnss_type;
@@ -49,6 +50,7 @@ struct nd_opt_dnssl
 	uint32_t nd_opt_dnssl_lifetime;
 	/* followed by one or more domain names */
 };
+#endif /* !defined(__NetBSD__) */
 
 # ifdef __cplusplus
 extern "C" {