summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/in6.h
diff options
context:
space:
mode:
authorsuz <suz@FreeBSD.org>2005-10-19 16:53:24 +0000
committersuz <suz@FreeBSD.org>2005-10-19 16:53:24 +0000
commit412574c368a6010d6db88d9a3d0275ae74a2047e (patch)
tree4dabb85555262e01dfc155ead343e0eaf314c9df /sys/netinet6/in6.h
parent0fd6aaa3c72e091ea82eeb6ca31260249efa9d73 (diff)
downloadFreeBSD-src-412574c368a6010d6db88d9a3d0275ae74a2047e.zip
FreeBSD-src-412574c368a6010d6db88d9a3d0275ae74a2047e.tar.gz
sync with KAME (removed a unnecesary non-standard macro)
Obtained from: KAME Reviewd by: ume, gnn
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r--sys/netinet6/in6.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index d0435f6..8777c1c 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -249,14 +249,6 @@ extern const struct in6_addr in6addr_linklocal_allrouters;
#endif
#endif
-#ifdef _KERNEL /* non standard */
-/* see if two addresses are equal in a scope-conscious manner. */
-#define SA6_ARE_ADDR_EQUAL(a, b) \
- (((a)->sin6_scope_id == 0 || (b)->sin6_scope_id == 0 || \
- ((a)->sin6_scope_id == (b)->sin6_scope_id)) && \
- (bcmp(&(a)->sin6_addr, &(b)->sin6_addr, sizeof(struct in6_addr)) == 0))
-#endif
-
/*
* Unspecified
*/
OpenPOWER on IntegriCloud