All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rtnetlink: add keepalived protocol recognition
@ 2017-02-20 21:54 Quentin Armitage
  0 siblings, 0 replies; only message in thread
From: Quentin Armitage @ 2017-02-20 21:54 UTC (permalink / raw)
  To: Stephen Hemminger, David S. Miller, linux-kernel; +Cc: Quentin Armitage

Keepalived (an implementation of VRRP) has the ability to add ip routes,
so add RTPROTO_KEEPALIVED to userspace visible header file.

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
---
 include/uapi/linux/rtnetlink.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
index e14377f..291929e 100644
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
@@ -247,6 +247,7 @@ enum {
 #define RTPROT_NTK	15	/* Netsukuku */
 #define RTPROT_DHCP	16      /* DHCP client */
 #define RTPROT_MROUTED	17      /* Multicast daemon */
+#define RTPROT_KEEPALIVED 18	/* Keepalived */
 #define RTPROT_BABEL	42      /* Babel daemon */
 
 /* rtm_scope
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-20 22:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-20 21:54 [PATCH] rtnetlink: add keepalived protocol recognition Quentin Armitage

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.