diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-08 09:12:12 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-08 19:35:53 -0500 |
| commit | 4a7371e9e21569eee0e728f64ea06870d1aafa5e (patch) | |
| tree | 15d90068bac9ca5259e6e63b5df7cac7747df08f /lib/nexthop.h | |
| parent | a97e5c1a8075fcab9d9e0edb453167752fc3e2b9 (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.h | 5 |
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; |
