iproute2: Add support for a few routing protocols

Add support for:

BGP
ISIS
OSPF
RIP
EIGRP

Routing protocols to iproute2.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Donald Sharp 2018-06-08 13:47:13 -04:00 committed by Stephen Hemminger
parent 776f1813b5
commit a313455c6c
2 changed files with 10 additions and 0 deletions

View File

@ -16,3 +16,8 @@
15 ntk
16 dhcp
42 babel
186 bgp
187 isis
188 ospf
189 rip
192 eigrp

View File

@ -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",
};