summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-09 14:10:07 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-09 14:10:07 +0000
commit4a15265f6d5eefabf7b40921fc4ba96b44481ebc (patch)
tree671a22bcd81946d5cb1b4d4cbb020b3eb967adc7 /usr.sbin/bgpd/bgpd.h
parentba2d3f370951c923cbaa9b62065c0e5d2d8ecfcf (diff)
flag kernel routes whch are not conencted routes as static routes.
that's what they are, and it makes matching on them easier.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index dcbbb74d2da..c3b7b9a8c7b 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.59 2004/01/09 13:47:07 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.60 2004/01/09 14:10:06 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -48,11 +48,12 @@
#define SOCKET_NAME "/var/run/bgpd.sock"
-#define F_BGPD_INSERTED 0x0001
-#define F_KERNEL 0x0002
-#define F_CONNECTED 0x0004
-#define F_NEXTHOP 0x0008
-#define F_DOWN 0x0010
+#define F_BGPD_INSERTED 0x01
+#define F_KERNEL 0x02
+#define F_CONNECTED 0x04
+#define F_NEXTHOP 0x08
+#define F_DOWN 0x10
+#define F_STATIC 0x20
enum {
PROC_MAIN,