]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/bgp_conditional_adv.h
zebra: add support for DF delay timer
[mirror_frr.git] / bgpd / bgp_conditional_adv.h
CommitLineData
7f7940e6
MK
1/*
2 * BGP Conditional advertisement
1a0416bd 3 * Copyright (C) 2020 Samsung R&D Institute India - Bangalore.
7f7940e6
MK
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
33extern "C" {
34#endif
35
36/* Polling time for monitoring condition-map routes in route table */
37#define CONDITIONAL_ROUTES_POLL_TIME 60
38
7f7940e6
MK
39extern void bgp_conditional_adv_enable(struct peer *peer, afi_t afi,
40 safi_t safi);
41extern void bgp_conditional_adv_disable(struct peer *peer, afi_t afi,
42 safi_t safi);
7f7940e6
MK
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* _FRR_BGP_CONDITION_ADV_H */