Module Name:    src
Committed By:   christos
Date:           Sat Oct 19 15:44:29 UTC 2013

Modified Files:
        src/sys/netinet6: in6.h

Log Message:
define constants for scopeid function flags.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/netinet6/in6.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet6/in6.h
diff -u src/sys/netinet6/in6.h:1.74 src/sys/netinet6/in6.h:1.75
--- src/sys/netinet6/in6.h:1.74	Fri Oct 18 20:09:03 2013
+++ src/sys/netinet6/in6.h	Sat Oct 19 11:44:29 2013
@@ -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_sin_2_v4mapsin6(struct sockaddr
 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);
 

Reply via email to