summaryrefslogtreecommitdiff
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2008-09-15 20:11:06 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2008-09-15 20:11:06 +0000
commitef90d045629b6f9d2a2f6c69e14ce18b200a4f1f (patch)
tree2c8f2fcc28a2ca67b8a560207b9dac814f0d7160 /sys/net/route.h
parented39f38a9ab23e3d455f16b7c3154f69db4410b7 (diff)
Add RTP_MASK and RTP_DOWN needed for upcomming link state tracking.
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index ff3c4c0f495..49b4bed0ee9 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.51 2008/06/08 19:12:28 claudio Exp $ */
+/* $OpenBSD: route.h,v 1.52 2008/09/15 20:11:05 claudio Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -166,6 +166,8 @@ struct rtentry {
#define RTP_DEFAULT 48 /* routes that have nothing set */
#define RTP_MAX 63 /* maximum priority */
#define RTP_ANY 64 /* any of the above */
+#define RTP_MASK 0x7f
+#define RTP_DOWN 0x80 /* route/link is down */
/*
* Routing statistics.