Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys add bits for address flags
details: https://anonhg.NetBSD.org/src/rev/fcb541d64f55
branches: trunk
changeset: 817865:fcb541d64f55
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 13 00:19:28 2016 +0000
description:
add bits for address flags
diffstat:
sys/netinet/in_var.h | 5 ++++-
sys/netinet6/in6_var.h | 7 ++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 59446fe72408 -r fcb541d64f55 sys/netinet/in_var.h
--- a/sys/netinet/in_var.h Mon Sep 12 23:11:50 2016 +0000
+++ b/sys/netinet/in_var.h Tue Sep 13 00:19:28 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_var.h,v 1.79 2016/08/01 03:15:30 ozaki-r Exp $ */
+/* $NetBSD: in_var.h,v 1.80 2016/09/13 00:19:28 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -71,6 +71,9 @@
#define IN_IFF_DETACHED 0x04 /* may be detached from the link */
#define IN_IFF_TRYTENTATIVE 0x08 /* intent to try DAD */
+#define IN_IFFBITS \
+ "\020\1TENTATIVE\2DUPLICATED\3DETACHED\4TRYTENTATIVE"
+
/* do not input/output */
#define IN_IFF_NOTREADY \
(IN_IFF_TRYTENTATIVE | IN_IFF_TENTATIVE | IN_IFF_DUPLICATED)
diff -r 59446fe72408 -r fcb541d64f55 sys/netinet6/in6_var.h
--- a/sys/netinet6/in6_var.h Mon Sep 12 23:11:50 2016 +0000
+++ b/sys/netinet6/in6_var.h Tue Sep 13 00:19:28 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6_var.h,v 1.84 2016/08/01 03:15:31 ozaki-r Exp $ */
+/* $NetBSD: in6_var.h,v 1.85 2016/09/13 00:19:49 christos Exp $ */
/* $KAME: in6_var.h,v 1.81 2002/06/08 11:16:51 itojun Exp $ */
/*
@@ -498,6 +498,11 @@
#define IN6_IFF_AUTOCONF 0x40 /* autoconfigurable address. */
#define IN6_IFF_TEMPORARY 0x80 /* temporary (anonymous) address. */
+#define IN6_IFFBITS \
+ "\020\1ANYCAST\2TENTATIVE\3DUPLICATED\4DETACHED\5DEPRECAGTED\6NODAD" \
+ "\7AUTOCONF\10TEMPORARY"
+
+
/* do not input/output */
#define IN6_IFF_NOTREADY (IN6_IFF_TENTATIVE|IN6_IFF_DUPLICATED)
Home |
Main Index |
Thread Index |
Old Index