diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-01 12:55:43 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-01 12:55:43 +0100 |
commit | a92fe607173b52cf28256f00399953c623788c35 (patch) | |
tree | 1cac35e1b4ea904b0c1e39409f20967bf582a924 /proto/bgp/bgp.h | |
parent | e16466b379be2b94c84b351a69e63b6de5be9dc5 (diff) |
Implementation of route server.
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r-- | proto/bgp/bgp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h index 1d67e336..ea64584d 100644 --- a/proto/bgp/bgp.h +++ b/proto/bgp/bgp.h @@ -28,6 +28,7 @@ struct bgp_config { 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 */ + int rs_client; /* Whether neighbor is RS client of me */ unsigned connect_retry_time; unsigned hold_time, initial_hold_time; unsigned keepalive_time; @@ -66,6 +67,7 @@ struct bgp_proto { u32 remote_id; /* BGP identifier of the neighbor */ u32 rr_cluster_id; /* Route reflector cluster ID */ int rr_client; /* Whether neighbor is RR client of me */ + int rs_client; /* Whether neighbor is RS client of me */ struct bgp_conn *conn; /* Connection we have established */ struct bgp_conn outgoing_conn; /* Outgoing connection we're working with */ struct bgp_conn incoming_conn; /* Incoming connection we have neither accepted nor rejected yet */ |