diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-17 12:46:07 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-17 12:46:07 +0000 |
commit | 56a2bed46bf7713cd773b0fd0c097bcfc6345cc1 (patch) | |
tree | af1553f82076a327fd7234072a74d619b317fd08 /proto/bgp/bgp.h | |
parent | 3bbc4ad6ad63d55b1d7845b53865963db79c2e16 (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 722e12e5..ba4f2d4b 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; |