summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-17 14:46:07 +0200
committerMartin Mares <mj@ucw.cz>2000-04-17 14:46:07 +0200
commit56a2bed46bf7713cd773b0fd0c097bcfc6345cc1 (patch)
treeaf1553f82076a327fd7234072a74d619b317fd08 /proto/bgp/bgp.h
parent3bbc4ad6ad63d55b1d7845b53865963db79c2e16 (diff)
downloadbird-56a2bed46bf7713cd773b0fd0c097bcfc6345cc1.tar
bird-56a2bed46bf7713cd773b0fd0c097bcfc6345cc1.zip
Don't import/export MED and LOCAL_PREF on external links.
Added real comparison of BGP routes (inspired by the Cisco one). Default local preference and default MED are now settable. Defined filter keywords for all BGP attributes we know.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 722e12e..ba4f2d4 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -21,6 +21,9 @@ struct bgp_config {
int multihop; /* Number of hops if multihop */
ip_addr multihop_via; /* Multihop: address to route to */
int next_hop_self; /* Always set next hop to local IP address */
+ int compare_path_lengths; /* Use path lengths when selecting best route */
+ u32 default_local_pref; /* Default value for LOCAL_PREF attribute */
+ u32 default_med; /* Default value for MULTI_EXIT_DISC attribute */
unsigned connect_retry_time;
unsigned hold_time, initial_hold_time;
unsigned keepalive_time;