]>
Commit | Line | Data |
---|---|---|
6baf7bb8 DS |
1 | /* |
2 | * Zebra routemap header | |
3 | * Copyright (C) 2015 Cumulus Networks, Inc. | |
4 | * | |
5 | * This file is part of GNU Zebra. | |
6 | * | |
7 | * GNU Zebra is free software; you can redistribute it and/or modify it | |
8 | * under the terms of the GNU General Public License as published by the | |
9 | * Free Software Foundation; either version 2, or (at your option) any | |
10 | * later version. | |
11 | * | |
12 | * GNU Zebra is distributed in the hope that it will be useful, but | |
13 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 | * General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License | |
18 | * along with GNU Zebra; see the file COPYING. If not, write to the Free | |
19 | * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
20 | * 02111-1307, USA. | |
21 | */ | |
22 | ||
23 | #ifndef __ZEBRA_ROUTEMAP_H__ | |
24 | #define __ZEBRA_ROUTEMAP_H__ | |
25 | ||
26 | extern void zebra_routemap_config_write_protocol(struct vty *vty); | |
8902474b DS |
27 | extern char *zebra_get_import_table_route_map (afi_t afi, uint32_t table); |
28 | extern void zebra_add_import_table_route_map (afi_t afi, const char *rmap_name, uint32_t table); | |
29 | extern void zebra_del_import_table_route_map (afi_t afi, uint32_t table); | |
30 | ||
31 | extern void zebra_route_map_write_delay_timer(struct vty *); | |
32 | ||
33 | extern route_map_result_t zebra_import_table_route_map_check (int family, int rib_type, | |
34 | struct prefix *p, | |
35 | struct nexthop *nexthop, | |
36 | vrf_id_t vrf_id, | |
37 | u_short tag, | |
38 | const char *rmap_name); | |
39 | extern route_map_result_t zebra_route_map_check (int family, int rib_type, | |
40 | struct prefix *p, | |
41 | struct nexthop *nexthop, | |
42 | vrf_id_t vrf_id, | |
43 | u_short tag); | |
44 | extern route_map_result_t zebra_nht_route_map_check (int family, | |
45 | int client_proto, | |
46 | struct prefix *p, | |
47 | struct rib *, | |
48 | struct nexthop *nexthop); | |
49 | ||
6baf7bb8 DS |
50 | |
51 | #endif |