summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-01-08 15:28:27 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-01-08 15:31:34 +0100
commit53ffbff39f054e1302fb296327b9bb1b4f88226c (patch)
tree6e0f21ac671dd1cf35d7a3322a89ebb304b0c2c6 /proto/bgp/bgp.h
parenteb1451a3a0c45a4cc62dd0f1f3c3157ec38e2f8e (diff)
Implements support for link-local addresses in BGP.
Thanks Matthias Schiffer for the original patch.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 0c50583b..a8c5818e 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -19,9 +19,10 @@ struct bgp_config {
struct proto_config c;
u32 local_as, remote_as;
ip_addr remote_ip;
+ ip_addr source_addr; /* Source address to use */
+ struct iface *iface; /* Interface for link-local addresses */
int multihop; /* Number of hops if multihop */
int ttl_security; /* Enable TTL security [RFC5082] */
- ip_addr source_addr; /* Source address to use */
int next_hop_self; /* Always set next hop to local IP address */
int missing_lladdr; /* What we will do when we don' know link-local addr, see MLL_* */
int gw_mode; /* How we compute route gateway from next_hop attr, see GW_* */