diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-01-24 10:03:45 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-01-24 10:03:45 +0000 |
commit | 6bf83ade2a4168a5228b22830193d9ed67ef7f5d (patch) | |
tree | b5cdecba6b979689e359ea17392418291e51908e /usr.sbin/bgpd/bgpd.h | |
parent | 5cd3175274d02b20fea399bceaa0d520d67688b7 (diff) |
introduce a second control socket, which is restricted to certain messages,
nameley the show ones. needed for looking glass style applications,
monitoring etc. claudio ok
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 9337fd548be..af774aa802e 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.187 2006/01/20 16:40:17 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.188 2006/01/24 10:03:44 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -142,6 +142,7 @@ struct bgpd_config { struct filter_set_head staticset; struct filter_set_head staticset6; struct listen_addrs *listen_addrs; + char *rcsock; int opts; int flags; int log; @@ -334,7 +335,8 @@ struct imsg { enum ctl_results { CTL_RES_OK, - CTL_RES_NOSUCHPEER + CTL_RES_NOSUCHPEER, + CTL_RES_DENIED }; /* needed for session.h parse prototype */ @@ -730,8 +732,7 @@ void inet6applymask(struct in6_addr *, const struct in6_addr *, int); /* control.c */ -int control_init(void); -void control_cleanup(void); +void control_cleanup(const char *); int control_imsg_relay(struct imsg *); /* pftable.c */ |