summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-03-10 14:45:26 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-03-10 14:45:26 +0000
commita7c89a3d6c175ef43aecb238ce95c25527802845 (patch)
tree59b1944ce8ceafa19e167eeec6e441a90e9c589f /usr.sbin/bgpd/session.h
parent0f19558f9f07930052353aba7b3d13834b933bca (diff)
pass a pointer to the filter rule list to session_main() so we can free()
the list entries and the head there after forking
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index d40cfdec62b..9ab267941e4 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.35 2004/03/10 11:38:33 henning Exp $ */
+/* $OpenBSD: session.h,v 1.36 2004/03/10 14:45:25 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -169,9 +169,9 @@ struct peer {
struct peer *peers;
/* session.c */
-void session_socket_blockmode(int, enum blockmodes);
-int session_main(struct bgpd_config *, struct peer *, int[2],
- int[2]);
+void session_socket_blockmode(int, enum blockmodes);
+int session_main(struct bgpd_config *, struct peer *,
+ struct filter_head *, int[2], int[2]);
void bgp_fsm(struct peer *, enum session_events);
struct peer *getpeerbyip(in_addr_t);
int imsg_compose_parent(int, pid_t, void *, u_int16_t);