diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-03-13 12:49:44 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-03-13 12:49:44 +0100 |
commit | e8ba557c7f66aaf02dd24f554fba8b3607c2b3d5 (patch) | |
tree | 64f1e9d86256b1603e8713b973cf8e666aaf2f80 /proto/bgp/bgp.h | |
parent | e3299ab14877de6ce688050e550c44cd4e85b212 (diff) |
Update capability handshake options
Add 'capabilities' option, change default behavior to advertise ipv4,
add some checks and ignore incoming capabilities when capabilities
are disabled.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index bdad1a4d..d5448a68 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -25,6 +25,7 @@ struct bgp_config { 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 */ + int capabilities; /* Enable capability handshake [RFC3392] */ int enable_as4; /* Enable local support for 4B AS numbers [RFC4893] */ u32 rr_cluster_id; /* Route reflector cluster ID, if different from local ID */ int rr_client; /* Whether neighbor is RR client of me */ |