diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-11 02:35:15 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-11 02:35:15 +0000 |
commit | 79985b6c591f4b1d7147d938dc9f7d0a2a6a288a (patch) | |
tree | 2619d894358340444fa9abf407469c036bd28e21 /usr.sbin/bgpd/bgpd.h | |
parent | 0481fa450146250191a980ac1b919baf24c0b7da (diff) |
new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops and
the result of their validity check
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 1e0aca93c5b..5e1ad970850 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.61 2004/01/09 19:08:50 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.62 2004/01/11 02:35:14 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -161,7 +161,8 @@ enum imsg_type { IMSG_CTL_NEIGHBOR_UP, IMSG_CTL_NEIGHBOR_DOWN, IMSG_CTL_KROUTE, - IMSG_CTL_KROUTE_ADDR + IMSG_CTL_KROUTE_ADDR, + IMSG_CTL_SHOW_NEXTHOP }; struct imsg_hdr { @@ -209,6 +210,11 @@ struct kroute_nexthop { in_addr_t gateway; }; +struct ctl_show_nexthop { + struct bgpd_addr addr; + u_int8_t valid; +}; + /* prototypes */ /* bgpd.c */ void send_nexthop_update(struct kroute_nexthop *); |