summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-12-23 17:24:04 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-12-23 17:24:04 +0000
commite47c1496219f0d6a6f27bc322e56b5a8a327f4b4 (patch)
treeb356c70dbf02069520f41a5192aa9472dc76a48d /usr.sbin/bgpd/session.h
parent4b49ebbde244ad62ad3352277ed9d920e7201747 (diff)
introduce getpeerbydesc(), find a peer by its description
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index 103dc5fc368..9d45d121ec9 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.74 2004/12/23 15:15:55 henning Exp $ */
+/* $OpenBSD: session.h,v 1.75 2004/12/23 17:24:03 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -184,6 +184,7 @@ pid_t session_main(struct bgpd_config *, struct peer *,
struct mrt_head *, int[2], int[2], int[2]);
void bgp_fsm(struct peer *, enum session_events);
struct peer *getpeerbyaddr(struct bgpd_addr *);
+struct peer *getpeerbydesc(const char *);
int imsg_compose_parent(int, pid_t, void *, u_int16_t);
int imsg_compose_rde(int, pid_t, void *, u_int16_t);