OSDN Git Service

Add Open Routing Protocol ID to `rtnetlink.h`
authorCooper Lees <me@cooperlees.com>
Wed, 24 Mar 2021 03:47:38 +0000 (20:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 23:31:23 +0000 (16:31 -0700)
- 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
Signed-off-by: From: Cooper Lees <me@cooperlees.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h

index d35953b..5888492 100644 (file)
@@ -290,6 +290,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 */