summaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpd_session.h
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-07-19 07:31:04 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-07-19 07:31:04 +0000
commite06614b276963810c496da273358133c5e287829 (patch)
tree201d0ad02a30386984c12bfaf08311e5430fafd2 /net/openbgpd/files/patch-bgpd_session.h
parentThis file is no longer needed in 2.0.1. (diff)
Update to 4.5.20090709 (from snapshot as of 2009/7/9).
Add support for nexthop with an IPv6 link-local address. To enable this, specify "interface" in bgpd.conf (see bgpd.conf(5)).
Notes
Notes: svn path=/head/; revision=238040
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_session.h')
-rw-r--r--net/openbgpd/files/patch-bgpd_session.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/net/openbgpd/files/patch-bgpd_session.h b/net/openbgpd/files/patch-bgpd_session.h
new file mode 100644
index 000000000000..ddd590114c1f
--- /dev/null
+++ b/net/openbgpd/files/patch-bgpd_session.h
@@ -0,0 +1,55 @@
+Index: bgpd/session.h
+===================================================================
+RCS file: /home/cvs/private/hrs/openbgpd/bgpd/session.h,v
+retrieving revision 1.1.1.1
+retrieving revision 1.1.1.2
+diff -u -p -r1.1.1.1 -r1.1.1.2
+--- bgpd/session.h 30 Jun 2009 05:46:15 -0000 1.1.1.1
++++ bgpd/session.h 9 Jul 2009 16:49:54 -0000 1.1.1.2
+@@ -1,4 +1,4 @@
+-/* $OpenBSD: session.h,v 1.98 2008/05/08 09:53:12 henning Exp $ */
++/* $OpenBSD: session.h,v 1.101 2009/06/05 20:26:38 claudio Exp $ */
+
+ /*
+ * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
+@@ -171,6 +171,7 @@ enum Timer {
+ Timer_Hold,
+ Timer_IdleHold,
+ Timer_IdleHoldReset,
++ Timer_CarpUndemote,
+ Timer_Max
+ };
+
+@@ -227,7 +228,8 @@ struct ctl_timer {
+ void session_socket_blockmode(int, enum blockmodes);
+ pid_t session_main(struct bgpd_config *, struct peer *,
+ struct network_head *, struct filter_head *,
+- struct mrt_head *, int[2], int[2], int[2], int[2]);
++ struct mrt_head *, struct rib_names *,
++ int[2], int[2], int[2], int[2]);
+ void bgp_fsm(struct peer *, enum session_events);
+ int session_neighbor_rrefresh(struct peer *p);
+ struct peer *getpeerbyaddr(struct bgpd_addr *);
+@@ -254,8 +256,8 @@ void prepare_listeners(struct bgpd_conf
+
+ /* rde.c */
+ pid_t rde_main(struct bgpd_config *, struct peer *, struct network_head *,
+- struct filter_head *, struct mrt_head *, int[2], int[2], int[2],
+- int[2], int);
++ struct filter_head *, struct mrt_head *, struct rib_names *,
++ int[2], int[2], int[2], int[2], int);
+
+ /* control.c */
+ int control_init(int, char *);
+@@ -270,8 +272,9 @@ int pfkey_remove(struct peer *);
+ int pfkey_init(struct bgpd_sysdep *);
+
+ /* printconf.c */
+-void print_config(struct bgpd_config *, struct network_head *, struct peer *,
+- struct filter_head *, struct mrt_head *);
++void print_config(struct bgpd_config *, struct rib_names *,
++ struct network_head *, struct peer *, struct filter_head *,
++ struct mrt_head *);
+
+ /* carp.c */
+ int carp_demote_init(char *, int);