From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH] rtnetlink: Add more well known protocol values Date: Sat, 26 May 2018 12:37:02 +0300 Message-ID: References: <20180525182050.26056-1-sharpd@cumulusnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Donald Sharp , netdev@vger.kernel.org, dsahern@gmail.com Return-path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:51035 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031347AbeEZJhF (ORCPT ); Sat, 26 May 2018 05:37:05 -0400 Received: by mail-wm0-f68.google.com with SMTP id t11-v6so20178767wmt.0 for ; Sat, 26 May 2018 02:37:05 -0700 (PDT) In-Reply-To: <20180525182050.26056-1-sharpd@cumulusnetworks.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Hello! On 5/25/2018 9:20 PM, Donald Sharp wrote: > 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 */ The preceding entries use tab to indent the value, yours use spaces. Not good... [...] MBR, Sergei