summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r--bgpd/bgpd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 9e2aa3e0..dc451e78 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -410,6 +410,11 @@ struct peer
u_int32_t connect;
u_int32_t routeadv;
+#ifdef SUPPORT_REALMS
+#define PEER_CONFIG_REALM (1 << 4) /* Default realm. */
+ u_int32_t realm;
+#endif
+
/* Timer values. */
u_int32_t v_start;
u_int32_t v_connect;
@@ -889,6 +894,11 @@ extern int peer_weight_unset (struct peer *);
extern int peer_timers_set (struct peer *, u_int32_t, u_int32_t);
extern int peer_timers_unset (struct peer *);
+#ifdef SUPPORT_REALMS
+extern int peer_realm_set (struct peer *, u_int32_t);
+extern int peer_realm_unset (struct peer *);
+#endif
+
extern int peer_timers_connect_set (struct peer *, u_int32_t);
extern int peer_timers_connect_unset (struct peer *);