summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-04 18:51:24 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-04 18:51:24 +0000
commit28b7b3ac46fb9369695f70ad210291f7a919568d (patch)
tree54b06bd568c9f4258f6c3095332266be1ecffd20 /usr.sbin/bgpd/bgpd.h
parentc7bb0964d9cd0217cdaf4a82ab3d44c63597eaaf (diff)
allow "show neighbor" to be limited to one specific neighbor
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index f7d8f6ba2bf..2f97b8a0c74 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.50 2004/01/03 20:37:34 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.51 2004/01/04 18:51:23 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -75,6 +75,16 @@ struct msgbuf {
TAILQ_HEAD(bufs, buf) bufs;
};
+struct bgpd_addr {
+ sa_family_t af;
+ union {
+ struct in_addr v4;
+ struct in6_addr v6;
+ } ba; /* 128-bit address */
+#define v4 ba.v4
+#define v6 ba.v6
+};
+
struct bgpd_config {
int opts;
u_int16_t as;