summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 11:28:34 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 11:29:56 +0100
commit19e727a248d15e9f8871986ac286cf74b3d86e61 (patch)
tree385b7cda6f528ed218190d57fca5dd361936a855 /proto/bgp/bgp.h
parent8a4bc4fdbf2f4c6ccaa684c922779ddc11489e68 (diff)
parent60880b539b8886f76961125d89a265c6e1112b7a (diff)
Merge commit '60880b539b8886f76961125d89a265c6e1112b7a' into haugesund
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 88e3bf34..bff49c3a 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -202,6 +202,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;