summaryrefslogtreecommitdiffstats
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-03-11 15:55:53 +0100
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 17:13:37 +0200
commit8032b71737520f883abeb1e43476d88cd5a4c304 (patch)
tree3358ec95be3409d374868745458956342b92e1bd /zebra/rib.h
parentzebra: Put unicast nexthop parsing into its own function (diff)
downloadfrr-8032b71737520f883abeb1e43476d88cd5a4c304.tar.xz
frr-8032b71737520f883abeb1e43476d88cd5a4c304.zip
zebra: Update rib_add to take a nexthop ID
Add a parameter to the rib_add function so that it takes a nexthop ID from the kernel if one is passed along with the route. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index e6d6d8744..6b8097dd1 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -363,8 +363,8 @@ extern void rib_uninstall_kernel(struct route_node *rn, struct route_entry *re);
extern int rib_add(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type,
unsigned short instance, int flags, struct prefix *p,
struct prefix_ipv6 *src_p, const struct nexthop *nh,
- uint32_t table_id, uint32_t metric, uint32_t mtu,
- uint8_t distance, route_tag_t tag);
+ uint32_t nhe_id, uint32_t table_id, uint32_t metric,
+ uint32_t mtu, uint8_t distance, route_tag_t tag);
extern int rib_add_multipath(afi_t afi, safi_t safi, struct prefix *p,
struct prefix_ipv6 *src_p, struct route_entry *re);