summaryrefslogtreecommitdiff
path: root/lib/nexthop.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-02-08 09:12:12 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-02-08 19:35:53 -0500
commit4a7371e9e21569eee0e728f64ea06870d1aafa5e (patch)
tree15d90068bac9ca5259e6e63b5df7cac7747df08f /lib/nexthop.h
parenta97e5c1a8075fcab9d9e0edb453167752fc3e2b9 (diff)
*: Track vrfs per nexthop not per route entry
Track the vfrs on a per nexthop basis instead of on a per route entry basis. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index 753e66643d..ee4f569e83 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -60,6 +60,11 @@ struct nexthop {
struct nexthop *next;
struct nexthop *prev;
+ /*
+ * What vrf is this nexthop associated with?
+ */
+ vrf_id_t vrf_id;
+
/* Interface index. */
ifindex_t ifindex;