summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_var.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-07-16 21:13:04 +0000
committerrwatson <rwatson@FreeBSD.org>2009-07-16 21:13:04 +0000
commit88f8de4d4001c74946458579ca0710df70161c90 (patch)
tree55b9efd9d8e3a027a51c2539777939228ae3532b /sys/netinet6/ip6_var.h
parentbfbc302bca72638c26907b5b0ee204eab992fdde (diff)
downloadFreeBSD-src-88f8de4d4001c74946458579ca0710df70161c90.zip
FreeBSD-src-88f8de4d4001c74946458579ca0710df70161c90.tar.gz
Remove unused VNET_SET() and related macros; only VNET_GET() is
ever actually used. Rename VNET_GET() to VNET() to shorten variable references. Discussed with: bz, julian Reviewed by: bz Approved by: re (kensmith, kib)
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r--sys/netinet6/ip6_var.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index b61da42..e8fe3ec 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -330,33 +330,33 @@ VNET_DECLARE(int, ip6stealth);
VNET_DECLARE(int, ip6_use_defzone); /* Whether to use the default scope
* zone when unspecified */
-#define V_ip6stat VNET_GET(ip6stat)
-#define V_ip6_defhlim VNET_GET(ip6_defhlim)
-#define V_ip6_defmcasthlim VNET_GET(ip6_defmcasthlim)
-#define V_ip6_forwarding VNET_GET(ip6_forwarding)
-#define V_ip6_gif_hlim VNET_GET(ip6_gif_hlim)
-#define V_ip6_use_deprecated VNET_GET(ip6_use_deprecated)
-#define V_ip6_rr_prune VNET_GET(ip6_rr_prune)
-#define V_ip6_mcast_pmtu VNET_GET(ip6_mcast_pmtu)
-#define V_ip6_v6only VNET_GET(ip6_v6only)
-#define V_ip6_mrouter VNET_GET(ip6_mrouter)
-#define V_ip6_sendredirects VNET_GET(ip6_sendredirects)
-#define V_ip6_maxfragpackets VNET_GET(ip6_maxfragpackets)
-#define V_ip6_maxfrags VNET_GET(ip6_maxfrags)
-#define V_ip6_accept_rtadv VNET_GET(ip6_accept_rtadv)
-#define V_ip6_keepfaith VNET_GET(ip6_keepfaith)
-#define V_ip6_log_interval VNET_GET(ip6_log_interval)
-#define V_ip6_log_time VNET_GET(ip6_log_time)
-#define V_ip6_hdrnestlimit VNET_GET(ip6_hdrnestlimit)
-#define V_ip6_dad_count VNET_GET(ip6_dad_count)
-#define V_ip6_auto_flowlabel VNET_GET(ip6_auto_flowlabel)
-#define V_ip6_auto_linklocal VNET_GET(ip6_auto_linklocal)
-#define V_ip6_use_tempaddr VNET_GET(ip6_use_tempaddr)
-#define V_ip6_prefer_tempaddr VNET_GET(ip6_prefer_tempaddr)
+#define V_ip6stat VNET(ip6stat)
+#define V_ip6_defhlim VNET(ip6_defhlim)
+#define V_ip6_defmcasthlim VNET(ip6_defmcasthlim)
+#define V_ip6_forwarding VNET(ip6_forwarding)
+#define V_ip6_gif_hlim VNET(ip6_gif_hlim)
+#define V_ip6_use_deprecated VNET(ip6_use_deprecated)
+#define V_ip6_rr_prune VNET(ip6_rr_prune)
+#define V_ip6_mcast_pmtu VNET(ip6_mcast_pmtu)
+#define V_ip6_v6only VNET(ip6_v6only)
+#define V_ip6_mrouter VNET(ip6_mrouter)
+#define V_ip6_sendredirects VNET(ip6_sendredirects)
+#define V_ip6_maxfragpackets VNET(ip6_maxfragpackets)
+#define V_ip6_maxfrags VNET(ip6_maxfrags)
+#define V_ip6_accept_rtadv VNET(ip6_accept_rtadv)
+#define V_ip6_keepfaith VNET(ip6_keepfaith)
+#define V_ip6_log_interval VNET(ip6_log_interval)
+#define V_ip6_log_time VNET(ip6_log_time)
+#define V_ip6_hdrnestlimit VNET(ip6_hdrnestlimit)
+#define V_ip6_dad_count VNET(ip6_dad_count)
+#define V_ip6_auto_flowlabel VNET(ip6_auto_flowlabel)
+#define V_ip6_auto_linklocal VNET(ip6_auto_linklocal)
+#define V_ip6_use_tempaddr VNET(ip6_use_tempaddr)
+#define V_ip6_prefer_tempaddr VNET(ip6_prefer_tempaddr)
#ifdef IPSTEALTH
-#define V_ip6stealth VNET_GET(ip6stealth)
+#define V_ip6stealth VNET(ip6stealth)
#endif
-#define V_ip6_use_defzone VNET_GET(ip6_use_defzone)
+#define V_ip6_use_defzone VNET(ip6_use_defzone)
extern struct pfil_head inet6_pfil_hook; /* packet filter hooks */
OpenPOWER on IntegriCloud