From mboxrd@z Thu Jan 1 00:00:00 1970 From: Donald Sharp Subject: [PATCH] rtnetlink: Add more well known protocol values Date: Fri, 25 May 2018 14:20:50 -0400 Message-ID: <20180525182050.26056-1-sharpd@cumulusnetworks.com> To: netdev@vger.kernel.org, dsahern@gmail.com Return-path: Received: from mail-yw0-f195.google.com ([209.85.161.195]:37974 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967716AbeEYSU6 (ORCPT ); Fri, 25 May 2018 14:20:58 -0400 Received: by mail-yw0-f195.google.com with SMTP id y123-v6so2004459ywa.5 for ; Fri, 25 May 2018 11:20:58 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: 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 --- include/uapi/linux/rtnetlink.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index cabb210c93af..81b33826f818 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h @@ -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 -- 2.14.3