diff mbox series

Add Open Routing Protocol ID to `rtnetlink.h`

Message ID 20210324034738.61212-1-me@cooperlees.com (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show
Series Add Open Routing Protocol ID to `rtnetlink.h` | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Cooper Lees March 24, 2021, 3:47 a.m. UTC
From: Cooper Lees <me@cooperlees.com>

- 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>
---
 include/uapi/linux/rtnetlink.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
index 91e4ca064..b0b5190e8 100644
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
@@ -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 */