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, 7 insertions, 3 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index e8b8ef5a..77c26646 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -616,6 +616,9 @@ struct bgp_nlri
#define BGP_ATTR_AS4_AGGREGATOR 18
#define BGP_ATTR_AS_PATHLIMIT 21
+/* BGP attribute 255, "development". Used in dumps for extended information. */
+#define BGP_ATTR_QUAGGA_DUMPEXT 255
+
/* BGP update origin. */
#define BGP_ORIGIN_IGP 0
#define BGP_ORIGIN_EGP 1
@@ -736,7 +739,9 @@ struct bgp_nlri
/* Default configuration settings for bgpd. */
#define BGP_VTY_PORT 2605
-#define BGP_DEFAULT_CONFIG "bgpd.conf"
+#define BGP_CONFIG_NAME "bgpd.conf"
+#define BGP_PID_NAME "bgpd.pid"
+#define BGP_VTY_NAME "bgpd.vty"
/* Check AS path loop when we send NLRI. */
/* #define BGP_SEND_ASPATH_CHECK */
@@ -809,6 +814,7 @@ extern struct thread_master *master;
/* Prototypes. */
extern void bgp_terminate (void);
extern void bgp_reset (void);
+extern time_t bgp_clock (void);
extern void bgp_zclient_reset (void);
extern int bgp_nexthop_set (union sockunion *, union sockunion *,
struct bgp_nexthop *, struct peer *);
@@ -952,6 +958,4 @@ extern int peer_maximum_prefix_unset (struct peer *, afi_t, safi_t);
extern int peer_clear (struct peer *);
extern int peer_clear_soft (struct peer *, afi_t, safi_t, enum bgp_clear_type);
-extern void peer_nsf_stop (struct peer *);
-
#endif /* _QUAGGA_BGPD_H */