Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 define constants for scopeid function flags.
details: https://anonhg.NetBSD.org/src/rev/dddc8bbcaa26
branches: trunk
changeset: 790686:dddc8bbcaa26
user: christos <christos%NetBSD.org@localhost>
date: Sat Oct 19 15:44:29 2013 +0000
description:
define constants for scopeid function flags.
diffstat:
sys/netinet6/in6.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 2dac46d4838f -r dddc8bbcaa26 sys/netinet6/in6.h
--- a/sys/netinet6/in6.h Sat Oct 19 15:20:52 2013 +0000
+++ b/sys/netinet6/in6.h Sat Oct 19 15:44:29 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.h,v 1.74 2013/10/19 00:09:03 christos Exp $ */
+/* $NetBSD: in6.h,v 1.75 2013/10/19 15:44:29 christos Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -771,6 +771,9 @@
void in6_sin6_2_sin_in_sock(struct sockaddr *);
void in6_sin_2_v4mapsin6_in_sock(struct sockaddr **);
+#define INET6_IS_ADDR_LINKLOCAL 1
+#define INET6_IS_ADDR_MC_LINKLOCAL 2
+#define INET6_IS_ADDR_SITELOCAL 4
void inet6_getscopeid(struct sockaddr_in6 *, int);
void inet6_putscopeid(struct sockaddr_in6 *, int);
Home |
Main Index |
Thread Index |
Old Index