summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-10-26 14:26:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-10-26 14:26:50 +0000
commit596f3ba1a23944e85fc0b4c1168d8bfdc14c7717 (patch)
tree217c4994944a7706df97623cd0bd4513c857527b /usr.sbin/bgpd/session.h
parente633e0ff3bd724da4d1253c016ac21e1c0122a18 (diff)
* make sure we keep copies of everything we need to
* remove SAs and flows later again, even if the * configuration info changed due to reload. * We need: SPIs, method, local_addr, remote_addr. * remote_addr cannot change, so no copy. with this, I have just migrated a session from tcp md5sig to ipsec esp ike, just with bgpctl reload (both sides) followed by bgpctl neighbor $foo clear (just one side)! claudio ok
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index 50ce6129dde..9d53860cdb7 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.87 2006/10/26 13:17:00 henning Exp $ */
+/* $OpenBSD: session.h,v 1.88 2006/10/26 14:26:49 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -167,8 +167,10 @@ struct peer {
struct capabilities peer;
} capa;
struct {
+ struct bgpd_addr local_addr;
u_int32_t spi_in;
u_int32_t spi_out;
+ enum auth_method method;
u_int8_t established;
} auth;
struct sockaddr_storage sa_local;