summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/nd6.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-12-29 18:25:18 +0000
committerjhb <jhb@FreeBSD.org>2011-12-29 18:25:18 +0000
commit7a0151720c2fe467008a6d652b662b6bf34f8f4b (patch)
treea49d597cd77d96cec5272f2d22c60ea00932699a /sys/netinet6/nd6.h
parentf6d4e2f059e27289d1c8365780ea3c7234117776 (diff)
downloadFreeBSD-src-7a0151720c2fe467008a6d652b662b6bf34f8f4b.zip
FreeBSD-src-7a0151720c2fe467008a6d652b662b6bf34f8f4b.tar.gz
Use queue(3) macros instead of home-rolled versions in several places in
the INET6 code. This includes retiring the 'ndpr_next' and 'pfr_next' macros. Submitted by: pluknet (earlier version) Reviewed by: pluknet
Diffstat (limited to 'sys/netinet6/nd6.h')
-rw-r--r--sys/netinet6/nd6.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index ca981d0..2313bf8 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -278,8 +278,6 @@ struct nd_prefix {
int ndpr_refcnt; /* reference couter from addresses */
};
-#define ndpr_next ndpr_entry.le_next
-
#define ndpr_raf ndpr_flags
#define ndpr_raf_onlink ndpr_flags.onlink
#define ndpr_raf_auto ndpr_flags.autonomous
@@ -313,7 +311,6 @@ struct inet6_ndpr_msghdr {
struct nd_pfxrouter {
LIST_ENTRY(nd_pfxrouter) pfr_entry;
-#define pfr_next pfr_entry.le_next
struct nd_defrouter *router;
};
OpenPOWER on IntegriCloud