Skip to contentSkip to conversation

Add Open Routing Protocol ID to `rtnetlink.h`

PATCH New Cooper Ry Lees 1 participant 1 message Mar 24, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Open Routing Protocol ID to `rtnetlink.h`

From: Cooper Lees <[email protected]>

- The Open Routing (Open/R) network protocol netlink handler uses ID 99
- Will also add to /etc/iproute2/rt_protos once this is accepted
- For more information: https://github.com/facebook/openr

---
 include/uapi/linux/rtnetlink.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/rtnetlink.h +1 -0
index 91e4ca064..b0b5190e8 100644
@@ -283,6 +283,7 @@ enum {
 #define RTPROT_MROUTED		17	/* Multicast daemon */
 #define RTPROT_KEEPALIVED	18	/* Keepalived daemon */
 #define RTPROT_BABEL		42	/* Babel daemon */
+#define RTPROT_OPENR		99	/* Open Routing (Open/R) Routes */
 #define RTPROT_BGP		186	/* BGP Routes */
 #define RTPROT_ISIS		187	/* ISIS Routes */
 #define RTPROT_OSPF		188	/* OSPF Routes */
Signature · 1 line
2.13.5