From 9a802f2485c164afb036edcfe4c9c9a33af372b4 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Sun, 11 Jan 2004 20:13:01 +0000 Subject: Add to the IMSG_SESSION_UP message the local and remote address of the peer session. This is needed to set the correct nexthop address in outgoing bgp UPDATES. OK henning@ --- usr.sbin/bgpd/bgpd.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bgpd/bgpd.h') diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 70f10248857..5460caf2110 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.64 2004/01/11 19:42:27 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.65 2004/01/11 20:13:00 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -211,6 +211,12 @@ struct kroute_nexthop { struct kroute kr; }; +struct session_up { + u_int32_t remote_bgpid; + struct bgpd_addr local_addr; + struct bgpd_addr remote_addr; +}; + struct ctl_show_nexthop { struct bgpd_addr addr; u_int8_t valid; -- cgit v1.2.3