]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
rtnetlink: Add more well known protocol values
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 30 May 2018 12:27:32 +0000 (08:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 May 2018 19:25:10 +0000 (15:25 -0400)
FRRouting installs routes into the kernel associated with
the originating protocol.  Add these values to the well
known values in rtnetlink.h.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h

index cabb210c93af650a272ca05333f86516aa7fed9b..7d8502313c99327776dd9fd69ce86a997ebf79cf 100644 (file)
@@ -254,6 +254,11 @@ enum {
 #define RTPROT_DHCP    16      /* DHCP client */
 #define RTPROT_MROUTED 17      /* Multicast daemon */
 #define RTPROT_BABEL   42      /* Babel daemon */
+#define RTPROT_BGP     186     /* BGP Routes */
+#define RTPROT_ISIS    187     /* ISIS Routes */
+#define RTPROT_OSPF    188     /* OSPF Routes */
+#define RTPROT_RIP     189     /* RIP Routes */
+#define RTPROT_EIGRP   192     /* EIGRP Routes */
 
 /* rtm_scope