summaryrefslogtreecommitdiffstats
path: root/zebra/redistribute.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2016-05-11 17:47:02 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-05-13 02:22:53 +0200
commit8902474bd30dd843f0c35424e273718f7079a795 (patch)
tree66a1bed386efa9954baff7b2f5db45756b06c3b3 /zebra/redistribute.h
parentBGP: Set advertisement interval when triggering IPv6 RAs (diff)
downloadfrr-8902474bd30dd843f0c35424e273718f7079a795.tar.xz
frr-8902474bd30dd843f0c35424e273718f7079a795.zip
zebra: Add route-map support to ip import-table
Added the ability to supply a route-map to the ip import-table command, which greatly improves filtering between the kernel prefixes in a non-default table that are imported into the zebra rib. Ticket:CM-8168 Signed-off-by: Donald Slice Reviewed By: Donald Sharp
Diffstat (limited to 'zebra/redistribute.h')
-rw-r--r--zebra/redistribute.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/zebra/redistribute.h b/zebra/redistribute.h
index 702fff43f..5e3cf1bfd 100644
--- a/zebra/redistribute.h
+++ b/zebra/redistribute.h
@@ -51,17 +51,20 @@ extern void zebra_interface_address_delete_update (struct interface *,
struct connected *c);
extern void zebra_interface_vrf_update_del (struct interface *, vrf_id_t new_vrf_id);
extern void zebra_interface_vrf_update_add (struct interface *, vrf_id_t old_vrf_id);
+
extern int zebra_import_table (afi_t afi, u_int32_t table_id,
- u_int32_t metric, int add);
+ u_int32_t distance, const char *rmap_name, int add);
extern int zebra_add_import_table_entry (struct route_node *rn,
- struct rib *rib);
+ struct rib *rib, const char *rmap_name);
extern int zebra_del_import_table_entry (struct route_node *rn,
struct rib *rib);
extern int is_zebra_import_table_enabled(afi_t, u_int32_t table_id);
extern int zebra_import_table_config(struct vty *);
+extern void zebra_import_table_rm_update(void);
+
extern int is_default (struct prefix *);
#endif /* _ZEBRA_REDISTRIBUTE_H */