Addition of new routing protocols for iproute2
Subsystems (3)
cover Addition of new routing protocols for iproute2
The linux kernel recently accepted some new RTPROT values for some fairly standard routing protocols. This commit brings in support for iproute2 to handle these new values.
Additionally clean up some long standing cruft in etc/iproute2/rt_protos
Donald Sharp (2):
iproute2: Add support for a few routing protocols
iproute2: Remove leftover gated RT_PROT defines
etc/iproute2/rt_protos | 18 +++++------------- include/linux/rtnetlink.h | 5 +++++ lib/rt_names.c | 5 +++++ 3 files changed, 15 insertions(+), 13 deletions(-)
Signature · 1 line
2.14.4
v2 cover Addition of new routing protocols for iproute2
The linux kernel recently accepted some new RTPROT values for some fairly standard routing protocols. This commit brings in support for iproute2 to handle these new values.
v2 - Update to latest version of master which has rtnetlink.h code and drop
of work already done.
Donald Sharp (1):
iproute2: Add support for a few routing protocols
etc/iproute2/rt_protos | 5 +++++ lib/rt_names.c | 5 +++++ 2 files changed, 10 insertions(+)
Signature · 1 line
2.14.4
PATCH v2 1/1 iproute2: Add support for a few routing protocols
In reply to Donald SharpAdd support for:
BGP
ISIS
OSPF
RIP
EIGRP
Routing protocols to iproute2.
---
v2: Update to latest version of code.
etc/iproute2/rt_protos | 5 +++++ lib/rt_names.c | 5 +++++ 2 files changed, 10 insertions(+)
etc/iproute2/rt_protos +5 -0
@@ -16,3 +16,8 @@ 15 ntk 16 dhcp 42 babel +186 bgp +187 isis +188 ospf +189 rip +192 eigrp
lib/rt_names.c +5 -0
@@ -134,6 +134,11 @@ static char *rtnl_rtprot_tab[256] = { [RTPROT_XORP] = "xorp", [RTPROT_NTK] = "ntk", [RTPROT_DHCP] = "dhcp", + [RTPROT_BGP] = "bgp", + [RTPROT_ISIS] = "isis", + [RTPROT_OSPF] = "ospf", + [RTPROT_RIP] = "rip", + [RTPROT_EIGRP] = "eigrp", };
Signature · 1 line
2.14.4