summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-04 09:36:01 -0400
committerGitHub <noreply@github.com>2018-06-04 09:36:01 -0400
commit7acf817f46b4ed3a9de63264718b159eeafb3de5 (patch)
tree68c394882bce3a7f208eab27873d40bdce2ddaf7 /zebra/zebra_static.h
parent3b7268448fef314c914beaa5c6a9bb2d6f0a8ad6 (diff)
parent00384b5fbd0cfd3b2087c50bf07fb6570571b85f (diff)
Merge pull request #1976 from pguibert6WIND/issue_1968
Issue 1968 / ip route <> table X
Diffstat (limited to 'zebra/zebra_static.h')
-rw-r--r--zebra/zebra_static.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/zebra/zebra_static.h b/zebra/zebra_static.h
index 341905f422..7dc47d6190 100644
--- a/zebra/zebra_static.h
+++ b/zebra/zebra_static.h
@@ -77,6 +77,9 @@ struct static_route {
/* Label information */
struct static_nh_label snh_label;
+
+ /* Table Information */
+ uint32_t table_id;
};
extern void static_install_route(afi_t afi, safi_t safi, struct prefix *p,
@@ -92,14 +95,16 @@ extern int static_add_route(afi_t, safi_t safi, uint8_t type, struct prefix *p,
enum static_blackhole_type bh_type, route_tag_t tag,
uint8_t distance, struct zebra_vrf *zvrf,
struct zebra_vrf *nh_zvrf,
- struct static_nh_label *snh_label);
+ struct static_nh_label *snh_label,
+ uint32_t table_id);
extern int static_delete_route(afi_t, safi_t safi, uint8_t type,
struct prefix *p, struct prefix_ipv6 *src_p,
union g_addr *gate, const char *ifname,
route_tag_t tag, uint8_t distance,
struct zebra_vrf *zvrf,
- struct static_nh_label *snh_label);
+ struct static_nh_label *snh_label,
+ uint32_t table_id);
extern void static_ifindex_update(struct interface *ifp, bool up);