summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2020-02-10 15:01:36 +0100
committerMaria Matejka <mq@ucw.cz>2021-10-13 19:09:04 +0200
commitddd89ba12d03d648e9bb820c6a4f48b1f96f15d2 (patch)
treedb2b51f6860d3c7559bc7a4a2742d87d201e222f /proto/bgp/bgp.h
parente42eedb912428aa9af450b0426e53b0a7004dfb1 (diff)
BGP: Moved the suppressed and stale flags to pflags
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index c440c7af..b770956b 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -200,6 +200,10 @@ struct bgp_channel_config {
#define BGP_BFD_GRACEFUL 2 /* BFD down triggers graceful restart */
+/* rte->pflags */
+#define BGP_REF_SUPPRESSED 0x1 /* Used for deterministic MED comparison */
+#define BGP_REF_STALE 0x2 /* Route is LLGR_STATE */
+#define BGP_REF_NOT_STALE 0x4 /* Route is NOT LLGR_STATE */
struct bgp_af_caps {
u32 afi;