]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/bgp_conditional_adv.h
Merge pull request #7394 from donaldsharp/isis_uninited
[mirror_frr.git] / bgpd / bgp_conditional_adv.h
1 /*
2 * BGP Conditional advertisement
3 * Copyright (C) 2020 Samsung R&D Institute India - Bangalore.
4 * Madhurilatha Kuruganti
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #ifndef _FRR_BGP_CONDITION_ADV_H
22 #define _FRR_BGP_CONDITION_ADV_H
23 #include <zebra.h>
24 #include "prefix.h"
25 #include "bgpd/bgp_addpath.h"
26 #include "bgpd/bgp_attr.h"
27 #include "bgpd/bgpd.h"
28 #include "bgpd/bgp_debug.h"
29 #include "bgpd/bgp_route.h"
30 #include "bgpd/bgp_updgrp.h"
31
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35
36 /* Polling time for monitoring condition-map routes in route table */
37 #define CONDITIONAL_ROUTES_POLL_TIME 60
38
39 extern void bgp_conditional_adv_enable(struct peer *peer, afi_t afi,
40 safi_t safi);
41 extern void bgp_conditional_adv_disable(struct peer *peer, afi_t afi,
42 safi_t safi);
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif /* _FRR_BGP_CONDITION_ADV_H */