History

rtnetlink: Add more well known protocol values

FRRouting installs routes into the kernel associated with the originating protocol. Add these values to the well known values in rtnetlink.h.

Donald Sharp committed 8 years ago

Commit 35aada91 parent c5f732d1 file · +5 −0Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/rtnetlink.h+5−0
@@ -254,6 +254,11 @@ enum { · 253 unmodified lines
254254 #define RTPROT_DHCP 16 /* DHCP client */
255255 #define RTPROT_MROUTED 17 /* Multicast daemon */
256256 #define RTPROT_BABEL 42 /* Babel daemon */
257+#define RTPROT_BGP 186 /* BGP Routes */
258+#define RTPROT_ISIS 187 /* ISIS Routes */
259+#define RTPROT_OSPF 188 /* OSPF Routes */
260+#define RTPROT_RIP 189 /* RIP Routes */
261+#define RTPROT_EIGRP 192 /* EIGRP Routes */
257262
258263 /* rtm_scope
259264