Skip to contentSkip to conversation

rtnetlink: add keepalived protocol recognition

PATCH New Quentin Armitage 1 participant 1 message Feb 20, 2017 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtnetlink: add keepalived protocol recognition

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

---
 include/uapi/linux/rtnetlink.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/uapi/linux/rtnetlink.h +1 -0
index e14377f..291929e 100644
@@ -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
Signature · 1 line
1.7.7.6