summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index fabf97eff75..39615654dc2 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.68 2004/01/13 13:45:49 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.69 2004/01/17 18:05:46 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -176,7 +176,8 @@ enum imsg_type {
IMSG_CTL_NEIGHBOR_DOWN,
IMSG_CTL_KROUTE,
IMSG_CTL_KROUTE_ADDR,
- IMSG_CTL_SHOW_NEXTHOP
+ IMSG_CTL_SHOW_NEXTHOP,
+ IMSG_CTL_SHOW_INTERFACE
};
struct imsg_hdr {
@@ -226,6 +227,11 @@ struct kroute_nexthop {
struct kroute kr;
};
+struct kif {
+ u_short ifindex;
+ int flags;
+};
+
struct session_up {
u_int32_t remote_bgpid;
struct bgpd_addr local_addr;