[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bcc53401-3d7b-ddf4-2c15-79cee7e62f86@cogentembedded.com>
Date: Sat, 26 May 2018 12:37:02 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Donald Sharp <sharpd@...ulusnetworks.com>, netdev@...r.kernel.org,
dsahern@...il.com
Subject: Re: [PATCH] rtnetlink: Add more well known protocol values
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 <sharpd@...ulusnetworks.com>
> ---
> 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
Powered by blists - more mailing lists