summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index 7c92857285e..23232ab3731 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.52 2004/05/08 18:21:55 henning Exp $ */
+/* $OpenBSD: session.h,v 1.53 2004/05/28 18:39:09 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -123,6 +123,11 @@ struct capa_mp {
u_int8_t safi;
};
+struct bgpd_sysdep {
+ u_int8_t no_pfkey;
+ u_int8_t no_md5sig;
+};
+
struct ctl_conn {
TAILQ_ENTRY(ctl_conn) entries;
struct imsgbuf ibuf;
@@ -216,9 +221,9 @@ void control_accept(int);
void control_close(int);
/* pfkey.c */
-int pfkey_establish(struct peer *p);
-int pfkey_remove(struct peer *p);
-int pfkey_init(void);
+int pfkey_establish(struct peer *);
+int pfkey_remove(struct peer *);
+int pfkey_init(struct bgpd_sysdep *);
/* printconf.c */
void print_config(struct bgpd_config *, struct network_head *, struct peer *,